Sandro Tosi <mo...@debian.org> writes:

> 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.

Hi,

Thanks for the report. Do you have an example of such a failing
autopkgtest? Of the ones on [1], I only see two labeled as using NumPy
1.24.x from experimental (one for x=0, one for x=1). One of them passed
[2], and the one that failed [3] seems to have failed not because of
deprecated NumPy features, but rather due to the unrelated #1027466 [4].

Am I overlooking something?


[1] https://ci.debian.net/packages/p/python-cmaes/unstable/amd64/

[2] 
https://ci.debian.net/data/autopkgtest/unstable/amd64/p/python-cmaes/29522260/log.gz

[3] 
https://ci.debian.net/data/autopkgtest/unstable/amd64/p/python-cmaes/29749368/log.gz

[4] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027466


 Best,
 Gard

Attachment: signature.asc
Description: PGP signature

Reply via email to