Your message dated Mon, 26 Dec 2022 21:38:03 +0000
with message-id 
<CAM8zJQuRKZwELPoaEnNbev11tthsuc=xfcvrop5wnn8+2ub...@mail.gmail.com>
and subject line Re: Bug#1025788: transition: numpy
has caused the Debian Bug report #1025788,
regarding transition: numpy
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.)


-- 
1025788: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025788
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: transition
X-Debbugs-Cc: nu...@packages.debian.org, mo...@debian.org
Control: affects -1 + src:numpy

Hello,
i would like to request a transition slot for numpy.

numpy/1.23.5 is in experimental, the autopkgtest for it are:

  https://qa.debian.org/excuses.php?experimental=1&package=numpy

I gave a look at the failures and several of them are due to other reasons
(uninstallable packages and the like), others may be attributed to python3.11
being added to unstable; issues related to the newer numpy are of the type

  AttributeError: module 'numpy' has no attribute 'asscalar'

which has been removed after being deprecated for 7 releases:

  https://numpy.org/doc/1.22/reference/generated/numpy.asscalar.html


Please let me know when i can upload numpy/1.23.5 to unstable.

Thanks,
Sandro

--- End Message ---
--- Begin Message ---
Hi Sandro

I should have closed this bug once numpy 1:1.23.5-2 migrated.  Doing
so now.  Please file a new bug for discussing 1.24.0.

On Mon, 26 Dec 2022 at 00:12, Sandro Tosi <mo...@debian.org> wrote:
> In the meantime, since upstream released it, i've uploaded
> numpy/1.24.0 to experimental and the autopkgtest results are
> https://qa.debian.org/excuses.php?experimental=1&package=numpy
>
> now, there's a lot of red in there but almost all of the errors come
> in the format of
>
>     AttributeError: module 'numpy' has no attribute 'X'
>
> with X being [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.

That's a lot of breakage, but good that the fix is straightforward.

> There are handful more errors in the form of:
>
>   * ValueError: setting an array element with a sequence. The
> requested array has an inhomogeneous shape after 1 dimensions. The
> detected shape was (2,) + inhomogeneous part.
>   * Too many indices for array: array is 0-dimensional, but 1 were indexed
>
> which will need to be looked at in more details, likely by individual
> projects upstream.

The sooner these bugs are filed, the better.

> This additional transition seems to be comfortably in the reach for
> Bullseye and will place us in a better position to get support from
> upstream. I also anticipate that a few more patch releases (fixing
> bugs etc) for the 1.24.x series will be published before Bullseye is
> released and we would like to update numpy to them in Debian if
> reasonable.

s/Bullseye/bookworm but agreed.

> Please let me know if i can proceed with a numpy upload to unstable.

Please let's wait for a bit on this one.  There's still a matplotlib
transition in flight (#1026119) that needs bugs filed and autopkgtests
fixed before it can migrate.  Let's aim to do this once the initial
rebuilds for Python 3.11 as default (#1026825) have been done.  In the
meantime, it would help if bugs were filed against the packages that
need updating for numpy 1.24.x.

Regards
Graham

--- End Message ---

Reply via email to