Bas Couwenberg pushed to branch master at Debian GIS Project / python-pyproj
Commits: c90c8970 by Bas Couwenberg at 2020-11-01T12:18:06+01:00 Add patch to fix FTBFS with PROJ 7.2.0. - - - - - 5ea933fa by Bas Couwenberg at 2020-11-01T12:18:27+01:00 Update lintian overrides. - - - - - 02685908 by Bas Couwenberg at 2020-11-01T12:18:39+01:00 Set distribution to unstable. - - - - - 4 changed files: - debian/changelog - + debian/patches/proj-7.2.0.patch - debian/patches/series - − debian/source/lintian-overrides Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +python-pyproj (2.6.1+ds-3) unstable; urgency=medium + + * Add patch to fix FTBFS with PROJ 7.2.0. + * Update lintian overrides. + + -- Bas Couwenberg <[email protected]> Sun, 01 Nov 2020 12:18:28 +0100 + python-pyproj (2.6.1+ds-2) unstable; urgency=medium * Add upstream patch to fix FTBFS with PROJ 7.1.0. ===================================== debian/patches/proj-7.2.0.patch ===================================== @@ -0,0 +1,88 @@ +Description: Mark tests that fail with PROJ 7.2.0 as xfail. +Author: Bas Couwenberg <[email protected]> +Bug: https://github.com/pyproj4/pyproj/issues/728 + +--- a/test/crs/test_crs.py ++++ b/test/crs/test_crs.py +@@ -190,6 +190,7 @@ def test_to_wkt_pretty(): + assert "\n" not in crs.to_wkt() + + [email protected](strict=False) + def test_repr(): + with pytest.warns(FutureWarning): + assert repr(CRS({"init": "EPSG:4326"})) == ( +@@ -207,6 +208,7 @@ def test_repr(): + ) + + [email protected](strict=False) + def test_repr__long(): + with pytest.warns(FutureWarning): + assert repr(CRS(CRS({"init": "EPSG:4326"}).to_wkt())) == ( +@@ -225,6 +227,7 @@ def test_repr__long(): + ) + + [email protected](strict=False) + def test_repr_epsg(): + assert repr(CRS(CRS("EPSG:4326").to_wkt())) == ( + "<Geographic 2D CRS: EPSG:4326>\n" +@@ -265,6 +268,7 @@ def test_repr__undefined(): + ) + + [email protected](strict=False) + def test_repr_compound(): + assert repr(CRS.from_epsg(3901)) == ( + "<Compound CRS: EPSG:3901>\n" +@@ -446,6 +450,7 @@ def test_ellipsoid__semi_minor_not_compu + assert not cc.datum.ellipsoid.is_semi_minor_computed + + [email protected](strict=False) + def test_area_of_use(): + crs1 = CRS.from_epsg(4326) + assert crs1.area_of_use.bounds == (-180.0, -90.0, 180.0, 90.0) +@@ -502,6 +507,7 @@ def test_coordinate_system_geog(): + ) + + [email protected](strict=False) + def test_coordinate_operation(): + crs = CRS.from_epsg(26915) + assert repr(crs.coordinate_operation) == ( +@@ -1243,6 +1249,7 @@ def test_scope__remarks(): + assert "Scale difference" in co.remarks + + [email protected](strict=False) + def test_crs__scope__remarks__missing(): + cc = CRS(4326) + assert cc.scope is None +--- a/test/test_transformer.py ++++ b/test/test_transformer.py +@@ -488,6 +488,7 @@ def test_str(): + ), + ], + ) [email protected](strict=False) + def test_repr(from_crs, to_crs, expected_repr): + assert repr(Transformer.from_crs(from_crs, to_crs)) == expected_repr + +@@ -532,6 +533,7 @@ def test_transformer__operations_missing + assert Transformer.from_crs(7789, 8401).operations == () + + [email protected](strict=False) + def test_transformer__operations__scope_remarks(): + transformer = TransformerGroup(28356, 7856).transformers[0] + assert transformer.scope is None +@@ -548,6 +550,7 @@ def test_transformer__operations__scope_ + ] + + [email protected](strict=False) + def test_transformer_group(): + trans_group = TransformerGroup(7789, 8401) + assert len(trans_group.transformers) == 2 ===================================== debian/patches/series ===================================== @@ -1 +1,2 @@ 0001-TST-Update-tests-with-scope-remarks-649.patch +proj-7.2.0.patch ===================================== debian/source/lintian-overrides deleted ===================================== @@ -1,3 +0,0 @@ -# Not worth the effort -testsuite-autopkgtest-missing - View it on GitLab: https://salsa.debian.org/debian-gis-team/python-pyproj/-/compare/163af40cd121bb0edf028d109254633d95b81588...02685908f8d498c34287f7c650f72646b151df16 -- View it on GitLab: https://salsa.debian.org/debian-gis-team/python-pyproj/-/compare/163af40cd121bb0edf028d109254633d95b81588...02685908f8d498c34287f7c650f72646b151df16 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
