Your message dated Mon, 30 Jan 2023 16:20:11 +0000
with message-id <[email protected]>
and subject line Bug#1029593: fixed in nibabel 5.0.0-2
has caused the Debian Bug report #1029593,
regarding nibabel: (armel autopkgtest) needs update for NumPy 1.24
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 [email protected]
immediately.)


-- 
1029593: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029593
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: nibabel
Version: 4.0.2-1
Severity: serious
User: [email protected]
Usertags: needs-update

Hi Maintainer

The autopkgtests of nibabel fail with NumPy 1.24 on armel [1].  I've
copied what I hope is the relevant part of the log below.

Regards
Graham


[1] https://ci.debian.net/packages/n/nibabel/testing/armel/


=================================== FAILURES ===================================
___________________________ test_a2f_nan2zero_range ____________________________

    def test_a2f_nan2zero_range():
        # array_to_file should check if nan can be represented as zero
        # This comes about when the writer can't write the value (-intercept /
        # divslope) because it does not fit in the output range.  Input clipping
        # should not affect this
        fobj = BytesIO()
        # No problem for input integer types - they don't have NaNs
        for dt in INT_TYPES:
            arr_no_nan = np.array([-1, 0, 1, 2], dtype=dt)
            # No errors from explicit thresholding (nor for input float types)
            back_arr = write_return(arr_no_nan, fobj, np.int8, mn=1,
nan2zero=True)
            assert_array_equal([1, 1, 1, 2], back_arr)
            back_arr = write_return(arr_no_nan, fobj, np.int8, mx=-1,
nan2zero=True)
            assert_array_equal([-1, -1, -1, -1], back_arr)
            # Pushing zero outside the output data range does not generate error
            back_arr = write_return(arr_no_nan, fobj, np.int8,
intercept=129, nan2zero=True)
            assert_array_equal([-128, -128, -128, -127], back_arr)
            back_arr = write_return(arr_no_nan, fobj, np.int8,
                                    intercept=257.1, divslope=2, nan2zero=True)
            assert_array_equal([-128, -128, -128, -128], back_arr)
        for dt in CFLOAT_TYPES:
            arr = np.array([-1, 0, 1, np.nan], dtype=dt)
            # Error occurs for arrays without nans too
            arr_no_nan = np.array([-1, 0, 1, 2], dtype=dt)
            complex_warn = (np.ComplexWarning,) if np.issubdtype(dt,
np.complexfloating) else ()
            # Casting nan to int will produce a RuntimeWarning in numpy 1.24
            nan_warn = (RuntimeWarning,) if FP_RUNTIME_WARN else ()
            c_and_n_warn = complex_warn + nan_warn
            # No errors from explicit thresholding
            # mn thresholding excluding zero
            with pytest.warns(complex_warn) if complex_warn else
error_warnings():
                assert_array_equal([1, 1, 1, 0],
                                   write_return(arr, fobj, np.int8, mn=1))
            # mx thresholding excluding zero
            with pytest.warns(complex_warn) if complex_warn else
error_warnings():
                assert_array_equal([-1, -1, -1, 0],
                                   write_return(arr, fobj, np.int8, mx=-1))
            # Errors from datatype threshold after scaling
            with pytest.warns(complex_warn) if complex_warn else
error_warnings():
                back_arr = write_return(arr, fobj, np.int8, intercept=128)
            assert_array_equal([-128, -128, -127, -128], back_arr)
            with pytest.raises(ValueError):
                write_return(arr, fobj, np.int8, intercept=129)
            with pytest.raises(ValueError):
                write_return(arr_no_nan, fobj, np.int8, intercept=129)
            # OK with nan2zero false, but we get whatever nan casts to
>           with pytest.warns(c_and_n_warn) if c_and_n_warn else 
> error_warnings():
E           Failed: DID NOT WARN. No warnings of type (<class
'RuntimeWarning'>,) were emitted.
E           The list of emitted warnings is: [].

nibabel/tests/test_volumeutils.py:700: Failed

--- End Message ---
--- Begin Message ---
Source: nibabel
Source-Version: 5.0.0-2
Done: Étienne Mollier <[email protected]>

We believe that the bug you reported is fixed in the latest version of
nibabel, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Étienne Mollier <[email protected]> (supplier of updated nibabel 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 30 Jan 2023 16:15:52 +0100
Source: nibabel
Architecture: source
Version: 5.0.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team 
<[email protected]>
Changed-By: Étienne Mollier <[email protected]>
Closes: 1029593
Changes:
 nibabel (5.0.0-2) unstable; urgency=medium
 .
   * d/control: add myself to uploaders.
   * skip-armel-test-nan2zero.patch: relax to arm* filtering. (Closes: #1029593)
Checksums-Sha1:
 bf93a37c7599ea7b33c83e5592bf4b0dd346e945 2672 nibabel_5.0.0-2.dsc
 66da8d03b8a4f763a934c3f00eced4c0878856a5 11356 nibabel_5.0.0-2.debian.tar.xz
Checksums-Sha256:
 35ae255d298bf059299fdad7d972a2cddddecb8e0e002165132ed1912db23527 2672 
nibabel_5.0.0-2.dsc
 f21ad20813981ffa619bcd133a0ddf174583e38e0512ff9b456ec97a35085710 11356 
nibabel_5.0.0-2.debian.tar.xz
Files:
 6db1a8417eb45cdf7580cb840c5feada 2672 python optional nibabel_5.0.0-2.dsc
 c2d43513a63d36ebe362bef0177ea138 11356 python optional 
nibabel_5.0.0-2.debian.tar.xz

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

iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmPX6dcUHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdpQaA/9HHVpaiAhB88c1gkVq7gfZpObJbAa
ksq8rtlFnuwIfNLPmAFHKI5n4JPG81mOmRO16rJNXndorpKGzSyMnsD532Tg7LZL
8dsgC6QzPtBMDJNsJMwrIvn4zkVbMNYYu2UbIPS+O4VaMGnWxx2OKiYtNl4WCREE
NS5ZX+32D/Y5+36XTVRKLTb7nG2KnMrl8aRLQhNRtM+SO9uZ5jPzRtX6WWu7Mtlo
hPWma0m3VdTMBz6vzq5mvB2Q6HIOjp066Nsy8WVf8pB/JzNISCGhHdwBUX9yLa5L
8E8a4PN8uWvA4IXNtVopo9PbFVeOy2SIVTEE+DUtHJ2Ga2HmTelGdXQ0Hd4xGM+t
pGrBk+CxY/+ykojXQahXPYxmcQ9ZsodFLKtBwLZHXh/zOQk6XruZvqZDbI8V4U5B
KSaZdJMX5u5w9/Du08dhs0rvrGlL0atz02Fl+jp95WR50ZKoHPxAmZG6Rpd9a1Yq
88c9VahCHA59l5FRKu7uzgwhzr3MDAUiwSi9UGg0jUJeJ+g1XVrRUwsx4eL9+x7K
mLyWpLlZ5bwezMVRreKbPCrjVwbzNxaNnAhP/wvHBkT6BKRiKqloK5P3U6eQHKYi
Qf6Ivh/E69tF4q6US+/s57fdPpXVC3iMl0t8jN/yA7DtJ6lDqKslyXU8RdGYaXgY
kmkCNoNY65+lB/c=
=eMdP
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to