[Git][debian-gis-team/rasterio][master] 4 commits: New upstream version 1.0.28

Bas Couwenberg gitlab at salsa.debian.org
Tue Sep 10 05:23:11 BST 2019



Bas Couwenberg pushed to branch master at Debian GIS Project / rasterio


Commits:
d24b0b33 by Bas Couwenberg at 2019-09-10T04:07:41Z
New upstream version 1.0.28
- - - - -
deb7aa84 by Bas Couwenberg at 2019-09-10T04:08:32Z
Update upstream source from tag 'upstream/1.0.28'

Update to upstream version '1.0.28'
with Debian dir 02628faf835aa75be85a50b1446584104936a249
- - - - -
9cc7fce0 by Bas Couwenberg at 2019-09-10T04:10:22Z
New upstream release.

- - - - -
f1913cc0 by Bas Couwenberg at 2019-09-10T04:11:09Z
Set distribution to unstable.

- - - - -


4 changed files:

- CHANGES.txt
- debian/changelog
- rasterio/__init__.py
- rasterio/_io.pyx


Changes:

=====================================
CHANGES.txt
=====================================
@@ -1,10 +1,18 @@
 Changes
 =======
 
+1.0.28 (2019-09-09)
+-------------------
+
+- Coercion to ``int`` was forgotten in the block size guard introduced in
+  1.0.27 and code that passes string valued ``blockxsize`` and ``blockysize``
+  keyword arguments to ``rasterio.open()`` was broken (#1769).  This has been
+  fixed in 1.0.28.
+
 1.0.27 (2019-09-05)
 -------------------
 
-- Resolve #1744 by adding a `dtype` keyword argument to the WarpedVRT
+- Resolve #1744 by adding a ``dtype`` keyword argument to the WarpedVRT
   constructor. It allows a user to specify the working data type for the warp
   operation and output.
 - All cases of deprecated affine right multiplication have been changed to be


=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+rasterio (1.0.28-1) unstable; urgency=medium
+
+  * Team upload.
+  * New upstream release.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Tue, 10 Sep 2019 06:10:59 +0200
+
 rasterio (1.0.27-1) unstable; urgency=medium
 
   * Team upload.


=====================================
rasterio/__init__.py
=====================================
@@ -42,7 +42,7 @@ import rasterio.path
 
 
 __all__ = ['band', 'open', 'pad', 'Env']
-__version__ = "1.0.27"
+__version__ = "1.0.28"
 __gdal_version__ = gdal_version()
 
 # Rasterio attaches NullHandler to the 'rasterio' logger and its


=====================================
rasterio/_io.pyx
=====================================
@@ -1082,7 +1082,7 @@ cdef class DatasetWriterBase(DatasetReaderBase):
         if tiled:
             blockxsize = kwargs.get("blockxsize", None)
             blockysize = kwargs.get("blockysize", None)
-            if (blockxsize and blockxsize % 16) or (blockysize and blockysize % 16):
+            if (blockxsize and int(blockxsize) % 16) or (blockysize and int(blockysize) % 16):
                 raise RasterBlockError("The height and width of dataset blocks must be multiples of 16")
             kwargs["tiled"] = "TRUE"
 



View it on GitLab: https://salsa.debian.org/debian-gis-team/rasterio/compare/bf42bcb4d332d58d7ae92c3d9336ac0e26d37ced...f1913cc06bedaa98775fc13dfb3715dde56284f3

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/rasterio/compare/bf42bcb4d332d58d7ae92c3d9336ac0e26d37ced...f1913cc06bedaa98775fc13dfb3715dde56284f3
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20190910/d2fed770/attachment-0001.html>


More information about the Pkg-grass-devel mailing list