Thanks for pointing this out, Marc!

Stupid oversight on my part. Uploading a fix with the ABI dependency
now.


 Best,
 Gard

Marc Glisse <marc.gli...@normalesup.org> writes:

> Package: python3-pot
> Version: 0.8.0+dfsg-2+b1
> Severity: normal
>
> Dear Maintainer,
>
> trying to use POT, I see
>
> $ python3
> Python 3.9.9 (main, Nov 16 2021, 10:24:31)
> [GCC 11.2.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import ot
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib/python3/dist-packages/ot/__init__.py", line 26, in <module>
>     from . import lp
>   File "/usr/lib/python3/dist-packages/ot/lp/__init__.py", line 22, in 
> <module>
>     from .emd_wrap import emd_c, check_result, emd_1d_sorted
>   File "ot/lp/emd_wrap.pyx", line 1, in init ot.lp.emd_wrap
> ValueError: numpy.ndarray size changed, may indicate binary incompatibility. 
> Expected 88 from C header, got 80 from PyObject
>
> Maybe this package needs a dependency like python3-numpy-abi9? I am
> surprised lintian doesn't report missing-dependency-on-numpy-abi for
> this package if that's the case.
>
> -- System Information:
> Debian Release: bookworm/sid
>   APT prefers testing-debug
>   APT policy: (500, 'testing-debug'), (500, 'stable-security'), (500, 
> 'stable-debug'), (500, 'testing'), (500, 'stable'), (50, 'unstable-debug'), 
> (50, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 5.15.0-1-amd64 (SMP w/16 CPU threads)
> Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not 
> set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages python3-pot depends on:
> ii  libc6          2.32-4
> ii  libgcc-s1      11.2.0-10
> ii  libgomp1       11.2.0-10
> ii  libstdc++6     11.2.0-10
> ii  python3        3.9.7-1
> ii  python3-numpy  1:1.19.5-1
> ii  python3-scipy  1.7.1-2
>
> Versions of packages python3-pot recommends:
> ii  python3-sklearn  0.23.2-5
>
> python3-pot suggests no packages.
>
> -- no debconf information

Attachment: signature.asc
Description: PGP signature

Reply via email to