Antonio Valentino pushed to branch master at Debian GIS Project / xarray-datatree
Commits: fe016af1 by Antonio Valentino at 2023-07-01T10:44:40+00:00 New 0002-Fix-tests-on-i386.patch - - - - - 56db8f2e by Antonio Valentino at 2023-07-01T10:45:02+00:00 Set distribution to unstable - - - - - 3 changed files: - debian/changelog - + debian/patches/0002-Fix-tests-on-i386.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,5 +1,5 @@ -xarray-datatree (0.0.12-1) UNRELEASED; urgency=medium +xarray-datatree (0.0.12-1) unstable; urgency=medium * Initial release (Closes: #1039097). - -- Antonio Valentino <[email protected]> Sat, 20 May 2023 14:31:02 +0000 + -- Antonio Valentino <[email protected]> Sat, 01 Jul 2023 10:44:44 +0000 ===================================== debian/patches/0002-Fix-tests-on-i386.patch ===================================== @@ -0,0 +1,31 @@ +From: Antonio Valentino <[email protected]> +Date: Sat, 1 Jul 2023 10:22:04 +0000 +Subject: Fix tests on i386 + +Forwarded: https://github.com/xarray-contrib/datatree/pull/249 +--- + datatree/tests/test_formatting.py | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) + +diff --git a/datatree/tests/test_formatting.py b/datatree/tests/test_formatting.py +index d0e3e9f..11779ff 100644 +--- a/datatree/tests/test_formatting.py ++++ b/datatree/tests/test_formatting.py +@@ -90,11 +90,13 @@ class TestDiffFormatting: + assert actual == expected + + def test_diff_node_data(self): +- ds1 = Dataset({"u": 0, "v": 1}) +- ds3 = Dataset({"w": 5}) ++ import numpy as np ++ ++ ds1 = Dataset({"u": np.int64(0), "v": np.int64(1)}) ++ ds3 = Dataset({"w": np.int64(5)}) + dt_1 = DataTree.from_dict({"a": ds1, "a/b": ds3}) +- ds2 = Dataset({"u": 0}) +- ds4 = Dataset({"w": 6}) ++ ds2 = Dataset({"u": np.int64(0)}) ++ ds4 = Dataset({"w": np.int64(6)}) + dt_2 = DataTree.from_dict({"a": ds2, "a/b": ds4}) + + expected = dedent( ===================================== debian/patches/series ===================================== @@ -1 +1,2 @@ 0001-Do-not-use-the-deprecated-distutils.patch +0002-Fix-tests-on-i386.patch View it on GitLab: https://salsa.debian.org/debian-gis-team/xarray-datatree/-/compare/216aa9b7da385c6e6aaa47e614117dff48913d23...56db8f2e4935ec448afb709aef226557777738fd -- View it on GitLab: https://salsa.debian.org/debian-gis-team/xarray-datatree/-/compare/216aa9b7da385c6e6aaa47e614117dff48913d23...56db8f2e4935ec448afb709aef226557777738fd 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
