Discussion:
Bug#1082237: transition: numpy 2
Add Reply
Timo Röhling
2024-09-19 13:30:01 UTC
Reply
Permalink
Package: release.debian.org
Severity: normal
X-Debbugs-Cc: ***@packages.debian.org
Control: affects -1 + src:numpy
User: ***@packages.debian.org
Usertags: transition

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear Release Team,

I'd like to transition NumPy 2 and rebuild all binary Python extensions
against the new version. The current NumPy 2 release is backwards compatible
with NumPy 1, i.e., extensions built against NumPy 2 will continue to work
with NumPy 1.24.x (but not the other way around).

Therefore old binary packages will have "Depends: python3-numpy-abi9", and
rebuilt binary packages will have "Depends: python3-numpy2-abi0 |
python3-numpy-abi9".

Below is a suggested Ben file which looked okay when I tested it locally.
I may have missed some subtle problems though as this is my first hand-written
rule set.


title = "NumPy 2";
is_affected = .depends ~ /\bpython3-numpy2?-abi[0-9]+\b/
is_good = .depends ~ /\bpython3-numpy2-abi0\b/;
is_bad = .depends ~ /\bpython3-numpy-abi[0-9]+\b/ & ! .depends ~ /\bpython3-numpy2-abi0\b/;


Cheers
Timo
Debian Bug Tracking System
2024-09-19 13:30:01 UTC
Reply
Permalink
Post by Timo Röhling
affects -1 + src:numpy
Bug #1082237 [release.debian.org] transition: numpy 2
Added indication that 1082237 affects src:numpy
--
1082237: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082237
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Timo Röhling
2024-12-15 15:20:01 UTC
Reply
Permalink
Hi,

On Thu, 19 Sep 2024 15:24:34 +0200 =?utf-8?q?Timo_R=C3=B6hling?=
Post by Timo Röhling
Dear Release Team,
I'd like to transition NumPy 2 and rebuild all binary Python
extensions against the new version.
This bug is three months old now. I don't mind waiting if the
Release Team has its hands full elsewhere, so consider this a polite
ping just to make sure that the transition is not falling through
the cracks.


Cheers
Timo
--
⢀⣎⠟⠻⢶⣊⠀ ╭────────────────────────────────────────────────────╮
⣟⠁⢠⠒⠀⣿⡁ │ Timo Röhling │
⢿⡄⠘⠷⠚⠋⠀ │ 9B03 EBB9 8300 DF97 C2B1 23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀ ╰────────────────────────────────────────────────────╯
Timo Röhling
2024-12-15 21:30:02 UTC
Reply
Permalink
Hi Bas,
The numpy2 transition is entangled with the python3.13-add
transition.
https://qa.debian.org/excuses.php?package=python3-defaults
The numpy2 transition will likewise be affected.
Thank you for the quick reply, and I'll see what I can do to help
with the Python 3.13 transition.

Cheers
Timo
--
⢀⣎⠟⠻⢶⣊⠀ ╭────────────────────────────────────────────────────╮
⣟⠁⢠⠒⠀⣿⡁ │ Timo Röhling │
⢿⡄⠘⠷⠚⠋⠀ │ 9B03 EBB9 8300 DF97 C2B1 23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀ ╰────────────────────────────────────────────────────╯
Alastair McKinstry
2024-12-16 14:40:01 UTC
Reply
Permalink
Post by Timo Röhling
On Thu, 19 Sep 2024 15:24:34 +0200 =?utf-8?q?Timo_R=C3=B6hling?=
Post by Timo Röhling
I'd like to transition NumPy 2 and rebuild all binary Python
extensions against the new version.
This bug is three months old now. I don't mind waiting if the Release
Team has its hands full elsewhere, so consider this a polite ping
just to make sure that the transition is not falling through the cracks.
The numpy2 transition is entangled with the python3.13-add transition.
python3-defaults still hasn't migrated to testing for the latter due
 https://qa.debian.org/excuses.php?package=python3-defaults
The numpy2 transition will likewise be affected.
Kind Regards,
Bas
mpich is currently  a blocker  but there is a fix I'm currently
testing.          Hope to upload today.

Alastair
--
Alastair McKinstry,
GPG: 82383CE9165B347C787081A2CBE6BB4E5D9AD3A5
e: ***@mckinstry.ie, im: @alastair:mckinstry.ie @***@mastodon.ie

Commander Vimes didn’t like the phrase “The innocent have nothing to fear,”
believing the innocent had everything to fear, mostly from the guilty but in the longer term
even more from those who say things like “The innocent have nothing to fear.”
- T. Pratchett, Snuff
Alexandre Detiste
2025-01-19 16:50:01 UTC
Reply
Permalink
Hi,

I uploaded 1:1.26.4+ds-13 that does absolutely nothing but removing
the extraneous dependency on python3-pkg-resources
that Numpy don't need for itself.

That made a 10-something reverse dependencies unhappy,
https://qa.debian.org/excuses.php?package=numpy

I fixed all of those, will help for python-pbcommand from Colin.

I filed a RC bug against python-pyspike
Someone can NMU it if they want, I'll be on VAC from tomorrow.

The good news is that it means less stuff will break
when we we'll do the proper Numpy 2.x transition.

Greetings

Alexandre
Timo Röhling
2025-01-21 12:40:01 UTC
Reply
Permalink
Hi Alexandre,
Post by Alexandre Detiste
I uploaded 1:1.26.4+ds-13 that does absolutely nothing but removing
the extraneous dependency on python3-pkg-resources that Numpy don't
need for itself.
Thanks for the heads-up!
Post by Alexandre Detiste
That made a 10-something reverse dependencies unhappy,
https://qa.debian.org/excuses.php?package=numpy
I'm not surprised, underspecifying dependencies is a very easy
mistake to make. Quite a few autopkgtests broke when numpy stopped
depending on python3-all...
Post by Alexandre Detiste
I fixed all of those, will help for python-pbcommand from Colin.
Thanks again, much appreciated!
Post by Alexandre Detiste
I filed a RC bug against python-pyspike
Someone can NMU it if they want, I'll be on VAC from tomorrow.
I see you did that already, too :)
Post by Alexandre Detiste
The good news is that it means less stuff will break
when we we'll do the proper Numpy 2.x transition.
Yeah, definitely. If you happen to spot anything else that might be
an issue with the transition later, please let me know.

Cheers
Timo
--
⢀⣎⠟⠻⢶⣊⠀ ╭────────────────────────────────────────────────────╮
⣟⠁⢠⠒⠀⣿⡁ │ Timo Röhling │
⢿⡄⠘⠷⠚⠋⠀ │ 9B03 EBB9 8300 DF97 C2B1 23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀ ╰────────────────────────────────────────────────────╯
Debian Bug Tracking System
2025-01-26 16:40:01 UTC
Reply
Permalink
tags -1 confirmed
Bug #1082237 [release.debian.org] transition: numpy 2
Added tag(s) confirmed.
--
1082237: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082237
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...