Skip to content

Commit 1364fb9

Browse files
committed
Fix optional dependency set
1 parent f5c3990 commit 1364fb9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,12 @@ features = ["test"]
150150
[[tool.hatch.envs.test.matrix]]
151151
python = ["3.11", "3.12", "3.13"]
152152
numpy = ["1.25", "2.1"]
153-
version = ["minimal"]
153+
deps = ["minimal", "optional"]
154154

155-
[[tool.hatch.envs.test.matrix]]
156-
python = ["3.11", "3.12", "3.13"]
157-
numpy = ["1.25", "2.1"]
158-
features = ["optional"]
155+
[tool.hatch.envs.test.overrides]
156+
matrix.deps.dependencies = [
157+
{value = "zarr[remote, remote_tests, test, optional]", if = ["optional"]}
158+
]
159159

160160
[tool.hatch.envs.test.scripts]
161161
run-coverage = "pytest --cov-config=pyproject.toml --cov=pkg --cov-report xml --cov=src --junitxml=junit.xml -o junit_family=legacy"

0 commit comments

Comments
 (0)