[Debian-med-packaging] Bug#1030907: umap-learn: FTBFS (failing tests)

Santiago Vila sanvila at debian.org
Wed Feb 8 23:50:45 GMT 2023


Package: src:umap-learn
Version: 0.4.5+dfsg-3
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
    dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:240: python3.11 setup.py config
running config
    dh_auto_build -i -O--buildsystem=pybuild
I: pybuild base:240: /usr/bin/python3 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/umap
copying umap/spectral.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/umap
copying umap/sparse_nndescent.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/umap

[... snipped ...]

FAILED umap/tests/test_umap_nn.py::test_sparse_nn_search - numba.core.errors....
FAILED umap/tests/test_umap_on_iris.py::test_initialized_umap_trustworthiness_on_iris
FAILED umap/tests/test_umap_on_iris.py::test_umap_trustworthiness_on_sphere_iris
FAILED umap/tests/test_umap_on_iris.py::test_umap_transform_on_iris - numba.c...
FAILED umap/tests/test_umap_on_iris.py::test_umap_transform_on_iris_modified_dtype
FAILED umap/tests/test_umap_on_iris.py::test_umap_sparse_transform_on_iris - ...
FAILED umap/tests/test_umap_ops.py::test_blobs_cluster - numba.core.errors.Lo...
FAILED umap/tests/test_umap_ops.py::test_multi_component_layout - numba.core....
FAILED umap/tests/test_umap_ops.py::test_umap_transform_embedding_stability
FAILED umap/tests/test_umap_repeated_data.py::test_repeated_points_large_sparse_spatial
FAILED umap/tests/test_umap_repeated_data.py::test_repeated_points_small_sparse_spatial
FAILED umap/tests/test_umap_repeated_data.py::test_repeated_points_large_dense_spatial
FAILED umap/tests/test_umap_repeated_data.py::test_repeated_points_small_dense_spatial
FAILED umap/tests/test_umap_repeated_data.py::test_repeated_points_large_sparse_binary
FAILED umap/tests/test_umap_repeated_data.py::test_repeated_points_small_sparse_binary
FAILED umap/tests/test_umap_repeated_data.py::test_repeated_points_large_dense_binary
FAILED umap/tests/test_umap_repeated_data.py::test_repeated_points_small_dense_binary
FAILED umap/tests/test_umap_repeated_data.py::test_repeated_points_large_n - ...
FAILED umap/tests/test_umap_trustworthiness.py::test_umap_sparse_trustworthiness
FAILED umap/tests/test_umap_trustworthiness.py::test_umap_trustworthiness_fast_approx
FAILED umap/tests/test_umap_trustworthiness.py::test_umap_trustworthiness_random_init
FAILED umap/tests/test_umap_trustworthiness.py::test_supervised_umap_trustworthiness
FAILED umap/tests/test_umap_trustworthiness.py::test_semisupervised_umap_trustworthiness
FAILED umap/tests/test_umap_trustworthiness.py::test_metric_supervised_umap_trustworthiness
FAILED umap/tests/test_umap_trustworthiness.py::test_string_metric_supervised_umap_trustworthiness
FAILED umap/tests/test_umap_trustworthiness.py::test_discrete_metric_supervised_umap_trustworthiness
FAILED umap/tests/test_umap_trustworthiness.py::test_count_metric_supervised_umap_trustworthiness
FAILED umap/tests/test_umap_validation_params.py::test_haversine_on_highd - n...
FAILED umap/tests/test_umap_validation_params.py::test_umap_haversine_embed_to_highd
FAILED umap/tests/test_umap_validation_params.py::test_umap_too_many_neighbors_warns
FAILED umap/tests/test_umap_validation_params.py::test_umap_fit_data_and_targets_compliant
FAILED umap/tests/test_umap_validation_params.py::test_umap_fit_instance_returned
ERROR umap/tests/test_umap_on_iris.py::test_umap_trustworthiness_on_iris - nu...
ERROR umap/tests/test_umap_on_iris.py::test_umap_clusterability_on_supervised_iris
ERROR umap/tests/test_umap_on_iris.py::test_umap_inverse_transform_on_iris - ...
======= 56 failed, 66 passed, 2 xfailed, 20 warnings, 3 errors in 48.47s =======
E: pybuild pybuild:388: test: plugin custom failed with: exit code=1: PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build python3.11 -m pytest
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 --system=custom "--test-args=PYTHONPATH={build_dir} {interpreter} -m pytest" returned exit code 13
make[1]: *** [debian/rules:16: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: binary-indep] Error 2
dpkg-buildpackage: error: debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

(The above is just how the build ends and not necessarily the most relevant part)

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.



More information about the Debian-med-packaging mailing list