[Git][debian-gis-team/glymur][upstream] New upstream version 0.12.8

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Thu Jul 13 09:04:02 BST 2023



Antonio Valentino pushed to branch upstream at Debian GIS Project / glymur


Commits:
0995a9cd by Antonio Valentino at 2023-07-13T08:00:23+00:00
New upstream version 0.12.8
- - - - -


6 changed files:

- CHANGES.txt
- docs/source/conf.py
- docs/source/whatsnew/0.12.rst
- glymur/version.py
- setup.cfg
- tests/test_printing.py


Changes:

=====================================
CHANGES.txt
=====================================
@@ -1,3 +1,6 @@
+Jul 12, 2023 - v0.12.8
+    Fix printing issue on 3.12beta, Fedora rawhide
+
 May 22, 2023 - v0.12.7
     Fix failing test on fedora
     Change private attribute to prevent downstream test failure with tiatoolbox


=====================================
docs/source/conf.py
=====================================
@@ -78,7 +78,7 @@ copyright = '2013-2023, John Evans'
 # The short X.Y version.
 version = '0.12'
 # The full version, including alpha/beta/rc tags.
-release = '0.12.7'
+release = '0.12.8'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.


=====================================
docs/source/whatsnew/0.12.rst
=====================================
@@ -2,6 +2,11 @@
 Changes in glymur 0.12
 ######################
 
+*****************
+Changes in 0.12.8
+*****************
+    * Fix printing issue on 3.12beta, Fedora rawhide
+
 *****************
 Changes in 0.12.7
 *****************


=====================================
glymur/version.py
=====================================
@@ -20,7 +20,7 @@ from .lib import tiff
 
 # Do not change the format of this next line!  Doing so risks breaking
 # setup.py
-version = "0.12.7"
+version = "0.12.8"
 
 version_tuple = parse(version).release
 


=====================================
setup.cfg
=====================================
@@ -1,6 +1,6 @@
 [metadata]
 name = Glymur
-version = 0.12.7
+version = 0.12.8
 author = 'John Evans'
 author_email = "John Evans" <john.g.evans.ne at gmail.com>
 license = 'MIT'


=====================================
tests/test_printing.py
=====================================
@@ -1058,16 +1058,28 @@ class TestPrinting(fixtures.TestCommon):
 
             actual = str(j.box[5])
 
-        expected = (
-            "UUID Box (uuid) @ (1135519, 142)\n"
-            "    UUID:  4a706754-6966-6645-7869-662d3e4a5032 (EXIF)\n"
-            "    UUID Data:  OrderedDict([   ('ImageWidth', 256),\n"
-            "                    ('ImageLength', 512),\n"
-            "                    (   'TileOffsets',\n"
-            "                        "
-            "array([ 0, 10, 20, ..., 70, 80, 90], dtype=uint32)),\n"
-            "                    ('ExifTag', OrderedDict([('Make', 'HTC')]))])"
-        )
+        if sys.version_info[1] >= 12:
+            expected = (
+                "UUID Box (uuid) @ (1135519, 142)\n"
+                "    UUID:  4a706754-6966-6645-7869-662d3e4a5032 (EXIF)\n"
+                "    UUID Data:  OrderedDict([   ('ImageWidth', 256),\n"
+                "                    ('ImageLength', 512),\n"
+                "                    (   'TileOffsets',\n"
+                "                        "
+                "array([ 0, 10, 20, ..., 70, 80, 90], dtype=uint32)),\n"
+                "                    ('ExifTag', OrderedDict({'Make': 'HTC'}))])"
+            )
+        else:
+            expected = (
+                "UUID Box (uuid) @ (1135519, 142)\n"
+                "    UUID:  4a706754-6966-6645-7869-662d3e4a5032 (EXIF)\n"
+                "    UUID Data:  OrderedDict([   ('ImageWidth', 256),\n"
+                "                    ('ImageLength', 512),\n"
+                "                    (   'TileOffsets',\n"
+                "                        "
+                "array([ 0, 10, 20, ..., 70, 80, 90], dtype=uint32)),\n"
+                "                    ('ExifTag', OrderedDict([('Make', 'HTC')]))])"
+            )
         self.assertEqual(actual, expected)
 
     def test_crg(self):



View it on GitLab: https://salsa.debian.org/debian-gis-team/glymur/-/commit/0995a9cdc1c678550051af7ced9e6a97b5482518

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/glymur/-/commit/0995a9cdc1c678550051af7ced9e6a97b5482518
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/20230713/b59c8239/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list