Your message dated Wed, 25 Aug 2021 20:36:44 +0000
with message-id <e1mizdc-0003l4...@fasolo.debian.org>
and subject line Bug#983758: fixed in python-xarray 0.19.0-3
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-3
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, 25 Aug 2021 20:49:54 +0100
Source: python-xarray
Architecture: source
Version: 0.19.0-3
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-3) unstable; urgency=medium
 .
   * Move to debhelper level 13
   * Standards-Version: 4.6.0
   * Fix typo on patch for pytest marking. test_tutorial.py
   * Mark test test_pad_constant XFAIL on Arm64 as large constants
     not transformed into NaN. Closes: #983758
   * Mark test_push_dask() XFAIL with bottleneck < 1.3.0.
Checksums-Sha1:
 578b27321a922e966019d3dcebd34cd1750fb5c9 3342 python-xarray_0.19.0-3.dsc
 90e17f44c08a8cad56950005cb26132bec1e941e 13768 
python-xarray_0.19.0-3.debian.tar.xz
Checksums-Sha256:
 657353159f221844ae61518602c6de9aac7bc46587625b44da721f9aae7027b3 3342 
python-xarray_0.19.0-3.dsc
 6e5f5c926533102b3ab6dd88502d080c0c1016b29f207f21f0120896c47cf8ae 13768 
python-xarray_0.19.0-3.debian.tar.xz
Files:
 7bbb4174935b945f4a4e7a6186f999a9 3342 python optional 
python-xarray_0.19.0-3.dsc
 9ed008352fbeb8705d6ca4af95ae39e5 13768 python optional 
python-xarray_0.19.0-3.debian.tar.xz

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

iQIzBAEBCAAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAmEmocEACgkQy+a7Tl2a
06Wg6Q/7B00+AhtynOd6I+2wSnySYjgEprnkAPUfl65R1FnlWp2YqpN7LzTSvCMC
S7hndC5Muhj9g81XW7ssLsGXQKkobk32FZaf0kDAPMT4i89qQnvuB5KHarhFDWKd
NmO87CIvSaB9K84YX5lovi6Z0SqCHIkMx0sIj/c33eHiXXGwGYS9zENx6xRCJprl
XM7ghJrI3/qkpwhZ4whNdWlbvV3XhNhskpvTh6rr0RoaL3nOf0X+As3kfVJq9GDm
TMPhYAukZ8ymMXYHf17hJMsxSuUdQlMV8QxNAmO4tgYI74ntesMiIRGE5EUkpHHU
z+GXpDr7juV8ckm+aPKwNWeAW9Vi35vHVZXpFAYWg91T5gTClJ3IBfQ1MHVbfj1G
2kGeBZxrm99Dw0DamWmyRod2E80jDz4XIkWNBtTT3tset9J4cTsN7y+vU8n58Oll
kBzGvdZ3l7dHp511k1TIM3brDD4bnnzu2ryPIKLsaS/lIL74zTiYpPI3XVvc74LF
sKfmir1Q/XIa4l18IbL8xg+6ryDu9Uh8/XYvrPeeDuRO2xMfrnshESdjqNhO7bcC
A+8HDQdR/XQmkGZkixr8L0rR2EvmIg2ViN81ARB6+9EKXycHrC33n2VmnLVyH91d
7GYwm8g9t0jVgf3NEszcQ1hxuoYRVzLllv8g7UdeRErJTQoGIsk=
=ArQj
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to