Skip to content

Commit 2ff2a9b

Browse files
authored
ci: fix umap test xfail check range (#3945)
1 parent 91fafcb commit 2ff2a9b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_neighbors.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
from pytest_mock import MockerFixture
2020

2121
# https://github.com/lmcinnes/umap/issues/1216
22-
SKIPIF_UMAP_BROKEN = pytest.mark.skipif(
23-
pkg_version("umap-learn") <= Version("0.5.9.post2")
22+
XFAIL_IF_UMAP_BROKEN = pytest.mark.xfail(
23+
pkg_version("umap-learn") < Version("0.6a0.dev0")
2424
and pkg_version("numba") >= Version("0.62.0rc1"),
25-
reason="umap≤0.5.9.post2 is broken with numba≥0.62.0rc1",
25+
reason="umap<0.6 is broken with numba≥0.62.0rc1",
2626
)
2727

2828
# the input data
@@ -206,7 +206,7 @@ def test_distances_all(neigh: Neighbors, transformer, knn):
206206
connectivities_umap,
207207
transitions_umap,
208208
transitions_sym_umap,
209-
marks=SKIPIF_UMAP_BROKEN,
209+
marks=XFAIL_IF_UMAP_BROKEN,
210210
id="umap",
211211
),
212212
pytest.param(

0 commit comments

Comments
 (0)