Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1131022 > unrolled thread

Bug#1027221: python-cmaes: autopkgtest fail with numpy/1.24.1

Started byGard Spreemann <gspr@nonempty.org>
First post2023-01-01 13:30 +0100
Last post2023-01-05 04:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.bugs.dist

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#1027221: python-cmaes: autopkgtest fail with numpy/1.24.1 Gard Spreemann <gspr@nonempty.org> - 2023-01-01 13:30 +0100
    Bug#1027221: python-cmaes: autopkgtest fail with numpy/1.24.1 Sandro Tosi <morph@debian.org> - 2023-01-05 04:20 +0100

#1131022 — Bug#1027221: python-cmaes: autopkgtest fail with numpy/1.24.1

FromGard Spreemann <gspr@nonempty.org>
Date2023-01-01 13:30 +0100
SubjectBug#1027221: python-cmaes: autopkgtest fail with numpy/1.24.1
Message-ID<FJ5Ds-eOJM-5@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Sandro Tosi <morph@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

[toc] | [next] | [standalone]


#1131741

FromSandro Tosi <morph@debian.org>
Date2023-01-05 04:20 +0100
Message-ID<FKoXn-fETy-3@gated-at.bofh.it>
In reply to#1131022
> 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

feel free to close if it's unrelated, thanks for checking

-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
Twitter: https://twitter.com/sandrotosi

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web