Skip to content

Commit f464acb

Browse files
committed
Clean up optional dependency groups
1 parent 0cca6b0 commit f464acb

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

pyproject.toml

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,25 @@ license = {text = "MIT License"}
5353
keywords = ["Python", "compressed", "ndimensional-arrays", "zarr"]
5454

5555
[project.optional-dependencies]
56+
# User extras
5657
fsspec = [
5758
"fsspec>=2023.10.0",
5859
]
60+
jupyter = [
61+
'notebook',
62+
'ipytree>=0.2.2',
63+
'ipywidgets>=8.0.0',
64+
]
65+
gpu = [
66+
"cupy-cuda12x",
67+
]
68+
universal-pathlib = [
69+
'universal-pathlib>=0.0.22'
70+
]
71+
tree = [
72+
'rich',
73+
]
74+
# Development extras
5975
test = [
6076
"coverage",
6177
"pytest",
@@ -68,15 +84,7 @@ test = [
6884
"hypothesis",
6985
"universal-pathlib",
7086
]
71-
72-
jupyter = [
73-
'notebook',
74-
'ipytree>=0.2.2',
75-
'ipywidgets>=8.0.0',
76-
]
77-
gpu = [
78-
"cupy-cuda12x",
79-
]
87+
optional = ["zarr[universal-pathlib, tree]"]
8088
docs = [
8189
'sphinx==8.1.3',
8290
'sphinx-autobuild>=2021.3.14',
@@ -89,16 +97,7 @@ docs = [
8997
'numcodecs[msgpack]',
9098
'msgpack',
9199
]
92-
extra = [
93-
'msgpack',
94-
]
95-
optional = [
96-
'universal-pathlib>=0.0.22',
97-
'rich'
98-
]
99-
tree = [
100-
'rich',
101-
]
100+
102101

103102
[project.urls]
104103
"Bug Tracker" = "https://github.com/zarr-developers/zarr-python/issues"

0 commit comments

Comments
 (0)