Skip to content

Commit

Permalink
MAINT: Make xclim pin more specific
Browse files Browse the repository at this point in the history
We can only guarantee that the latest version of icclim works with
 xclim >=0.45 and xclim <= 0.47.
If there is no breaking change in xclim 0.48, we will only need to
update the right bound.
  • Loading branch information
Abel Aoun committed Dec 6, 2023
1 parent 9e17eb8 commit 3b18154
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion doc/source/references/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Release history
6.5.0 (unreleased)
------------------

* [maint] Adapt generic indicators "excess" and "deficit" to xclim 0.47.
* [maint] Adapt generic indicators "excess" and "deficit" to xclim 0.45.
* [maint] Upgrade minimal python version to 3.9
* [fix] Avoid resampling SPI* indices.

Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ channels:
dependencies:
# Core dependencies
- python>=3.9
- xclim==0.47
- xclim>=0.45
- numpy
- xarray>=2022.6
- cf_xarray>=0.7.4
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ sphinx_codeautolink
sphinx_copybutton
sphinx_lfs_content
xarray>=2022.6
xclim>=0.47
xclim>=0.45
zarr
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ sphinx_copybutton
sphinx_lfs_content
twine
xarray>=2022.6
xclim>=0.47
xclim>=0.45
zarr
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
MINIMAL_REQUIREMENTS = [
"numpy>=1.16",
"xarray>=2022.6",
"xclim>=0.47",
"xclim>=0.45, <=0.47",
"cf_xarray>=0.7.4",
"cftime>=1.4.1",
"dask[array]",
Expand Down

0 comments on commit 3b18154

Please sign in to comment.