Package: src:python-pynndescent Version: 0.5.11-1 Severity: serious Tags: ftbfs
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild I: pybuild base:311: python3.13 setup.py config /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running config I: pybuild base:311: python3.12 setup.py config /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running config debian/rules override_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' sed -i "s/^__version__.*/__version__ = '0.5.11'/" pynndescent/__init__.py dh_auto_build I: pybuild base:311: /usr/bin/python3.13 setup.py build /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pynndescent/build/pynndescent copying pynndescent/sparse.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pynndescent/build/pynndescent copying pynndescent/distances.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pynndescent/build/pynndescent copying pynndescent/rp_trees.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pynndescent/build/pynndescent copying pynndescent/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pynndescent/build/pynndescent copying pynndescent/graph_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pynndescent/build/pynndescent copying pynndescent/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pynndescent/build/pynndescent copying pynndescent/sparse_nndescent.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pynndescent/build/pynndescent copying pynndescent/threaded_rp_trees.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pynndescent/build/pynndescent copying pynndescent/pynndescent_.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pynndescent/build/pynndescent copying pynndescent/optimal_transport.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pynndescent/build/pynndescent I: pybuild base:311: /usr/bin/python3 setup.py build /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pynndescent/build/pynndescent copying pynndescent/sparse.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pynndescent/build/pynndescent copying pynndescent/distances.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pynndescent/build/pynndescent copying pynndescent/rp_trees.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pynndescent/build/pynndescent copying pynndescent/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pynndescent/build/pynndescent copying pynndescent/graph_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_nndescent.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/optimal_transport.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pynndescent/build/pynndescent make[1]: Leaving directory '/<<PKGBUILDDIR>>' 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:311: PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pynndescent/build python3.13 -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:74: 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:389: test: plugin custom failed with: exit code=4: PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pynndescent/build python3.13 -m pytest -v /<<PKGBUILDDIR>>/pynndescent/tests I: pybuild base:311: PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pynndescent/build python3.12 -m pytest -v /<<PKGBUILDDIR>>/pynndescent/tests ============================= test session starts ============================== platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0 -- /usr/bin/python3.12 cachedir: .pytest_cache rootdir: /<<PKGBUILDDIR>> plugins: typeguard-4.4.1 collecting ... collected 143 items pynndescent/tests/test_distances.py::test_spatial_check[euclidean] PASSED [ 0%] pynndescent/tests/test_distances.py::test_spatial_check[manhattan] PASSED [ 1%] pynndescent/tests/test_distances.py::test_spatial_check[chebyshev] PASSED [ 2%] pynndescent/tests/test_distances.py::test_spatial_check[minkowski] PASSED [ 2%] pynndescent/tests/test_distances.py::test_spatial_check[hamming] PASSED [ 3%] pynndescent/tests/test_distances.py::test_spatial_check[canberra] PASSED [ 4%] pynndescent/tests/test_distances.py::test_spatial_check[braycurtis] PASSED [ 4%] pynndescent/tests/test_distances.py::test_spatial_check[cosine] PASSED [ 5%] pynndescent/tests/test_distances.py::test_spatial_check[correlation] PASSED [ 6%] pynndescent/tests/test_distances.py::test_binary_check[jaccard] PASSED [ 6%] pynndescent/tests/test_distances.py::test_binary_check[matching] PASSED [ 7%] pynndescent/tests/test_distances.py::test_binary_check[dice] PASSED [ 8%] pynndescent/tests/test_distances.py::test_binary_check[rogerstanimoto] PASSED [ 9%] pynndescent/tests/test_distances.py::test_binary_check[russellrao] PASSED [ 9%] pynndescent/tests/test_distances.py::test_binary_check[sokalmichener] PASSED [ 10%] pynndescent/tests/test_distances.py::test_binary_check[sokalsneath] PASSED [ 11%] pynndescent/tests/test_distances.py::test_binary_check[yule] PASSED [ 11%] pynndescent/tests/test_distances.py::test_sparse_spatial_check[euclidean] PASSED [ 12%] pynndescent/tests/test_distances.py::test_sparse_spatial_check[manhattan] PASSED [ 13%] pynndescent/tests/test_distances.py::test_sparse_spatial_check[chebyshev] PASSED [ 13%] pynndescent/tests/test_distances.py::test_sparse_spatial_check[minkowski] PASSED [ 14%] pynndescent/tests/test_distances.py::test_sparse_spatial_check[hamming] PASSED [ 15%] pynndescent/tests/test_distances.py::test_sparse_spatial_check[canberra] PASSED [ 16%] pynndescent/tests/test_distances.py::test_sparse_spatial_check[cosine] PASSED [ 16%] pynndescent/tests/test_distances.py::test_sparse_spatial_check[braycurtis] PASSED [ 17%] pynndescent/tests/test_distances.py::test_sparse_spatial_check[correlation] PASSED [ 18%] pynndescent/tests/test_distances.py::test_sparse_binary_check[jaccard] PASSED [ 18%] pynndescent/tests/test_distances.py::test_sparse_binary_check[matching] PASSED [ 19%] pynndescent/tests/test_distances.py::test_sparse_binary_check[dice] PASSED [ 20%] pynndescent/tests/test_distances.py::test_sparse_binary_check[rogerstanimoto] PASSED [ 20%] pynndescent/tests/test_distances.py::test_sparse_binary_check[russellrao] PASSED [ 21%] pynndescent/tests/test_distances.py::test_sparse_binary_check[sokalmichener] PASSED [ 22%] pynndescent/tests/test_distances.py::test_sparse_binary_check[sokalsneath] PASSED [ 23%] pynndescent/tests/test_distances.py::test_seuclidean PASSED [ 23%] pynndescent/tests/test_distances.py::test_weighted_minkowski SKIPPED [ 24%] pynndescent/tests/test_distances.py::test_mahalanobis PASSED [ 25%] pynndescent/tests/test_distances.py::test_haversine PASSED [ 25%] pynndescent/tests/test_distances.py::test_spearmanr PASSED [ 26%] pynndescent/tests/test_distances.py::test_alternative_distances PASSED [ 27%] pynndescent/tests/test_distances.py::test_jensen_shannon PASSED [ 27%] pynndescent/tests/test_distances.py::test_sparse_jensen_shannon PASSED [ 28%] pynndescent/tests/test_distances.py::test_wasserstein_1d[1.0] PASSED [ 29%] pynndescent/tests/test_distances.py::test_wasserstein_1d[2.0] PASSED [ 30%] pynndescent/tests/test_distances.py::test_wasserstein_1d[3.0] PASSED [ 30%] pynndescent/tests/test_distances.py::test_wasserstein_1d[0.5] PASSED [ 31%] pynndescent/tests/test_pynndescent_.py::test_nn_descent_neighbor_accuracy PASSED [ 32%] pynndescent/tests/test_pynndescent_.py::test_angular_nn_descent_neighbor_accuracy PASSED [ 32%] pynndescent/tests/test_pynndescent_.py::test_sparse_nn_descent_neighbor_accuracy PASSED [ 33%] pynndescent/tests/test_pynndescent_.py::test_sparse_angular_nn_descent_neighbor_accuracy PASSED [ 34%] pynndescent/tests/test_pynndescent_.py::test_nn_descent_query_accuracy PASSED [ 34%] pynndescent/tests/test_pynndescent_.py::test_nn_descent_query_accuracy_angular PASSED [ 35%] pynndescent/tests/test_pynndescent_.py::test_sparse_nn_descent_query_accuracy PASSED [ 36%] pynndescent/tests/test_pynndescent_.py::test_sparse_nn_descent_query_accuracy_angular PASSED [ 37%] pynndescent/tests/test_pynndescent_.py::test_transformer_equivalence PASSED [ 37%] pynndescent/tests/test_pynndescent_.py::test_random_state_none PASSED [ 38%] pynndescent/tests/test_pynndescent_.py::test_deterministic PASSED [ 39%] pynndescent/tests/test_pynndescent_.py::test_rp_trees_should_not_stack_overflow_with_duplicate_data PASSED [ 39%] pynndescent/tests/test_pynndescent_.py::test_deduplicated_data_behaves_normally PASSED [ 40%] pynndescent/tests/test_pynndescent_.py::test_rp_trees_should_not_stack_overflow_with_near_duplicate_data PASSED [ 41%] pynndescent/tests/test_pynndescent_.py::test_output_when_verbose_is_true PASSED [ 41%] pynndescent/tests/test_pynndescent_.py::test_no_output_when_verbose_is_false PASSED [ 42%] pynndescent/tests/test_pynndescent_.py::test_transformer_output_when_verbose_is_true PASSED [ 43%] pynndescent/tests/test_pynndescent_.py::test_transformer_output_when_verbose_is_false PASSED [ 44%] pynndescent/tests/test_pynndescent_.py::test_pickle_unpickle PASSED [ 44%] pynndescent/tests/test_pynndescent_.py::test_compressed_pickle_unpickle PASSED [ 45%] pynndescent/tests/test_pynndescent_.py::test_transformer_pickle_unpickle PASSED [ 46%] pynndescent/tests/test_pynndescent_.py::test_joblib_dump PASSED [ 46%] pynndescent/tests/test_pynndescent_.py::test_update_no_prepare_query_accuracy[euclidean] PASSED [ 47%] pynndescent/tests/test_pynndescent_.py::test_update_no_prepare_query_accuracy[cosine] PASSED [ 48%] pynndescent/tests/test_pynndescent_.py::test_update_w_prepare_query_accuracy[euclidean] PASSED [ 48%] pynndescent/tests/test_pynndescent_.py::test_update_w_prepare_query_accuracy[cosine] PASSED [ 49%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[0-manhattan] PASSED [ 50%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[0-euclidean] PASSED [ 51%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[0-cosine] PASSED [ 51%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[1-manhattan] PASSED [ 52%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[1-euclidean] PASSED [ 53%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[1-cosine] PASSED [ 53%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[2-manhattan] PASSED [ 54%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[2-euclidean] PASSED [ 55%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[2-cosine] PASSED [ 55%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[3-manhattan] PASSED [ 56%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[3-euclidean] PASSED [ 57%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[3-cosine] PASSED [ 58%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[4-manhattan] PASSED [ 58%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[4-euclidean] PASSED [ 59%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[4-cosine] PASSED [ 60%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[5-manhattan] PASSED [ 60%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[5-euclidean] PASSED [ 61%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[5-cosine] PASSED [ 62%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[6-manhattan] PASSED [ 62%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[6-euclidean] PASSED [ 63%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[6-cosine] PASSED [ 64%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[7-manhattan] PASSED [ 65%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[7-euclidean] PASSED [ 65%] pynndescent/tests/test_pynndescent_.py::test_update_with_changed_data[7-cosine] PASSED [ 66%] pynndescent/tests/test_pynndescent_.py::test_tree_numbers_after_multiple_updates[1] PASSED [ 67%] pynndescent/tests/test_pynndescent_.py::test_tree_numbers_after_multiple_updates[2] PASSED [ 67%] pynndescent/tests/test_pynndescent_.py::test_tree_numbers_after_multiple_updates[3] PASSED [ 68%] pynndescent/tests/test_pynndescent_.py::test_tree_numbers_after_multiple_updates[10] PASSED [ 69%] pynndescent/tests/test_pynndescent_.py::test_tree_init_false[euclidean] PASSED [ 69%] pynndescent/tests/test_pynndescent_.py::test_tree_init_false[cosine] PASSED [ 70%] pynndescent/tests/test_pynndescent_.py::test_one_dimensional_data[euclidean] PASSED [ 71%] pynndescent/tests/test_pynndescent_.py::test_one_dimensional_data[manhattan] PASSED [ 72%] pynndescent/tests/test_pynndescent_.py::test_tree_no_split[euclidean] PASSED [ 72%] pynndescent/tests/test_pynndescent_.py::test_tree_no_split[cosine] PASSED [ 73%] pynndescent/tests/test_pynndescent_.py::test_bad_data PASSED [ 74%] pynndescent/tests/test_rank.py::test_empty PASSED [ 74%] pynndescent/tests/test_rank.py::test_one PASSED [ 75%] pynndescent/tests/test_rank.py::test_basic PASSED [ 76%] pynndescent/tests/test_rank.py::test_rankdata_object_string PASSED [ 76%] pynndescent/tests/test_rank.py::test_large_int PASSED [ 77%] pynndescent/tests/test_rank.py::test_big_tie PASSED [ 78%] pynndescent/tests/test_rank.py::test_cases[values0-average-expected0] PASSED [ 79%] pynndescent/tests/test_rank.py::test_cases[values1-min-expected1] PASSED [ 79%] pynndescent/tests/test_rank.py::test_cases[values2-max-expected2] PASSED [ 80%] pynndescent/tests/test_rank.py::test_cases[values3-dense-expected3] PASSED [ 81%] pynndescent/tests/test_rank.py::test_cases[values4-ordinal-expected4] PASSED [ 81%] pynndescent/tests/test_rank.py::test_cases[values5-average-expected5] PASSED [ 82%] pynndescent/tests/test_rank.py::test_cases[values6-min-expected6] PASSED [ 83%] pynndescent/tests/test_rank.py::test_cases[values7-max-expected7] PASSED [ 83%] pynndescent/tests/test_rank.py::test_cases[values8-dense-expected8] PASSED [ 84%] pynndescent/tests/test_rank.py::test_cases[values9-ordinal-expected9] PASSED [ 85%] pynndescent/tests/test_rank.py::test_cases[values10-average-expected10] PASSED [ 86%] pynndescent/tests/test_rank.py::test_cases[values11-min-expected11] PASSED [ 86%] pynndescent/tests/test_rank.py::test_cases[values12-max-expected12] PASSED [ 87%] pynndescent/tests/test_rank.py::test_cases[values13-dense-expected13] PASSED [ 88%] pynndescent/tests/test_rank.py::test_cases[values14-ordinal-expected14] PASSED [ 88%] pynndescent/tests/test_rank.py::test_cases[values15-average-expected15] PASSED [ 89%] pynndescent/tests/test_rank.py::test_cases[values16-min-expected16] PASSED [ 90%] pynndescent/tests/test_rank.py::test_cases[values17-max-expected17] PASSED [ 90%] pynndescent/tests/test_rank.py::test_cases[values18-dense-expected18] PASSED [ 91%] pynndescent/tests/test_rank.py::test_cases[values19-ordinal-expected19] PASSED [ 92%] pynndescent/tests/test_rank.py::test_cases[values20-average-expected20] PASSED [ 93%] pynndescent/tests/test_rank.py::test_cases[values21-min-expected21] PASSED [ 93%] pynndescent/tests/test_rank.py::test_cases[values22-max-expected22] PASSED [ 94%] pynndescent/tests/test_rank.py::test_cases[values23-dense-expected23] PASSED [ 95%] pynndescent/tests/test_rank.py::test_cases[values24-ordinal-expected24] PASSED [ 95%] pynndescent/tests/test_rank.py::test_cases[values25-average-expected25] PASSED [ 96%] pynndescent/tests/test_rank.py::test_cases[values26-min-expected26] PASSED [ 97%] pynndescent/tests/test_rank.py::test_cases[values27-max-expected27] PASSED [ 97%] pynndescent/tests/test_rank.py::test_cases[values28-dense-expected28] PASSED [ 98%] pynndescent/tests/test_rank.py::test_cases[values29-ordinal-expected29] PASSED [ 99%] pynndescent/tests/test_rank.py::test_cases[values30-ordinal-expected30] PASSED [100%] ================== 142 passed, 1 skipped in 196.44s (0:03:16) ================== dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.12" --system=custom "--test-args=PYTHONPATH={build_dir} {interpreter} -m pytest -v /<<PKGBUILDDIR>>/pynndescent/tests" returned exit code 13 make[1]: *** [debian/rules:18: override_dh_auto_test] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:9: 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/202412/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and 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.