Your message dated Wed, 01 Sep 2021 11:04:45 +0000
with message-id <e1mlo2v-000gd3...@fasolo.debian.org>
and subject line Bug#983758: fixed in python-xarray 0.19.0-5
has caused the Debian Bug report #983758,
regarding python-xarray: autopkgtest regression on several architectures
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
983758: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983758
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-xarray
Version: 0.17.0-1
Severity: serious

https://ci.debian.net/data/autopkgtest/testing/arm64/p/python-xarray/10765498/log.gz
https://ci.debian.net/data/autopkgtest/testing/arm64/p/python-xarray/10765498/log.gz

...
=================================== FAILURES ===================================
_______________________ TestDataArray.test_pad_constant ________________________

self = <xarray.tests.test_dataarray.TestDataArray object at 0xeeed3e98>

    def test_pad_constant(self):
        ar = DataArray(np.arange(3 * 4 * 5).reshape(3, 4, 5))
        actual = ar.pad(dim_0=(1, 3))
        expected = DataArray(
            np.pad(
                np.arange(3 * 4 * 5).reshape(3, 4, 5).astype(np.float32),
                mode="constant",
                pad_width=((1, 3), (0, 0), (0, 0)),
                constant_values=np.nan,
            )
        )
        assert actual.shape == (7, 4, 5)
        assert_identical(actual, expected)
    
        ar = xr.DataArray([9], dims="x")
    
        actual = ar.pad(x=1)
        expected = xr.DataArray([np.NaN, 9, np.NaN], dims="x")
        assert_identical(actual, expected)
    
        actual = ar.pad(x=1, constant_values=1.23456)
        expected = xr.DataArray([1, 9, 1], dims="x")
        assert_identical(actual, expected)
    
        if LooseVersion(np.__version__) >= "1.20":
            with pytest.raises(ValueError, match="cannot convert float NaN to 
integer"):
                ar.pad(x=1, constant_values=np.NaN)
        else:
            actual = ar.pad(x=1, constant_values=np.NaN)
            expected = xr.DataArray(
                [-9223372036854775808, 9, -9223372036854775808], dims="x"
            )
>           assert_identical(actual, expected)
E           AssertionError: Left and right DataArray objects are not identical
E           
E           Differing values:
E           L
E               array([0, 9, 0])
E           R
E               array([-9223372036854775808,                    9, 
-9223372036854775808],
E                     dtype=int64)

/usr/lib/python3/dist-packages/xarray/tests/test_dataarray.py:4523: 
AssertionError
=============================== warnings summary ===============================
...


https://ci.debian.net/data/autopkgtest/testing/i386/p/python-xarray/10765494/log.gz

...
=================================== FAILURES ===================================
_______________________ TestDataArray.test_pad_constant ________________________

self = <xarray.tests.test_dataarray.TestDataArray object at 0xedd27b20>

    def test_pad_constant(self):
        ar = DataArray(np.arange(3 * 4 * 5).reshape(3, 4, 5))
        actual = ar.pad(dim_0=(1, 3))
        expected = DataArray(
            np.pad(
                np.arange(3 * 4 * 5).reshape(3, 4, 5).astype(np.float32),
                mode="constant",
                pad_width=((1, 3), (0, 0), (0, 0)),
                constant_values=np.nan,
            )
        )
        assert actual.shape == (7, 4, 5)
        assert_identical(actual, expected)
    
        ar = xr.DataArray([9], dims="x")
    
        actual = ar.pad(x=1)
        expected = xr.DataArray([np.NaN, 9, np.NaN], dims="x")
        assert_identical(actual, expected)
    
        actual = ar.pad(x=1, constant_values=1.23456)
        expected = xr.DataArray([1, 9, 1], dims="x")
        assert_identical(actual, expected)
    
        if LooseVersion(np.__version__) >= "1.20":
            with pytest.raises(ValueError, match="cannot convert float NaN to 
integer"):
                ar.pad(x=1, constant_values=np.NaN)
        else:
            actual = ar.pad(x=1, constant_values=np.NaN)
            expected = xr.DataArray(
                [-9223372036854775808, 9, -9223372036854775808], dims="x"
            )
>           assert_identical(actual, expected)
E           AssertionError: Left and right DataArray objects are not identical
E           
E           Differing values:
E           L
E               array([-2147483648,           9, -2147483648])
E           R
E               array([-9223372036854775808,                    9, 
-9223372036854775808],
E                     dtype=int64)

/usr/lib/python3/dist-packages/xarray/tests/test_dataarray.py:4523: 
AssertionError
=============================== warnings summary ===============================
...

--- End Message ---
--- Begin Message ---
Source: python-xarray
Source-Version: 0.19.0-5
Done: Alastair McKinstry <mckins...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-xarray, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 983...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alastair McKinstry <mckins...@debian.org> (supplier of updated python-xarray 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 01 Sep 2021 10:33:23 +0100
Source: python-xarray
Architecture: source
Version: 0.19.0-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Alastair McKinstry <mckins...@debian.org>
Closes: 983758
Changes:
 python-xarray (0.19.0-5) unstable; urgency=medium
 .
   * Fix patch: test_pad_constant also fails on i386. Closes: #983758
Checksums-Sha1:
 1d425bbdbbb7e3cab6a1e088fcf22cafea289035 3342 python-xarray_0.19.0-5.dsc
 ade6e8cce9cdbf8726218699b6f4a8f50613bad8 13936 
python-xarray_0.19.0-5.debian.tar.xz
Checksums-Sha256:
 8ea28c4a7060b848ee34cbbf460a2f4ef25b98a80f0f419564221b7fdb149785 3342 
python-xarray_0.19.0-5.dsc
 554de0565cb008d8db010cbd6d2aa6cec928e8ef16b49cb437c1de41a427e3b5 13936 
python-xarray_0.19.0-5.debian.tar.xz
Files:
 28a270cfe80c77f0ab8afd0ea1fc1caf 3342 python optional 
python-xarray_0.19.0-5.dsc
 21e847cb672054acfd16e3a87942f2fb 13936 python optional 
python-xarray_0.19.0-5.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAmEvWRIACgkQy+a7Tl2a
06X6cxAAoqSCmMRHUuOfMHwlRWhycidNcxTm2/Eni1+H4/FfWsUEjW5xSmyjC6Oi
uzIV4JaKiQscKA4lWaoWyfwWQ1SQ+UtdU6s3H1FIIwobwIM0933T5vY2Rh2fe+Kk
zllg0gYGZsj06Z75zpYyLZfoZRJx509w2IkemXZSwYoO659bqsy2YOas+Fyy++8E
+tj/FEM6Zctb9D7WZZeJyVCjiElmmaX47xib8/TG7YpJUNOhQMaOCjvU1kSimmOv
x5GgMzdVbaUVCGORBwfv6yy5GaMkevSxrRiE48ZQDMkxPKRWj05VtVnBpzH+mtL1
m/DbXT4AxhFPTTeyZmeFCkhrJZ9+/jCBvSRsHJ/Aw4/0J7Bo5CG+QufDUy6osxge
gEyI93jqUDkDgHYpIgMTmLQiACrls0uovv9RPvMCH3U5WPXlAInTf5UCjrDQ/l9j
17lhfi/S9Jw1SL9q/VyD3O22C4M3m0LsPAiRLryv1JKC9feOZ6S7B04xBRZhDlQt
XL5mwhFvX4pnEcZAQPZy9fREYJBTRc39+kf9PvTcqq0BrRF9N8JPWKzBaqKzqFC8
KFstEYP1h0HR4/hbg08ncj/tPQot2y19ctsCrbnpsgBBb6WpkvUAOq/+ypN0jRfM
niA44zsqAZ+R5Fs9zT6dVkODx92NNe5Pag3/SRypD4sFKWp7Ce4=
=0J3P
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to