[Git][debian-gis-team/pyresample][master] 2 commits: Skip test_compare_to_legacy
Antonio Valentino (@antonio.valentino)
gitlab at salsa.debian.org
Fri Nov 25 21:33:52 GMT 2022
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 <antonio.valentino at tiscali.it> 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 <antonio.valentino at tiscali.it>
-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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20221125/6ccfee16/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list