#1149311 python3-pot: Failing tests on 32 bit architectures indiciative of poor 32 bit support in general #1149311
- Package:
- python3-pot
- Source:
- python3-pot
- Description:
- Python optimal transport library
- Submitter:
- Gard Spreemann
- Date:
- 2026-10-05 07:45:56 UTC
- Severity:
- normal
- Tags:
The package currently fails its test on i386 and armhf. The culprit is the cython function partial_wasserstein_1d_cy (defined in ot/partial/partial_cython.pyx), which tries to store the return type of np.argsort as an ndarray with entries of type np.int64_t. I believe the array returned by argsort has 32 bit entries on those architectures. While this particular instance of the problem should be easy to fix in order to make the test pass, upstream has in the past indicated [1] that they have no desire to support 32 bit platforms. It is therefore likely that the same type of issue exists elsewhere in parts of the code that don't undergo autopkgtests. Fixing the test would then likely just be papering over real issues. Unless someone has good motivation to tackle the issue holistically, or to convince upstream to take these platforms seriously, I suggest we drop 32 bit architectures for this package going forward. [1] https://github.com/PythonOT/POT/issues/521 Best, Gard
We believe that the bug you reported is fixed in the latest version of python-pot, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1149311@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Gard Spreemann <gspr@nonempty.org> (supplier of updated python-pot package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Mon, 05 Oct 2026 09:18:13 +0200 Source: python-pot Architecture: source Version: 0.9.7+dfsg-2 Distribution: unstable Urgency: medium Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org> Changed-By: Gard Spreemann <gspr@nonempty.org> Closes: 1149311 Changes: python-pot (0.9.7+dfsg-2) unstable; urgency=medium . * Restrict to 64 bit architectures. (Closes: #1149311) Checksums-Sha1: 27c230aebf420af21bc6a4be694746a7a6423125 2267 python-pot_0.9.7+dfsg-2.dsc dc82b57491c35e1855ee0978f8166c01a58b0d8f 7928 python-pot_0.9.7+dfsg-2.debian.tar.xz 52f45f32191511978ebed2d9b1931a4f3f9b1c9c 7438 python-pot_0.9.7+dfsg-2_source.buildinfo Checksums-Sha256: 59cffbf0ccc1a6b0a8350dfa258a66c0f3da9b2e5e1bebc11ab6e1c667b3adb6 2267 python-pot_0.9.7+dfsg-2.dsc 33125ae942d9f3dd20a58ad14c7a85d5403ea1b31a9469f70641f3f94b377841 7928 python-pot_0.9.7+dfsg-2.debian.tar.xz f9305905743155a3b7bad9e231c19484f2e807f3b20801fb06028825069ac01a 7438 python-pot_0.9.7+dfsg-2_source.buildinfo Files: 814fb4839733d362b60691f2c8bc63d3 2267 python optional python-pot_0.9.7+dfsg-2.dsc ea4a0be4fa4a6a8c282d71444ccfae71 7928 python optional python-pot_0.9.7+dfsg-2.debian.tar.xz 3fe0adebb54f28aa3f95a9ea3cb1e323 7438 python optional python-pot_0.9.7+dfsg-2_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJGBAEBCgAwFiEEz8XvhRCFHnNVtV6AnRFYKv1UjPoFAmrDT8QSHGdzcHJAbm9u ZW1wdHkub3JnAAoJEJ0RWCr9VIz6CRwQAMrO1S+JbN2hapnZl/hrUqabuh9kVJjf VNm4AXtKsfrV0ozedj98d8+KH7uJcClA1SrWL1RuN6+ZQrKiYEBs6xVy1W7s+8P8 T9M2Q0U0QNEmO0Jy4JWSJQCFo+r1J98Es1tkXRvun7xKJNGLHckJMaTkEvvQVP0W /3Irh5oOcxLPmZR9FornDHO4PTgwstcKE4/7U6EnQU/Iq2NmOKC/lvEWIdi44WGw MQvcP3sHpdgTQWIfbprrg4GNN2Zbjx5JVIWCqgvIwmqmvktIM4sZwC4Z5Q0htkKd 4mpu4410QYyvQClnK/N6kN6yF4X2VkIFXByFpLZHL67owl/MuO6OOxV6anEUmE+F ArH6c9hRFhSQk1AaIiVbrBH3vVMk2DWqSsVfO5lIpTOb520G/NtJ9BaAzBF19YSc ZaCJkbT+5kx28MrVRKgVvZ49dRJL5DVdGXXHQxYMFhuUp5DSVljvYHdPBMo2GXzC QWLfZ4MpttE/EnZ+StI9jD/KJ2TCTAPsmzNRniEdKQ3A5N5Ttl6CBiYBT5V65MDq f7Tr5nz4gF4qBjU7rxoEoPYkh66xNeka7e/4tMiw/87nbJlq3dbPdKAlqasYf6iJ 8RCdNW5Z9JkJCgIiVoGUVa12JLGDSgFw47Pi78baZMrrJ3UODgOEMz5llv3AivJV ALd+K4NPDN3B =68Kp -----END PGP SIGNATURE-----