From 9d9053063e05103d889d88ec18575b1c797c08ce Mon Sep 17 00:00:00 2001 From: Martin Yeo <40734014+trexfeathers@users.noreply.github.com> Date: Wed, 3 Jul 2024 09:59:49 +0100 Subject: [PATCH] NEP29 and NumPy v2 pins (#6039) * NEP29 NumPy pin. * Pin back from NumPy v2 (SciTools/iris#6035). * PyPI pins. --- requirements/py310.yml | 2 +- requirements/py311.yml | 2 +- requirements/py312.yml | 2 +- requirements/pypi-core.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/requirements/py310.yml b/requirements/py310.yml index f465c58250..f7184cc769 100644 --- a/requirements/py310.yml +++ b/requirements/py310.yml @@ -18,7 +18,7 @@ dependencies: - libnetcdf !=4.9.1 - matplotlib-base >=3.5 - netcdf4 - - numpy >=1.23, !=1.24.3 + - numpy >=1.24, !=1.24.3, <2 - python-xxhash - pyproj - scipy diff --git a/requirements/py311.yml b/requirements/py311.yml index 75827e5681..85d9d9271e 100644 --- a/requirements/py311.yml +++ b/requirements/py311.yml @@ -18,7 +18,7 @@ dependencies: - libnetcdf !=4.9.1 - matplotlib-base >=3.5 - netcdf4 - - numpy >=1.23, !=1.24.3 + - numpy >=1.24, !=1.24.3, <2 - python-xxhash - pyproj - scipy diff --git a/requirements/py312.yml b/requirements/py312.yml index b5d2043d6c..02622c3dc1 100644 --- a/requirements/py312.yml +++ b/requirements/py312.yml @@ -18,7 +18,7 @@ dependencies: - libnetcdf !=4.9.1 - matplotlib-base >=3.5 - netcdf4 - - numpy >=1.23, !=1.24.3 + - numpy >=1.24, !=1.24.3, <2 - python-xxhash - pyproj - scipy diff --git a/requirements/pypi-core.txt b/requirements/pypi-core.txt index e6dc005883..e3a5323da5 100644 --- a/requirements/pypi-core.txt +++ b/requirements/pypi-core.txt @@ -5,7 +5,7 @@ dask[array]>=2022.9.0 # libnetcdf!=4.9.1 (not available on PyPI) matplotlib>=3.5 netcdf4 -numpy>=1.23,!=1.24.3 +numpy>=1.24,!=1.24.3,<2 pyproj scipy shapely!=1.8.3