Skip to content

Commit 729f40d

Browse files
committed
ofc you can't set os in hatch
1 parent 9abfe96 commit 729f40d

2 files changed

Lines changed: 3 additions & 9 deletions

File tree

hatch.toml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,10 @@ extra-dependencies = [
4141
]
4242

4343

44-
overrides.matrix.deps.python = [
45-
{ if = ["ubuntu"], value = "3.11" },
46-
{ if = ["ubuntu"], value = "3.12" },
47-
{ if = ["ubuntu"], value = "3.13" },
48-
{ if = ["macos"], value = "3.11" },
49-
]
5044

5145
[[envs.hatch-test.matrix]]
52-
deps = ["ubuntu", "macos"]
53-
46+
python = ["3.11", "3.12", "3.13"]
47+
deps = ["stable]
5448
5549
[envs.hatch-test.scripts]
5650
run = "python -m pytest --color=yes --cov --cov-append --cov-report=xml --cov-config=pyproject.toml --ignore docs/ {args:-vv}"

tests/graph/test_ppatterns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def test_spatial_autocorr_seq_par(dummy_adata: AnnData, mode: str):
3636
assert dummy_adata.uns[UNS_KEY].columns.shape == (4,)
3737
assert df.columns.shape == (9,)
3838
# test pval_norm same
39-
np.testing.assert_array_equal(df["pval_norm"].values, df_parallel["pval_norm"].values)
39+
np.testing.assert_allclose(df["pval_norm"].values, df_parallel["pval_norm"].values, rtol=1e-10, atol=1e-10)
4040
# test highly variable
4141
assert dummy_adata.uns[UNS_KEY].shape != df.shape
4242
# assert idx are sorted and contain same elements

0 commit comments

Comments
 (0)