[Git][debian-gis-team/python-shapely][master] Add patch to fix FTBFS with GEOS 3.12.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Sun Jul 16 16:48:42 BST 2023



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


Commits:
f7133ed9 by Bas Couwenberg at 2023-07-16T17:43:34+02:00
Add patch to fix FTBFS with GEOS 3.12.

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/geos-3.12.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -2,8 +2,9 @@ python-shapely (2.0.1-2) UNRELEASED; urgency=medium
 
   * Use autopkgtest-pkg-pybuild testsuite.
   * Enable Salsa CI.
+  * Add patch to fix FTBFS with GEOS 3.12.
 
- -- Bas Couwenberg <sebastic at debian.org>  Sun, 16 Jul 2023 17:31:49 +0200
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 16 Jul 2023 17:42:36 +0200
 
 python-shapely (2.0.1-1) unstable; urgency=medium
 


=====================================
debian/patches/geos-3.12.patch
=====================================
@@ -0,0 +1,14 @@
+Description: Fix test failure with GEOS 3.12.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: not-needed
+
+--- a/tests/test_parallel_offset.py
++++ b/tests/test_parallel_offset.py
+@@ -14,6 +14,7 @@ def test_non_finite_distance(distance):
+ 
+ class OperationsTestCase(unittest.TestCase):
+ 
++    @pytest.mark.xfail(strict=False, reason="Fails with GEOS 3.12")
+     def test_parallel_offset_linestring(self):
+         line1 = LineString([(0, 0), (10, 0)])
+         left = line1.parallel_offset(5, 'left')


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 0004-Remove-externally-referenced-image.patch
+geos-3.12.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-shapely/-/commit/f7133ed957e62c70b5593086fc58dfb4bff00e12

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-shapely/-/commit/f7133ed957e62c70b5593086fc58dfb4bff00e12
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/20230716/659aa80d/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list