[Git][debian-gis-team/python-pyproj][experimental] 2 commits: Add upstream patch to fix test failure on 64bit PowerPC.
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Thu May 20 14:11:54 BST 2021
Bas Couwenberg pushed to branch experimental at Debian GIS Project / python-pyproj
Commits:
8c8dc74a by Bas Couwenberg at 2021-05-20T14:58:50+02:00
Add upstream patch to fix test failure on 64bit PowerPC.
- - - - -
81936704 by Bas Couwenberg at 2021-05-20T14:59:04+02:00
Set distribution to experimental.
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/0001-test-test_geod.py-fix-https-github.com-pyproj4-pypro.patch
- + debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+python-pyproj (3.1~rc0-1~exp2) experimental; urgency=medium
+
+ * Add upstream patch to fix test failure on 64bit PowerPC.
+
+ -- Bas Couwenberg <sebastic at debian.org> Thu, 20 May 2021 14:58:55 +0200
+
python-pyproj (3.1~rc0-1~exp1) experimental; urgency=medium
* New upstream release candidate.
=====================================
debian/patches/0001-test-test_geod.py-fix-https-github.com-pyproj4-pypro.patch
=====================================
@@ -0,0 +1,19 @@
+Description: test/test_geod.py - fix https://github.com/pyproj4/pyproj/issues/849
+Author: Idan Miara <idan at miara.com>
+Origin: https://github.com/pyproj4/pyproj/commit/b8c00788da5f214b7cd1bc4a15b4b8c6795d3bc5
+Bug: https://github.com/pyproj4/pyproj/issues/849
+
+--- a/test/test_geod.py
++++ b/test/test_geod.py
+@@ -132,7 +132,10 @@ def test_geod_inverse_transform():
+ latprev = lat1pt
+ for (lon, lat), (res12, res21, resdist) in zip(lonlats, res_az12_az21_dists):
+ o_az12, o_az21, o_dist = gg.inv(lonprev, latprev, lon, lat)
+- assert_almost_equal((o_az12, o_az21, o_dist), (res12, res21, resdist))
++ if resdist == 0:
++ assert_almost_equal(o_dist, 0)
++ else:
++ assert_almost_equal((o_az12, o_az21, o_dist), (res12, res21, resdist))
+ latprev = lat
+ lonprev = lon
+ if not include_terminus:
=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+0001-test-test_geod.py-fix-https-github.com-pyproj4-pypro.patch
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-pyproj/-/compare/073e3db70cb7815694ef9550b1720a44e36af03b...819367042a7d5775e6e010f1dd524bb35e2adbea
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-pyproj/-/compare/073e3db70cb7815694ef9550b1720a44e36af03b...819367042a7d5775e6e010f1dd524bb35e2adbea
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/20210520/58ffbf5a/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list