Timo Röhling
2024-09-19 13:30:01 UTC
Reply
PermalinkSeverity: 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