Skip to content

Commit

Permalink
Include optional dependencies from dtscalibration dependencies
Browse files Browse the repository at this point in the history
* Include optional dependencies from dtscalibration dependencies

Use "xarray[parallel,accel]" instead of filling up the dtscalibration dependency list with optional xarray dependencies.

* Remove patsy dependency

As it only used by statsmodels, and now included in the statsmodels dependencies.

* Removed toolz as dependency

It is not directly used by our scripts and cannot identify it as an optional dependency of one of our dependencies

* Update CHANGELOG.rst
  • Loading branch information
bdestombe committed Jul 30, 2023
1 parent d4a1147 commit 071ae22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Changed

* Standardized parameter names. Reduced the freedom in choosing parameter names and dimension names in favor of simplifying the code.
* Requiring netcdf4 >= 1.6.4
* Optional dependencies of xarray that improve performance are now required by default.
* Flox included in requirements to speed up resampling via xarray ([Xarray #5734](https://github.com/pydata/xarray/pull/5734)).

Removed
Expand Down
12 changes: 5 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,17 @@ classifiers = [
"Topic :: Utilities",
]
dependencies = [
"numpy",
"xarray",
"numpy>=1.22.4", # xarray: recommended to use >= 1.22 for full quantile method support
"dask",
"pandas",
"xarray[parallel,accel]",
"pyyaml>=6.0.1",
"xmltodict",
"scipy",
"patsy", # a dependency of statsmodels
"statsmodels",
"dask",
"toolz",
"matplotlib",
"netCDF4>=1.6.4",
"flox",
"pandas",
"nc-time-axis>=1.4.1" # optional plot dependency of xarray
]
dynamic = ["version"]

Expand Down

0 comments on commit 071ae22

Please sign in to comment.