Antonio Valentino pushed to branch master at Debian GIS Project / pyresample
Commits: 8282f82a by Antonio Valentino at 2022-11-25T21:07:41+00:00 Skip test_compare_to_legacy - - - - - ab039add by Antonio Valentino at 2022-11-25T21:31:45+00:00 Set distribution to unstable - - - - - 4 changed files: - debian/changelog - − debian/patches/0005-Relax-accuracy-for-legacy-data-test.patch - debian/patches/series - debian/rules Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,13 @@ +pyresample (1.26.0-3) unstable; urgency=medium + + * debian/patches: + - drop 0005-Relax-accuracy-for-legacy-data-test.patch. + * debian/rules: + - skip test_compare_to_legacy see + https://github.com/pytroll/pyresample/issues/481. + + -- Antonio Valentino <[email protected]> Fri, 25 Nov 2022 21:08:06 +0000 + pyresample (1.26.0-2) unstable; urgency=medium * debian/patches: ===================================== debian/patches/0005-Relax-accuracy-for-legacy-data-test.patch deleted ===================================== @@ -1,23 +0,0 @@ -From: Antonio Valentino <[email protected]> -Date: Fri, 25 Nov 2022 07:04:14 +0000 -Subject: Relax accuracy for legacy data test - ---- - pyresample/test/test_dask_ewa.py | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/pyresample/test/test_dask_ewa.py b/pyresample/test/test_dask_ewa.py -index 94f55c3..9958ff3 100644 ---- a/pyresample/test/test_dask_ewa.py -+++ b/pyresample/test/test_dask_ewa.py -@@ -342,7 +342,9 @@ class TestDaskEWAResampler: - maximum_weight_mode=maximum_weight_mode) - legacy_arr = legacy_data.compute() - -- np.testing.assert_allclose(new_arr, legacy_arr) -+ import sys -+ rtol = 1e-7 if sys.maxsize > 2**32 else 1e-4 -+ np.testing.assert_allclose(new_arr, legacy_arr, rtol=rtol) - - @pytest.mark.parametrize( - ('input_shape', 'input_dims', 'as_np'), ===================================== debian/patches/series ===================================== @@ -2,4 +2,3 @@ 0002-Skip-test-on-deprecated-basemap.patch 0003-Fix-mathjax-path.patch 0004-Versioneer-path.patch -0005-Relax-accuracy-for-legacy-data-test.patch ===================================== debian/rules ===================================== @@ -9,7 +9,7 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all export PYBUILD_NAME=pyresample export USE_CYTHON=True - +export PYBUILD_TEST_ARGS=-k "not test_compare_to_legacy" %: dh $@ --with python3,sphinxdoc --buildsystem=pybuild View it on GitLab: https://salsa.debian.org/debian-gis-team/pyresample/-/compare/f0f7062d5f7df09db59daf445a960cae4adeba5e...ab039add3b95b8bef8bad8b0ff2eb2229d2ce322 -- View it on GitLab: https://salsa.debian.org/debian-gis-team/pyresample/-/compare/f0f7062d5f7df09db59daf445a960cae4adeba5e...ab039add3b95b8bef8bad8b0ff2eb2229d2ce322 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
