Bug#1086090: numba FTBFS with Python 3.13

Stefano Rivera stefanor at debian.org
Sat Oct 26 18:32:12 BST 2024


Source: numba
Version: 0.59.1+dfsg-3
Severity: normal
User: debian-python at lists.debian.org
Usertags: python3.13
Forwarded: https://github.com/numba/numba/issues/9413

This package failed build from source when test-built against a version of
python3-defaults that includes 3.13 as a supported version.

To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental. With all of the dependency C-extensions also
built for 3.13.

What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html

I'm sure you're well aware of the state of numba for 3.13, this bug is
mostly for team tracking purposes.

On the bright side, it looks like upstream is almost there, and if we
package a git snapshot with a few tests disabled, it should work.

Log snippet:


+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 3.0 (quilt)
Source: numba
Binary: python3-numba, numba-doc
Architecture: any all
Version: 0.59.1+dfsg-3
Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
Uploaders: Diane Trout <diane at ghic.org>
Homepage: https://numba.pydata.org/
Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/science-team/numba
Vcs-Git: https://salsa.debian.org/science-team/numba.git
Testsuite: autopkgtest
Testsuite-Triggers: c-compiler, gcc, gdb, python3-all-dev, python3-cffi, python3-ipykernel, python3-ipython, python3-pexpect, python3-pip, python3-pytest, python3-pytest-timeout, python3-pytest-xdist, python3-setuptools
Build-Depends: architecture-is-64-bit, debhelper-compat (= 13), dh-python, dh-sequence-sphinxdoc, libtbb-dev (>= 2021.4.0), llvmlite-doc <!nodoc>, python3-all-dev, python3-colorama (>= 0.3.9~), python3-doc <!nodoc>, python3-llvmlite (>= 0.42~), python3-numpy (>= 1:1.22), python3-numpydoc, python3-pip, python3-scipy, python3-setuptools, python3-sphinx-rtd-theme, python3-versioneer, sphinx
Package-List:
 numba-doc deb doc optional arch=all
 python3-numba deb python optional arch=any
Checksums-Sha1:
 eba774c93445482becc7d1bd07ae5fbf34bd39c4 1974940 numba_0.59.1+dfsg.orig.tar.xz
 78848f950019df03b4e2516a9c1a36e6831e4d4a 17496 numba_0.59.1+dfsg-3.debian.tar.xz
Checksums-Sha256:
 c958bf2dfb9f1ab1bbab7e1522d5c9bfda16a339c20bc1c3a9e74c369293114f 1974940 numba_0.59.1+dfsg.orig.tar.xz
 160b5d5b3c92d7b3a755daa9a19f67a1f6d151b69cd32bea2da2fa86df016a5c 17496 numba_0.59.1+dfsg-3.debian.tar.xz
Files:
 1db3ccfac856b07535825d19ec025b36 1974940 numba_0.59.1+dfsg.orig.tar.xz
 e6deada65cdb2f742ac767a5d4b37375 17496 numba_0.59.1+dfsg-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETQVcMeSBIEX5AQ11mQ04NnM013AFAmagHZ8ACgkQmQ04NnM0
13CPRA//TTgO1P06QT0eZGBEi5bB4GgWz1YE/Cafs2Av/QyuiVhMsgMcHFk8Y4et
Ymwz5ovBRc6njMz713/z1g8E8NQaEhpmJCjeQmFo3LLkvatXp0nhLdCY/NDQrph8
bp6LYnWn+B/w7Ur1V70FvFXxikkxfA1Ig8PeTGiwba8JyqK3kktAZ9oDWSFQMO38
RByrcRgZYijZRCFyyq3asC/mfWycltEhce9JxVuXI1Vr4DznA9qexPXNIoOxPAw1
SGLwtBJsr1p+PuNkHayBXeKaD2zru3UJIJJlF2VgwjBmRKYuFWkX28pSr7wc3TsF
7kC7maBHTenKtkPuIgyw2jYjvfFsi91kX7eQLZuugeJEd4bPca70DFMVIcsad7Nm
4HQ4ZhvISdQdBlVHJjevoD3dF/w+EXz+72z/cb7YpvDAKbE5wnXQTahA3Czf02xs
ZWtR+xp9M3oc5XVR7Qe1MeYAQAvb+5zSF1TzZdPt8ihTwv60DVdub+kn9YfjDa5W
fm1fAsFmVC0QDwY68/FZiJpEiSZREXLcGrNz1ssyXdM1aHP0370pINKnSOM0J7B+
/uU0OsnXb7LTmEoiQa7XMNFm1396NuN/x3G3G0Sz7OTTj5iCt99rfNB6vaARuspQ
31KK/ydeouL4qLrbwesO5scoXOTQuUFJ1OvdPrU6ATGoR+/wob0=
=WZnt
-----END PGP SIGNATURE-----

gpgv: Signature made Tue Jul 23 21:16:15 2024 UTC
gpgv:                using RSA key 4D055C31E4812045F9010D75990D38367334D770
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./numba_0.59.1+dfsg-3.dsc: no acceptable signature found
dpkg-source: info: extracting numba in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking numba_0.59.1+dfsg.orig.tar.xz
dpkg-source: info: unpacking numba_0.59.1+dfsg-3.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying use-local-intersphinx.patch
dpkg-source: info: applying no-git-in-generate_lower_listing.patch
dpkg-source: info: applying doc-no-git.patch
dpkg-source: info: applying 32bit_skip_64bit_hashing_tests.patch
dpkg-source: info: applying skip-armhf-tests-on-arm64.patch
dpkg-source: info: applying use-python3-test-nonsense-gdb-binary.patch
dpkg-source: info: applying add-test-tags.patch
dpkg-source: info: applying add-gdb-test-check.patch

Check disk space
----------------

Sufficient free space for build

Hack binNMU version
-------------------

Created changelog entry for binNMU version 0.59.1+dfsg-3+bd1

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=en_US.UTF-8
LC_ALL=C.UTF-8
LOGNAME=debusine-worker
OLDPWD=/
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PWD=/<<PKGBUILDDIR>>
SHELL=/bin/sh
USER=debusine-worker

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc -mDebusine Rebuild <debusine at example.net> -B -rfakeroot
dpkg-buildpackage: info: source package numba
dpkg-buildpackage: info: source version 0.59.1+dfsg-3+bd1
dpkg-buildpackage: info: source distribution sid
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean --with python3,sphinxdoc --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py clean 
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/setup.py", line 51, in <module>
    _guard_py_ver()
    ~~~~~~~~~~~~~^^
  File "/<<PKGBUILDDIR>>/setup.py", line 48, in _guard_py_ver
    raise RuntimeError(msg.format(cur_py, min_py, max_py))
RuntimeError: Cannot install on Python version 3.13.0; only versions >=3.9,<3.13 are supported.
E: pybuild pybuild:389: clean: plugin distutils failed with: exit code=1: python3.13 setup.py clean 
dh_auto_clean: error: pybuild --clean -i python{version} -p "3.13 3.12" returned exit code 13
make: *** [debian/rules:14: clean] Error 25
dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-10-26T17:11:57Z


If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/892440/

This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as a supported version, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.

Thanks,

Stefano



More information about the debian-science-maintainers mailing list