[Git][debian-gis-team/python-pyproj][master] 2 commits: Add patch to fix test failures with PROJ 8.2.0. (closes: #998596)

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Thu Nov 4 20:31:36 GMT 2021



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


Commits:
4e742992 by Bas Couwenberg at 2021-11-04T21:24:57+01:00
Add patch to fix test failures with PROJ 8.2.0. (closes: #998596)

- - - - -
e11af002 by Bas Couwenberg at 2021-11-04T21:25:07+01:00
Set distribution to unstable.

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/proj-8.2.patch
- + debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+python-pyproj (3.2.1-2) unstable; urgency=medium
+
+  * Add patch to fix test failures with PROJ 8.2.0.
+    (closes: #998596)
+
+ -- Bas Couwenberg <sebastic at debian.org>  Thu, 04 Nov 2021 21:24:58 +0100
+
 python-pyproj (3.2.1-1) unstable; urgency=medium
 
   * New upstream release.


=====================================
debian/patches/proj-8.2.patch
=====================================
@@ -0,0 +1,91 @@
+Description: Skip tests failing with PROJ 8.2.0.
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug-Debian: https://bugs.debian.org/998596
+Forwarded: not-needed
+
+--- a/test/crs/test_crs.py
++++ b/test/crs/test_crs.py
+@@ -615,6 +615,7 @@ def test_coordinate_operation__from_auth
+     assert cc.method_code == "9807"
+ 
+ 
++ at pytest.mark.skipif(PROJ_GTE_8, reason="Fails with PROJ 8.2.0")
+ @pytest.mark.parametrize(
+     "user_input",
+     [
+@@ -647,6 +648,7 @@ def test_coordinate_operation__from_auth
+         CoordinateOperation.from_authority("BOB", 4326)
+ 
+ 
++ at pytest.mark.skipif(PROJ_GTE_8, reason="Fails with PROJ 8.2.0")
+ def test_datum__from_epsg():
+     if PROJ_GTE_8:
+         datum_wkt = (
+@@ -1072,6 +1074,7 @@ def test_coordinate_operation_equals():
+     assert co != "invalid"
+ 
+ 
++ at pytest.mark.skipif(PROJ_GTE_8, reason="Fails with PROJ 8.2.0")
+ @pytest.mark.parametrize(
+     "input_str", ["urn:ogc:def:coordinateOperation:EPSG::1671", "RGF93 to WGS 84 (1)"]
+ )
+--- a/test/crs/test_crs_cf.py
++++ b/test/crs/test_crs_cf.py
+@@ -20,6 +20,7 @@ from pyproj.crs.coordinate_operation imp
+ from pyproj.exceptions import CRSError
+ from test.conftest import (
+     HAYFORD_ELLIPSOID_NAME,
++    PROJ_GTE_8,
+     PROJ_LOOSE_VERSION,
+     get_wgs84_datum_name,
+ )
+@@ -1607,6 +1608,7 @@ def test_build_custom_datum__default_ell
+     assert str(crs.prime_meridian.longitude).startswith("2.")
+ 
+ 
++ at pytest.mark.skipif(PROJ_GTE_8, reason="Fails with PROJ 8.2.0")
+ def test_cartesian_cs():
+     unit = {"type": "LinearUnit", "name": "US Survey Foot", "conversion_factor": 0.3048}
+     cartesian_cs = {
+@@ -1655,6 +1657,7 @@ def test_cartesian_cs():
+     ]
+ 
+ 
++ at pytest.mark.skipif(PROJ_GTE_8, reason="Fails with PROJ 8.2.0")
+ def test_ellipsoidal_cs():
+     ellipsoidal_cs = {
+         "$schema": "https://proj.org/schemas/v0.2/projjson.schema.json",
+@@ -1701,6 +1704,7 @@ def test_ellipsoidal_cs():
+     ]
+ 
+ 
++ at pytest.mark.skipif(PROJ_GTE_8, reason="Fails with PROJ 8.2.0")
+ def test_ellipsoidal_cs__from_name():
+     ellipsoidal_cs = {
+         "$schema": "https://proj.org/schemas/v0.2/projjson.schema.json",
+@@ -1743,6 +1747,7 @@ def test_ellipsoidal_cs__from_name():
+     ]
+ 
+ 
++ at pytest.mark.skipif(PROJ_GTE_8, reason="Fails with PROJ 8.2.0")
+ def test_export_compound_crs_cs():
+     unit = {"type": "LinearUnit", "name": "US Survey Foot", "conversion_factor": 0.3048}
+     cartesian_cs = {
+--- a/test/test_transformer.py
++++ b/test/test_transformer.py
+@@ -1157,6 +1157,7 @@ def test_transformer_authority_filter_wa
+         Transformer.from_crs("EPSG:4326", "EPSG:4258", authority="PROJ")
+ 
+ 
++ at pytest.mark.skipif(PROJ_GTE_8, reason="Fails with PROJ 8.2.0")
+ @pytest.mark.parametrize(
+     "input_string",
+     [
+@@ -1169,6 +1170,7 @@ def test_transformer_from_pipeline__inpu
+     assert Transformer.from_pipeline(input_string).description == "RGF93 to WGS 84 (1)"
+ 
+ 
++ at pytest.mark.skipif(PROJ_GTE_8, reason="Fails with PROJ 8.2.0")
+ @pytest.mark.parametrize(
+     "method_name",
+     [


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+proj-8.2.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-pyproj/-/compare/ad9df9ede784d3588551d33fd93070fd65a44684...e11af002ccb0c53721ec177e796aef5176d609fb

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-pyproj/-/compare/ad9df9ede784d3588551d33fd93070fd65a44684...e11af002ccb0c53721ec177e796aef5176d609fb
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/20211104/5e4ebf88/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list