Package: src:python-pynndescent Version: 0.5.8-2 Severity: serious Tags: ftbfs
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules binary dh binary --with python3 --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild I: pybuild base:310: python3.12 setup.py config running config I: pybuild base:310: python3.11 setup.py config running config dh_auto_build -O--buildsystem=pybuild I: pybuild base:310: /usr/bin/python3.12 setup.py build running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pynndescent/build/pynndescent copying pynndescent/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pynndescent/build/pynndescent copying pynndescent/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pynndescent/build/pynndescent copying pynndescent/sparse.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pynndescent/build/pynndescent copying pynndescent/sparse_nndescent.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pynndescent/build/pynndescent copying pynndescent/graph_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pynndescent/build/pynndescent copying pynndescent/rp_trees.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pynndescent/build/pynndescent copying pynndescent/threaded_rp_trees.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pynndescent/build/pynndescent copying pynndescent/pynndescent_.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pynndescent/build/pynndescent copying pynndescent/distances.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pynndescent/build/pynndescent copying pynndescent/optimal_transport.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pynndescent/build/pynndescent I: pybuild base:310: /usr/bin/python3 setup.py build running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pynndescent/build/pynndescent copying pynndescent/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pynndescent/build/pynndescent copying pynndescent/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pynndescent/build/pynndescent copying pynndescent/sparse.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pynndescent/build/pynndescent copying pynndescent/sparse_nndescent.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pynndescent/build/pynndescent copying pynndescent/graph_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pynndescent/build/pynndescent copying pynndescent/rp_trees.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pynndescent/build/pynndescent copying pynndescent/threaded_rp_trees.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pynndescent/build/pynndescent copying pynndescent/pynndescent_.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pynndescent/build/pynndescent copying pynndescent/distances.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pynndescent/build/pynndescent copying pynndescent/optimal_transport.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pynndescent/build/pynndescent debian/rules override_dh_auto_test make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_test -- --system=custom --test-args="PYTHONPATH={build_dir} {interpreter} -m pytest -v /<<PKGBUILDDIR>>/pynndescent/tests" I: pybuild base:310: PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pynndescent/build python3.12 -m pytest -v /<<PKGBUILDDIR>>/pynndescent/tests ImportError while loading conftest '/<<PKGBUILDDIR>>/pynndescent/tests/conftest.py'. pynndescent/__init__.py:3: in <module> import numba /usr/lib/python3/dist-packages/numba/__init__.py:73: in <module> from numba.misc.special import ( /usr/lib/python3/dist-packages/numba/misc/special.py:3: in <module> from numba.core.typing.typeof import typeof /usr/lib/python3/dist-packages/numba/core/typing/__init__.py:1: in <module> from .context import BaseContext, Context /usr/lib/python3/dist-packages/numba/core/typing/context.py:11: in <module> from numba.core.typeconv import Conversion, rules /usr/lib/python3/dist-packages/numba/core/typeconv/rules.py:2: in <module> from .typeconv import TypeManager, TypeCastingRules /usr/lib/python3/dist-packages/numba/core/typeconv/typeconv.py:16: in <module> raise ImportError(msg) E ImportError: Numba could not be imported. E -------------------------------------------------------------------------------- E If you are seeing this message and are undertaking Numba development work, you may need to rebuild Numba. E Please see the development set up guide: E E https://numba.readthedocs.io/en/stable/developer/contributing.html. E E -------------------------------------------------------------------------------- E If you are not working on Numba development, the original error was: 'cannot import name '_typeconv' from 'numba.core.typeconv' (/usr/lib/python3/dist-packages/numba/core/typeconv/__init__.py)'. E For help, please visit: E E https://numba.readthedocs.io/en/stable/user/faq.html#numba-could-not-be-imported E: pybuild pybuild:395: test: plugin custom failed with: exit code=4: PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pynndescent/build python3.12 -m pytest -v /<<PKGBUILDDIR>>/pynndescent/tests I: pybuild base:310: PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pynndescent/build python3.11 -m pytest -v /<<PKGBUILDDIR>>/pynndescent/tests ImportError while loading conftest '/<<PKGBUILDDIR>>/pynndescent/tests/conftest.py'. pynndescent/__init__.py:22: in <module> __version__ = importlib_metadata.version("pynndescent") E importlib.metadata.PackageNotFoundError: No package metadata was found for pynndescent E: pybuild pybuild:395: test: plugin custom failed with: exit code=4: PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pynndescent/build python3.11 -m pytest -v /<<PKGBUILDDIR>>/pynndescent/tests dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" --system=custom "--test-args=PYTHONPATH={build_dir} {interpreter} -m pytest -v /<<PKGBUILDDIR>>/pynndescent/tests" returned exit code 13 make[1]: *** [debian/rules:11: override_dh_auto_test] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:7: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202312/ About the archive rebuild: The build was made using virtual machines from AWS, with enough memory, enough disk, and either one or two CPUs, using a reduced chroot with only build-essential packages. 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.