Your message dated Thu, 26 Jan 2023 20:38:40 +0000
with message-id <e1pl916-00bdfe...@fasolo.debian.org>
and subject line Bug#1029593: fixed in nibabel 5.0.0-1
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 ow...@bugs.debian.org
immediately.)
--
1029593: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029593
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: nibabel
Version: 4.0.2-1
Severity: serious
User: debian...@lists.debian.org
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-1
Done: Étienne Mollier <emoll...@debian.org>
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 1029...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Étienne Mollier <emoll...@debian.org> (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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 26 Jan 2023 18:57:50 +0100
Source: nibabel
Architecture: source
Version: 5.0.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team
<debian-med-packag...@lists.alioth.debian.org>
Changed-By: Étienne Mollier <emoll...@debian.org>
Closes: 1029593
Changes:
nibabel (5.0.0-1) unstable; urgency=medium
.
* Team upload.
.
[ Andreas Tille ]
* New upstream version
* Standards-Version: 4.6.2 (routine-update)
* Build-Depends: pybuild-plugin-pyproject,
python3-pytest-httpserver
* Set PATH for build time tests
* Test-Depends: python3-pytest-httpserver
* Restrict autopkgtest to default Python3 version
.
[ Nilesh Patra ]
* Build-Depends: python3-hatch-vcs
.
[ Étienne Mollier ]
* d/t/control: append "@" (i.e. built packages) to test dependencies.
* skip-test-removalschedule.patch: add; fix autopkgtest failures.
* skip-armel-test-nan2zero.patch: add; fix ftbfs on armel. (Closes: #1029593)
Checksums-Sha1:
3371d8109e9772ac2cf84da68acb4b2e9ce8c573 2632 nibabel_5.0.0-1.dsc
3fab4039131caf0ca88c7f80164cd8069b88cb21 4480343 nibabel_5.0.0.orig.tar.gz
849afe11d933777b62d400e9f35f38559a430373 11308 nibabel_5.0.0-1.debian.tar.xz
Checksums-Sha256:
a570e7ed50ee25bf2526b47a60b281d7ca895cd818158f4cf882dce260c77f6f 2632
nibabel_5.0.0-1.dsc
b71c0874163de87d18cdfb00e26f40e1aa4b0b4901ec3b68c2ef58a07255769d 4480343
nibabel_5.0.0.orig.tar.gz
b1d0fadfe24f208a2bfe4d380d6306bc253a441fccb798de9c8d7343d8e3e84f 11308
nibabel_5.0.0-1.debian.tar.xz
Files:
d76f12729665b9ce591fc00ad9eaf75d 2632 python optional nibabel_5.0.0-1.dsc
d1489c2771dfb8bafc5938bed0f5f7ef 4480343 python optional
nibabel_5.0.0.orig.tar.gz
1cad4ba0e9f1686c08c433856a4cf602 11308 python optional
nibabel_5.0.0-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmPS3kkUHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdo5xA/9G3AU+zJzr2F/1QuAsKj/ejUW3Uf5
WsKjv7Q9SMwNpCQIuqIrvcFsQ/4GeWE5ocXOt+/NoT1f5ViZBrGyAOcEhputNYOE
EjX9yIPd7AW19X3jILYtF10+WVsG601GpOVx6bWRea/SPdOB5KCUC8YNzVkYld5n
kl7zIdMf++KHDHY5oH3Aijtmmg39B4PuCd+TeHoQ51o4II0dAWiurQ8K31jDdwB5
dH219h9LKz9sZ8dx3jlS6shxZSBt38lyqVVwGDpTV6XCtTxtn2u9qwcmOnk6lDin
sBRWhMlGK+uQPO96pVOxgrnxX8JCGZJpYHCCgiqj8+NRwhIf11UBgkfGVQY3drq+
XyyRANYhSa9+1WxCc2TEu12+oUXfitN50yAN4O/xZlkvupSkuFOfucjxP8WRL4tT
tLjJOq2aHNkVieVCMt/PSmJ++v/HOrUTX50oA8bcUb73eGDrOGgn8n5pa4+edHwu
xObMclGFiuFl482Y7N8hP3Wqg5NSo/BXC0R7oZRzOwnAgjEqNtxjsoy1BTw3AnCE
nZ6692NYbbU6amD99KzhI+l2Kvmrd+ZvAIr2JVg9bIsXDGeih2efNlL5Qjg4FNtQ
ZXGR6UkvN86u7PvbTfPZTBPcPXt5flC9PLqDXquJMrmztLyFsn4CUkO6GOiBrgQT
SQ4FyJTzPeJiOk0=
=Of8S
-----END PGP SIGNATURE-----
--- End Message ---