Skip to content

Commit 97f178a

Browse files
authored
Better uv compatibility (pydata#10124)
`uv sync` now installs dev dependencies automatically. I don't think this should affect other tools negatively, lmk if I'm unaware of something
1 parent bc33fda commit 97f178a

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed

pyproject.toml

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,6 @@ dependencies = ["numpy>=1.24", "packaging>=23.2", "pandas>=2.1"]
3030
[project.optional-dependencies]
3131
accel = ["scipy", "bottleneck", "numbagg", "numba>=0.54", "flox", "opt_einsum"]
3232
complete = ["xarray[accel,etc,io,parallel,viz]"]
33-
dev = [
34-
"hypothesis",
35-
"jinja2",
36-
"mypy",
37-
"pre-commit",
38-
"pytest",
39-
"pytest-cov",
40-
"pytest-env",
41-
"pytest-mypy-plugins",
42-
"pytest-timeout",
43-
"pytest-xdist",
44-
"ruff>=0.8.0",
45-
"sphinx",
46-
"sphinx_autosummary_accessors",
47-
"xarray[complete,types]",
48-
]
4933
io = [
5034
"netCDF4",
5135
"h5netcdf",
@@ -76,6 +60,25 @@ types = [
7660
"types-setuptools",
7761
]
7862

63+
[dependency-groups]
64+
dev = [
65+
"hypothesis",
66+
"jinja2",
67+
"mypy",
68+
"pre-commit",
69+
"pytest",
70+
"pytest-cov",
71+
"pytest-env",
72+
"pytest-mypy-plugins",
73+
"pytest-timeout",
74+
"pytest-xdist",
75+
"ruff>=0.8.0",
76+
"sphinx",
77+
"sphinx_autosummary_accessors",
78+
"xarray[complete,types]",
79+
80+
]
81+
7982
[project.urls]
8083
Documentation = "https://docs.xarray.dev"
8184
SciPy2015-talk = "https://www.youtube.com/watch?v=X0pAhJgySxk"

0 commit comments

Comments
 (0)