[Git][debian-gis-team/python-geopandas][master] Add upstream patch to fix test failures with Shapely 2.0. (closes: #1025613)

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Tue Dec 6 16:37:14 GMT 2022



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


Commits:
cc3a3040 by Bas Couwenberg at 2022-12-06T17:36:56+01:00
Add upstream patch to fix test failures with Shapely 2.0. (closes: #1025613)

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/pr2623-point-creation.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+python-geopandas (0.12.1-3) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Add upstream patch to fix test failures with Shapely 2.0.
+    (closes: #1025613)
+
+ -- Bas Couwenberg <sebastic at debian.org>  Tue, 06 Dec 2022 17:25:26 +0100
+
 python-geopandas (0.12.1-2) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/patches/pr2623-point-creation.patch
=====================================
@@ -0,0 +1,26 @@
+Description: TST: fix point creation in clip test suite
+Author: Martin Fleischmann <martin at martinfleischmann.net>
+Origin: https://github.com/geopandas/geopandas/pull/2623
+Bug: https://github.com/geopandas/geopandas/issues/2664
+Bug-Debian: https://bugs.debian.org/1025613
+
+--- a/geopandas/tools/tests/test_clip.py
++++ b/geopandas/tools/tests/test_clip.py
+@@ -176,7 +176,7 @@ def multi_point(point_gdf):
+ @pytest.fixture
+ def mixed_gdf():
+     """Create a Mixed Polygon and LineString For Testing"""
+-    point = Point([(2, 3), (11, 4), (7, 2), (8, 9), (1, 13)])
++    point = Point(2, 3)
+     line = LineString([(1, 1), (2, 2), (3, 2), (5, 3), (12, 1)])
+     poly = Polygon([(3, 4), (5, 2), (12, 2), (10, 5), (9, 7.5)])
+     ring = LinearRing([(1, 1), (2, 2), (3, 2), (5, 3), (12, 1)])
+@@ -189,7 +189,7 @@ def mixed_gdf():
+ @pytest.fixture
+ def geomcol_gdf():
+     """Create a Mixed Polygon and LineString For Testing"""
+-    point = Point([(2, 3), (11, 4), (7, 2), (8, 9), (1, 13)])
++    point = Point(2, 3)
+     poly = Polygon([(3, 4), (5, 2), (12, 2), (10, 5), (9, 7.5)])
+     coll = GeometryCollection([point, poly])
+     gdf = GeoDataFrame([1], geometry=[coll], crs="EPSG:3857")


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 no-gallery.patch
+pr2623-point-creation.patch



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

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-geopandas/-/commit/cc3a3040295ebdebfecb01e0029b7d382053febd
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/20221206/a62d6ab0/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list