Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1235372

Bug#1094364: lintian: outdated test for python3-numpy-abi

From Adrian Bunk <bunk@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1094364: lintian: outdated test for python3-numpy-abi
Date 2025-02-27 23:30 +0100
Message-ID <KkUyd-2rf1-9@gated-at.bofh.it> (permalink)
References <K9yKJ-cjKi-5@gated-at.bofh.it> <K9yKJ-cjKi-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

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

csiph-web