Bug#1027190: dolfin: autopkgtest fail with numpy/1.24.1
Sandro Tosi
morph at debian.org
Thu Dec 29 01:27:46 GMT 2022
Source: dolfin
Severity: important
User: debian-python at lists.debian.org
Usertags: numpy1.24
Hello,
recently numpy/1.24.1 has been uploaded to experimental, and this package
autopkgtest fail when running against it.
An overview of the upstream changes in the 1.24.x series is available at:
https://numpy.org/doc/stable/release/1.24.0-notes.html
Several of the errors are in the form of:
AttributeError: module 'numpy' has no attribute 'X'
with X in [float, int, bool, object, ...]. This is because, numpy upstream in
1.24.0, finally decided to expire
https://numpy.org/doc/stable/release/1.24.0-notes.html#:~:text=The%20deprecation%20for%20the%20aliases
some deprecations introduced in 1.20.0
https://numpy.org/doc/stable/release/1.20.0-notes.html#using-the-aliases-of-builtin-types-like-np-int-is-deprecated
(released almost 2 years ago).
All of those are quite straightforward to fix, since often it's just necessary
to stop importing them from numpy and use the python native types.
Other changes may requires a bit more rework to be addressed.
Currently numpy/1.24.x is in experimental, but given the possible longer support
that it'll receive from upstream, we're hopeful to include this in bookworm, so
your help is necessary to address this bug ASAP.
Regards,
Sandro
More information about the debian-science-maintainers
mailing list