Skip to content

Commit

Permalink
Adjust pip extra dependencies (#9571)
Browse files Browse the repository at this point in the history
* Adjust pip extra dependencies

- Add `sparse` to an `etc` category (or put in `io`?)
- In `complete`, don't include `dev` -- `dev` contains `complete` + dev tools (or could adjust `dev` so it's dev-only). And `complete` is everything a user might want. (Fine to adjust but currently they're recursive, which doesn't make sense
  • Loading branch information
max-sixty authored Oct 2, 2024
1 parent 14f16f5 commit 584b940
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies = [

[project.optional-dependencies]
accel = ["scipy", "bottleneck", "numbagg", "flox", "opt_einsum"]
complete = ["xarray[accel,io,parallel,viz,dev]"]
complete = ["xarray[accel,etc,io,parallel,viz]"]
dev = [
"hypothesis",
"mypy",
Expand All @@ -40,11 +40,14 @@ dev = [
"pytest-xdist",
"pytest-timeout",
"ruff",
"sphinx",
"sphinx_autosummary_accessors",
"xarray[complete]",
]
io = ["netCDF4", "h5netcdf", "scipy", 'pydap; python_version<"3.10"', "zarr<3", "fsspec", "cftime", "pooch"]
etc = ["sparse"]
parallel = ["dask[complete]"]
viz = ["matplotlib", "seaborn", "nc-time-axis"]
viz = ["cartopy", "matplotlib", "nc-time-axis", "seaborn"]

[project.urls]
Documentation = "https://docs.xarray.dev"
Expand Down

0 comments on commit 584b940

Please sign in to comment.