Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1230515 > unrolled thread
| Started by | Timo Röhling <roehling@debian.org> |
|---|---|
| First post | 2025-01-27 16:00 +0100 |
| Last post | 2025-02-27 23:30 +0100 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.debian.bugs.dist
Bug#1094364: lintian: outdated test for python3-numpy-abi Timo Röhling <roehling@debian.org> - 2025-01-27 16:00 +0100
Bug#1094364: lintian: outdated test for python3-numpy-abi Maytham Alsudany <maytha8thedev@gmail.com> - 2025-02-25 08:10 +0100
Bug#1094364: lintian: outdated test for python3-numpy-abi Adrian Bunk <bunk@debian.org> - 2025-02-27 23:30 +0100
| From | Timo Röhling <roehling@debian.org> |
|---|---|
| Date | 2025-01-27 16:00 +0100 |
| Subject | Bug#1094364: lintian: outdated test for python3-numpy-abi |
| Message-ID | <K9yKJ-cjKi-5@gated-at.bofh.it> |
Package: lintian
Version: 2.121.1
Severity: normal
Control: affects -1 src:numpy
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Dear maintainer,
with the new major version, the minor ABI counter has reset and the virtual
package for the NumPy ABI has been updated.
The check in lib/Lintian/Check/Binaries/Prerequisites/Numpy.pm should be
adjusted to python3?-numpy2?-abi\d+ (note the "2").
There is an additional wrinkle that the first ABI release of NumPy 2 is
backwards compatible with NumPy 1, so dh_numpy adds
Depends: python3-numpy2-abi0 | python3-numpy-abi9
at the moment. This will likely change again with future ABI bumps , but until
then, it invalidates lintian's assumption that the virtual ABI package should
not have alternatives.
Lastly, the explicit dependency on python3-numpy is no longer generated for
ABI dependent packages, so the check for strictly versioned dependencies on
python3-numpy is obsolete, too.
Cheers
Timo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEmwPruYMA35fCsSO/zIxr3RQD9MoFAmeXnKsACgkQzIxr3RQD
9MpFow/9GDvp43SPKJkAUtolm7dT9AWc3TOd8SU5l1uqQitvL6Ya3Lw5CtUpe/15
PaqHGMNjTX/yRQgz5NV0qbTuuWFZtP1yxWG3U+ER93xg8g8sUzOmE4K9gZ+dP0v2
jKszyk1pXiBWFk9I2SW3fShH4tpI0rvCoq/adiOnfs5TllVISrlVXKXumSskEfuE
VrG37HO1ZSs5x0RZJ/WEIbi/pVUh/DCpYq3s2rXOHfv2W0pxsfe6gfZdlcWGTdHq
lil8858c5ShoJEUVg2CW2EeMg1ZcsRxZidFPx2DL+3xDff/sfs9fPTVxXJC8Gdok
Mf/FetIxb3pWWAo7hLpSuDGfBAFAxrnrodnZANg9w7bUvH+lqXHky0RFLmhFAIq7
ZbEqvo2ki2Z+hntfCYCj5dRv+1hD1pLe+vKqOGe4yqZ/9kybVH0jk5C7O8O8fV5S
4CvHuyCvvAAMhknbVw587GlQ3J7eYClG1PALLEBNko1LhXGjFjmqmk8z3/Jn/XC1
e/WqPPLg1ewjaDfyAq+TwpEXvwA8Dszn/SqORIoXVoqEsIbcvD4okZCvyqIAeDKF
DeXuhCPZQbtw2SS8myp/s/WdjSVBkP5saoh869wr4N+flhTF+pSI7ZUblXqdvar3
p9Hk4wq6bBf2seVu6RoZjsjqDvlem+QtqKw4F6FlUg6N5mug7P8=
=E2I8
-----END PGP SIGNATURE-----
[toc] | [next] | [standalone]
| From | Maytham Alsudany <maytha8thedev@gmail.com> |
|---|---|
| Date | 2025-02-25 08:10 +0100 |
| Message-ID | <KjXeN-1PyK-13@gated-at.bofh.it> |
| In reply to | #1230515 |
[Multipart message — attachments visible in raw view] — view raw
Control: tags -1 + patch https://salsa.debian.org/lintian/lintian/-/merge_requests/566 -- Maytham
[toc] | [prev] | [next] | [standalone]
| From | Adrian Bunk <bunk@debian.org> |
|---|---|
| Date | 2025-02-27 23:30 +0100 |
| Message-ID | <KkUyd-2rf1-9@gated-at.bofh.it> |
| In reply to | #1230515 |
On Mon, Jan 27, 2025 at 03:48:12PM +0100, Timo Röhling wrote:
> Package: lintian
> Version: 2.121.1
> Severity: normal
> Control: affects -1 src:numpy
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Dear maintainer,
>
> with the new major version, the minor ABI counter has reset and the virtual
> package for the NumPy ABI has been updated.
>
> The check in lib/Lintian/Check/Binaries/Prerequisites/Numpy.pm should be
> adjusted to python3?-numpy2?-abi\d+ (note the "2").
>
> There is an additional wrinkle that the first ABI release of NumPy 2 is
> backwards compatible with NumPy 1, so dh_numpy adds
>
> Depends: python3-numpy2-abi0 | python3-numpy-abi9
>
> at the moment. This will likely change again with future ABI bumps , but until
> then, it invalidates lintian's assumption that the virtual ABI package should
> not have alternatives.
>
> Lastly, the explicit dependency on python3-numpy is no longer generated for
> ABI dependent packages, so the check for strictly versioned dependencies on
> python3-numpy is obsolete, too.
Not a regression but an old bug is that the
if ( $item->name=~ m{^usr/lib/(?:pyshared/)?python2\.\d+/.*(?<!_d)\.so$}
|| $item->name
=~ m{^ usr/lib/python3(?:[.]\d+)? / \S+ [.]cpython- \d+ - \S+ [.]so $}x
)
misses libraries like /usr/lib/x86_64-linux-gnu/libboost_numpy313.so.1.83.0
Since there is already an ELF check above, I'd suggest dropping this
filename check when updating the lintian check.
> Cheers
> Timo
cu
Adrian
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.dist
csiph-web