File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,6 +75,14 @@ optional-dependencies.test = [
7575 " torch" ,
7676 " vitessce[all]>=3.4" ,
7777]
78+ # Trunk-only test extras: same as `test` minus integration deps (lamindb, torch, vitessce).
79+ # Used by the `core` matrix variant of hatch-test to keep ehrdata compatible with the latest, unconstrained anndata since this is critical
80+ optional-dependencies.test-core = [
81+ " coverage>=7.10" ,
82+ " dask" ,
83+ " pytest" ,
84+ " pytest-cov" ,
85+ ]
7886optional-dependencies.torch = [
7987 " torch" ,
8088]
@@ -94,7 +102,15 @@ envs.docs.scripts.build = "sphinx-build -M html docs docs/_build {args}"
94102envs.docs.scripts.open = " python -m webbrowser -t docs/_build/html/index.html"
95103envs.docs.scripts.clean = " git clean -fdX -- {args:docs}"
96104envs.hatch-test.features = [ " test" ]
97- envs.hatch-test.matrix = [ { python = [ " 3.12" , " 3.14" ] } ]
105+ envs.hatch-test.matrix = [
106+ # Standard matrix: run the full integration-aware test extras on both supported
107+ { python = [ " 3.12" , " 3.14" ] },
108+ # Integration-free "core" lane
109+ { python = [ " 3.14" ], variant = [ " core" ] },
110+ ]
111+ envs.hatch-test.overrides.matrix.variant.set-features = [
112+ { value = " test-core" , if = [ " core" ] },
113+ ]
98114
99115[tool .ruff ]
100116line-length = 120
You can’t perform that action at this time.
0 commit comments