Skip to content

Commit

Permalink
pin numpy below v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Jun 17, 2024
1 parent b7374de commit 94d7971
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Breaking changes
- ``interp_calendar`` : Use ``Dataset.interp_calendar`` or ``xarray.coding.calendar_ops.interp_calendar`` instead.
- ``days_in_year`` : Use ``xarray.coding.calendar_ops._days_in_year`` instead.
- ``datetime_to_decimal_year`` : Use ``xarray.coding.calendar_ops._datetime_to_decimal_year`` instead.
* `numpy` has been pinned below v2.0.0 until `xclim` can be updated to support the latest version.

Internal changes
^^^^^^^^^^^^^^^^
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
- dask >=2.6.0
- jsonpickle
- numba
- numpy >=1.20.0
- numpy >=1.20.0,<2.0.0
- pandas >=2.2.0
- pint >=0.10,<0.24
- poppler >=0.67
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dependencies = [
"dask[array]>=2.6",
"jsonpickle",
"numba",
"numpy>=1.20.0",
"numpy>=1.20.0,<2.0.0",
"pandas>=2.2",
"pint>=0.10,<0.24",
"pyarrow", # Strongly encouraged for pandas v2.2.0+
Expand Down

0 comments on commit 94d7971

Please sign in to comment.