Skip to content

Commit

Permalink
Fixed dependencies (#2069)
Browse files Browse the repository at this point in the history
- removed pytest as a required dep
- move test deps to a "test" optional dependency
  • Loading branch information
TomAugspurger authored Aug 9, 2024
1 parent 5cf2ef1 commit f6de884
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ dependencies = [
'zstandard',
'typing_extensions',
'donfig',
'pytest'
]
dynamic = [
"version",
Expand All @@ -55,6 +54,22 @@ license = {text = "MIT License"}
keywords = ["Python", "compressed", "ndimensional-arrays", "zarr"]

[project.optional-dependencies]
test = [
"coverage",
"pytest",
"pytest-cov",
"msgpack",
"lmdb",
"s3fs",
"pytest-asyncio",
"moto[s3]",
"flask-cors",
"flask",
"requests",
"mypy",
"hypothesis"
]

jupyter = [
'notebook',
'ipytree>=0.2.2',
Expand Down Expand Up @@ -108,22 +123,7 @@ dependencies = [
"numpy~={matrix:numpy}",
"universal_pathlib"
]
extra-dependencies = [
"coverage",
"pytest",
"pytest-cov",
"msgpack",
"lmdb",
"s3fs",
"pytest-asyncio",
"moto[s3]",
"flask-cors",
"flask",
"requests",
"mypy",
"hypothesis"
]
features = ["extra"]
features = ["test", "extra"]

[[tool.hatch.envs.test.matrix]]
python = ["3.10", "3.11", "3.12"]
Expand Down

0 comments on commit f6de884

Please sign in to comment.