Skip to content

Commit

Permalink
Pin numpy<2.0 for PyPI install issue (#600)
Browse files Browse the repository at this point in the history
* pin numpy<2.0

* release notes
  • Loading branch information
anissa111 authored Apr 23, 2024
1 parent 5a1031c commit fffe34e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build_envs/asv-bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies:
- eofs
- metpy
- netcdf4
- numpy
- numpy<2.0
- pint
- pip
- scipy
Expand Down
2 changes: 1 addition & 1 deletion build_envs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
- eofs
- metpy
- numba
- numpy
- numpy<2.0
- scipy
- pandas
- pint
Expand Down
1 change: 1 addition & 0 deletions docs/release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ This release...
Bug Fixes
^^^^^^^^^
* Fix to address slow execution times for ``interp_hybrid_to_pressure`` with extrapolation by `Katelyn FitzGerald`_ in (:pr:`592`)
* Pin ``numpy<2.0`` for occasional PyPI install issues by `Anissa Zacharias`_ in (:pr:`600`)

Compatibility
^^^^^^^^^^^^^
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cftime
dask[array]
eofs
metpy
numpy
numpy<2.0
scipy
xarray
xskillscore
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ setup_requires =
pip
install_requires =
cf_xarray>=0.3.1
numpy<2.0
cftime
eofs
metpy
Expand Down

0 comments on commit fffe34e

Please sign in to comment.