Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1131022
| From | Gard Spreemann <gspr@nonempty.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1027221: python-cmaes: autopkgtest fail with numpy/1.24.1 |
| Date | 2023-01-01 13:30 +0100 |
| Message-ID | <FJ5Ds-eOJM-5@gated-at.bofh.it> (permalink) |
| References | <FJ5Ds-eOJM-7@gated-at.bofh.it> <FJ5Ds-eOJM-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[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
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
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
csiph-web