Bas Couwenberg pushed to branch experimental at Debian GIS Project / python-pyproj
Commits: 48f87090 by Bas Couwenberg at 2021-05-22T07:26:28+02:00 New upstream version 3.1~rc1 - - - - - 86018487 by Bas Couwenberg at 2021-05-22T07:26:30+02:00 Update upstream source from tag 'upstream/3.1_rc1' Update to upstream version '3.1~rc1' with Debian dir 6a00830861640c2e86f8ca506e0420465c6e7f6d - - - - - 46dd18b1 by Bas Couwenberg at 2021-05-22T07:26:50+02:00 New upstream release candidate. - - - - - 3546f80d by Bas Couwenberg at 2021-05-22T07:27:47+02:00 Drop test_geod patch, included upstream. - - - - - 02f9d826 by Bas Couwenberg at 2021-05-22T07:28:05+02:00 Set distribution to experimental. - - - - - 5 changed files: - debian/changelog - − debian/patches/0001-test-test_geod.py-fix-https-github.com-pyproj4-pypro.patch - − debian/patches/series - pyproj/__init__.py - test/test_geod.py Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +python-pyproj (3.1~rc1-1~exp1) experimental; urgency=medium + + * New upstream release candidate. + * Drop test_geod patch, included upstream. + + -- Bas Couwenberg <[email protected]> Sat, 22 May 2021 07:27:51 +0200 + python-pyproj (3.1~rc0-1~exp2) experimental; urgency=medium * Add upstream patch to fix test failure on 64bit PowerPC. ===================================== debian/patches/0001-test-test_geod.py-fix-https-github.com-pyproj4-pypro.patch deleted ===================================== @@ -1,19 +0,0 @@ -Description: test/test_geod.py - fix https://github.com/pyproj4/pyproj/issues/849 -Author: Idan Miara <[email protected]> -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 deleted ===================================== @@ -1 +0,0 @@ -0001-test-test_geod.py-fix-https-github.com-pyproj4-pypro.patch ===================================== pyproj/__init__.py ===================================== @@ -28,7 +28,7 @@ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIO OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ -__version__ = "3.1rc0" +__version__ = "3.1rc1" __all__ = [ "Proj", "Geod", ===================================== 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: View it on GitLab: https://salsa.debian.org/debian-gis-team/python-pyproj/-/compare/819367042a7d5775e6e010f1dd524bb35e2adbea...02f9d82694dd346c4883e0715db090467c15fadd -- View it on GitLab: https://salsa.debian.org/debian-gis-team/python-pyproj/-/compare/819367042a7d5775e6e010f1dd524bb35e2adbea...02f9d82694dd346c4883e0715db090467c15fadd 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
