diff --git a/build_envs/asv-bench.yml b/build_envs/asv-bench.yml index 9dbbe7be..742decfd 100644 --- a/build_envs/asv-bench.yml +++ b/build_envs/asv-bench.yml @@ -9,7 +9,7 @@ dependencies: - eofs - metpy - netcdf4 - - numpy + - numpy<2.0 - pint - pip - scipy diff --git a/build_envs/environment.yml b/build_envs/environment.yml index a5e986d6..32f59f1c 100644 --- a/build_envs/environment.yml +++ b/build_envs/environment.yml @@ -10,7 +10,7 @@ dependencies: - eofs - metpy - numba - - numpy + - numpy<2.0 - scipy - pandas - pint diff --git a/docs/release-notes.rst b/docs/release-notes.rst index dfd31a1c..97d103d3 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -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 ^^^^^^^^^^^^^ diff --git a/requirements.txt b/requirements.txt index 070f9118..85ef3ce4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,7 @@ cftime dask[array] eofs metpy -numpy +numpy<2.0 scipy xarray xskillscore diff --git a/setup.cfg b/setup.cfg index 3fcbc5e6..dc0b6fe8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -31,6 +31,7 @@ setup_requires = pip install_requires = cf_xarray>=0.3.1 + numpy<2.0 cftime eofs metpy