diff --git a/doc/source/references/release_notes.rst b/doc/source/references/release_notes.rst index 24dc0e76..2e949f77 100644 --- a/doc/source/references/release_notes.rst +++ b/doc/source/references/release_notes.rst @@ -1,12 +1,14 @@ Release history =============== -6.2.0 (unreleased) ------------------- +6.2.0 +----- * [maint] Upgrade and adapt to xclim 0.40. Moved PercentileDataArray from xclim to icclim. Adapted the unit cenversion to use the hydro context. +* [fix] Pin xclim to exact 0.40 to avoid breaking changes. + 6.1.5 ----- diff --git a/environment.yml b/environment.yml index 0270b39e..15726cfc 100644 --- a/environment.yml +++ b/environment.yml @@ -6,7 +6,7 @@ channels: dependencies: # Core dependencies - python>=3.8 - - xclim>=0.40 + - xclim==0.40 - numpy - xarray>=2022.6 - cf_xarray>=0.7.4 diff --git a/requirements.txt b/requirements.txt index c4efa363..c3ab746c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -18,5 +18,5 @@ sphinx_codeautolink sphinx_copybutton sphinx_lfs_content xarray>=2022.6 -xclim~=0.40 +xclim==0.40 zarr diff --git a/requirements_dev.txt b/requirements_dev.txt index e4ae9a04..f79a514a 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -25,5 +25,5 @@ sphinx_copybutton sphinx_lfs_content twine xarray>=2022.6 -xclim~=0.40 +xclim==0.40 zarr diff --git a/setup.py b/setup.py index 763d04c7..292b4662 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ MINIMAL_REQUIREMENTS = [ "numpy>=1.16", "xarray>=2022.6", - "xclim>=0.40", + "xclim==0.40", "cf_xarray>=0.7.4", "cftime>=1.4.1", "dask[array]",