Santiago Vila pushed to branch master at Debian Med / umap-learn


Commits:
13056234 by Santiago Vila at 2026-11-18T00:05:00+01:00
Skip tests requiring more numba threads than available.

On a machine with 1 CPU, the following tests always fail:

FAILED 
umap/tests/test_optimizer_dispatch.py::test_unseeded_parallel_fit_is_finite[adam]
FAILED 
umap/tests/test_optimizer_dispatch.py::test_unseeded_parallel_fit_is_finite[momentum]

This is already reported upstream. Once that we have an official fix, this patch
can be dropped.

- - - - -
027d0fec by Santiago Vila at 2026-11-18T00:10:00+01:00
d/salsa-ci.yml: Use the simplified version.

- - - - -
1c2067a8 by Santiago Vila at 2026-11-18T00:15:00+01:00
d/salsa-ci.yml: Disable redundant/duplicate jobs.

Jobs BUILD_PACKAGE_ALL and BUILD_PACKAGE_ANY are redundant here
because all binary packages are "Architecture: all".

- - - - -
6618266a by Santiago Vila at 2026-11-18T00:20:00+01:00
Upload for unstable as 0.6.0+dfsg-2

- - - - -


4 changed files:

- debian/changelog
- debian/patches/series
- + debian/patches/single-cpu.patch
- debian/salsa-ci.yml


Changes:

=====================================
debian/changelog
=====================================
@@ -1,9 +1,16 @@
-umap-learn (0.6.0+dfsg-2) UNRELEASED; urgency=medium
+umap-learn (0.6.0+dfsg-2) unstable; urgency=medium
 
+  * Team upload.
+
+  [ Andreas Tille ]
   * Demoted python3-pandas from Depends to Recommends since its dependency
     is optional
 
- -- Andreas Tille <[email protected]>  Wed, 11 Nov 2026 10:23:41 +0100
+  [ Santiago Vila ]
+  * Skip tests requiring more numba threads than available.
+  * Fine-tune salsa-ci.yml.
+
+ -- Santiago Vila <[email protected]>  Wed, 18 Nov 2026 00:20:00 +0100
 
 umap-learn (0.6.0+dfsg-1) unstable; urgency=medium
 


=====================================
debian/patches/series
=====================================
@@ -4,3 +4,4 @@ skip_tests_needing_tensorflow.patch
 3ca4cf8620e25ceb8b4602648f4092d7a904a282.patch
 fix_further_tests.patch
 fix-example.patch
+single-cpu.patch


=====================================
debian/patches/single-cpu.patch
=====================================
@@ -0,0 +1,25 @@
+From: Santiago Vila <[email protected]>
+Subject: Skip tests requiring more numba threads than available
+Forwarded: https://github.com/lmcinnes/umap/issues/1354
+
+--- a/umap/tests/test_optimizer_dispatch.py
++++ b/umap/tests/test_optimizer_dispatch.py
+@@ -6,6 +6,7 @@
+ optimizer, and DensMAP is only implemented for Euclidean output embeddings.
+ """
+ 
++import numba
+ import numpy as np
+ import pytest
+ import scipy.sparse
+@@ -130,6 +131,10 @@
+     assert np.isfinite(model.rad_emb_).all()
+ 
+ 
[email protected](
++    numba.config.NUMBA_NUM_THREADS < 2,
++    reason="requires at least two numba threads",
++)
+ @pytest.mark.parametrize("optimizer", MODERN_OPTIMIZERS)
+ def test_unseeded_parallel_fit_is_finite(optimizer):
+     data, _ = make_blobs(


=====================================
debian/salsa-ci.yml
=====================================
@@ -1,8 +1,9 @@
 ---
 include:
-  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
-  - 
https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
+  - 
https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml
 
 variables:
   # Build-Depends: python3-pynndescent which is not available for 32bit 
architectures like i386
   SALSA_CI_DISABLE_BUILD_PACKAGE_I386: 1
+  SALSA_CI_DISABLE_BUILD_PACKAGE_ALL: 1
+  SALSA_CI_DISABLE_BUILD_PACKAGE_ANY: 1



View it on GitLab: 
https://salsa.debian.org/med-team/umap-learn/-/compare/d48aae77793943691f28ab7184c940b923486b74...6618266a1238e494e621c08631eb976d8d8206af

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/umap-learn/-/compare/d48aae77793943691f28ab7184c940b923486b74...6618266a1238e494e621c08631eb976d8d8206af
You're receiving this email because of your account on salsa.debian.org. Manage 
all notifications: https://salsa.debian.org/-/profile/notifications | Help: 
https://salsa.debian.org/help


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to