Package: src:python-cogent Version: 2022.8.24a1+dfsg-1 Severity: serious Tags: ftbfs
Dear maintainer: During a rebuild of all packages in bookworm, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules binary-indep dh binary-indep --with python3 --buildsystem=pybuild dh_update_autotools_config -i -O--buildsystem=pybuild dh_autoreconf -i -O--buildsystem=pybuild [...] Traceback: /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) test_evolve/test_coevolution.py:27: in <module> from cogent3.evolve.coevolution import ( ../cogent3/evolve/coevolution.py:50: in <module> from numpy import ( E ImportError: cannot import name 'float' from 'numpy' (/usr/lib/python3/dist-packages/numpy/__init__.py) =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/llvmlite/binding/ffi.py:159 /usr/lib/python3/dist-packages/llvmlite/binding/ffi.py:159: DeprecationWarning: path is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice. _lib_handle = importlib.resources.path(pkgname, _lib_name) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ ERROR tests/test_evolve/test_coevolution.py !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ================== 5 deselected, 1 warning, 1 error in 11.16s ================== E: pybuild pybuild:388: test: plugin flit failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cogent3/build; python3.11 -m pytest -k 'not test_pickleable_member_roundtrip and not test_pickleable_roundtrip' dh_auto_test: error: pybuild --test -i python{version} -p 3.11 returned exit code 13 make: *** [debian/rules:22: binary-indep] Error 25 dpkg-buildpackage: error: debian/rules binary-indep subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends but I believe it's also the most relevant part. A very similar error happens here: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-cogent.html --------------------------------------------------------------------- About the archive rebuild: The build was made using virtual machines from Hetzner, with enough memory, enough disk, and either one or two CPUs, using a reduced chroot with only build-essential packages (plus debhelper). If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks.