[Git][debian-gis-team/python-shapely][master] 2 commits: Add upstream patch to fix test failure with GEOS 3.10.0.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Thu Oct 21 06:59:41 BST 2021



Bas Couwenberg pushed to branch master at Debian GIS Project / python-shapely


Commits:
5ed80de8 by Bas Couwenberg at 2021-10-21T07:50:09+02:00
Add upstream patch to fix test failure with GEOS 3.10.0.

- - - - -
7efd2805 by Bas Couwenberg at 2021-10-21T07:50:26+02:00
Set distribution to unstable.

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/0001-TST-fix-GEOS-3.10.0dev-by-simplifying-a-normalized-g.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,10 +1,11 @@
-python-shapely (1.7.1-3) UNRELEASED; urgency=medium
+python-shapely (1.7.1-3) unstable; urgency=medium
 
   * Update watch file for GitHub URL changes.
   * Bump Standards-Version to 4.6.0, no changes.
   * Bump debhelper compat to 12, no changes.
+  * Add upstream patch to fix test failure with GEOS 3.10.0.
 
- -- Bas Couwenberg <sebastic at debian.org>  Sat, 20 Mar 2021 09:11:57 +0100
+ -- Bas Couwenberg <sebastic at debian.org>  Thu, 21 Oct 2021 07:50:12 +0200
 
 python-shapely (1.7.1-2) unstable; urgency=medium
 


=====================================
debian/patches/0001-TST-fix-GEOS-3.10.0dev-by-simplifying-a-normalized-g.patch
=====================================
@@ -0,0 +1,18 @@
+Description: TST: fix GEOS 3.10.0dev by simplifying a normalized geometry
+Author: Mike Taves <mwtoews at gmail.com>
+Origin: https://github.com/Toblerity/Shapely/commit/4cb8ffab3dcb7dfdd4f539faccdd41c9ed17be8b
+Bug: https://github.com/Toblerity/Shapely/issues/1113
+
+--- a/tests/test_operations.py
++++ b/tests/test_operations.py
+@@ -29,8 +29,8 @@ class OperationsTestCase(unittest.TestCa
+         self.assertIsInstance(point.buffer(10.0, 32), Polygon)
+ 
+         # Simplify
+-        p = loads('POLYGON ((120 120, 121 121, 122 122, 220 120, 180 199, '
+-                  '160 200, 140 199, 120 120))')
++        p = loads('POLYGON ((120 120, 140 199, 160 200, 180 199, 220 120, '
++                  '122 122, 121 121, 120 120))')
+         expected = loads('POLYGON ((120 120, 140 199, 160 200, 180 199, '
+                          '220 120, 120 120))')
+         s = p.simplify(10.0, preserve_topology=False)


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 0004-Remove-externally-referenced-image.patch
 cython3.patch
 geos-3.9.0.patch
+0001-TST-fix-GEOS-3.10.0dev-by-simplifying-a-normalized-g.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-shapely/-/compare/13efb4e59f6fc11d652a74ade54ed7031ddeb3e8...7efd2805b5df138756c265a5beebe8092e1fe7bd

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-shapely/-/compare/13efb4e59f6fc11d652a74ade54ed7031ddeb3e8...7efd2805b5df138756c265a5beebe8092e1fe7bd
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/20211021/e0696fd2/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list