From 5f5199a69af3eb145143344065fdfb4b746576f4 Mon Sep 17 00:00:00 2001 From: Aaron Spring <12237157+aaronspring@users.noreply.github.com> Date: Sun, 15 Feb 2026 21:17:30 +0100 Subject: [PATCH 1/4] Unfix np2.4 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 059b16bc..176b3b0b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" name = "xskillscore" dependencies = [ "dask[array] >=2023.4.0", - "numpy >=1.24,<2.4", + "numpy >=1.24", "properscoring", "scipy >=1.10", "statsmodels", From ccbbbad643d22ef6eb8e195487cfda2678727777 Mon Sep 17 00:00:00 2001 From: Aaron Spring Date: Tue, 17 Feb 2026 19:01:07 +0100 Subject: [PATCH 2/4] Remove numpy <2.4 pin from CI files Match pyproject.toml change to allow numpy >=2.0 --- ci/docs_notebooks.yml | 2 +- ci/minimum-tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/docs_notebooks.yml b/ci/docs_notebooks.yml index acd992c0..e21733d1 100644 --- a/ci/docs_notebooks.yml +++ b/ci/docs_notebooks.yml @@ -10,7 +10,7 @@ dependencies: - dask-core >=2023.4.0 - doc8 - numba >=0.57 - - numpy >=1.24,<2.4 + - numpy >=1.24 - properscoring - ipykernel - jupyterlab diff --git a/ci/minimum-tests.yml b/ci/minimum-tests.yml index 2b67455f..0d42de55 100644 --- a/ci/minimum-tests.yml +++ b/ci/minimum-tests.yml @@ -10,7 +10,7 @@ dependencies: - dask-core >=2023.4.0 - matplotlib-base - numba >=0.57 - - numpy >=1.24,<2.4 + - numpy >=1.24 - properscoring - pytest - pytest-cov From 310a6d56fead1bed6b4f5bbdc63af30cc53e4fd0 Mon Sep 17 00:00:00 2001 From: Aaron Spring Date: Tue, 17 Feb 2026 21:04:07 +0100 Subject: [PATCH 3/4] Unpin numpy and bump minimum to 1.25 - Remove upper bound on numpy version in doc.yml and dev.yml - Bump minimum numpy version from 1.24 to 1.25 across all config files --- ci/dev.yml | 2 +- ci/doc.yml | 2 +- ci/docs_notebooks.yml | 2 +- ci/minimum-tests.yml | 2 +- pyproject.toml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ci/dev.yml b/ci/dev.yml index cc6f0e2d..35e7befb 100644 --- a/ci/dev.yml +++ b/ci/dev.yml @@ -18,7 +18,7 @@ dependencies: - cftime - dask-core >=2023.4.0 - numba >=0.57 - - numpy >=1.24,<2.4 + - numpy >=1.25 - properscoring - scikit-learn - scipy >=1.10.0 diff --git a/ci/doc.yml b/ci/doc.yml index bda0e2f0..d996d4e1 100644 --- a/ci/doc.yml +++ b/ci/doc.yml @@ -13,7 +13,7 @@ dependencies: - matplotlib-base - nbsphinx - numba >=0.57 - - numpy >=1.24,<2.4 + - numpy >=1.25 - properscoring - scikit-learn - scipy >=1.10 diff --git a/ci/docs_notebooks.yml b/ci/docs_notebooks.yml index e21733d1..3b5ea225 100644 --- a/ci/docs_notebooks.yml +++ b/ci/docs_notebooks.yml @@ -10,7 +10,7 @@ dependencies: - dask-core >=2023.4.0 - doc8 - numba >=0.57 - - numpy >=1.24 + - numpy >=1.25 - properscoring - ipykernel - jupyterlab diff --git a/ci/minimum-tests.yml b/ci/minimum-tests.yml index 0d42de55..63baf265 100644 --- a/ci/minimum-tests.yml +++ b/ci/minimum-tests.yml @@ -10,7 +10,7 @@ dependencies: - dask-core >=2023.4.0 - matplotlib-base - numba >=0.57 - - numpy >=1.24 + - numpy >=1.25 - properscoring - pytest - pytest-cov diff --git a/pyproject.toml b/pyproject.toml index 176b3b0b..3e384bec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" name = "xskillscore" dependencies = [ "dask[array] >=2023.4.0", - "numpy >=1.24", + "numpy >=1.25", "properscoring", "scipy >=1.10", "statsmodels", From b40ba95be0be6e746d9deaa996f1a73e840a6f90 Mon Sep 17 00:00:00 2001 From: Aaron Spring Date: Wed, 18 Feb 2026 10:23:25 +0100 Subject: [PATCH 4/4] Add PR 444 to CHANGELOG: lift np<2, bump min to np>=1.25 --- CHANGELOG.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 8e2938d2..b9400369 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -16,6 +16,8 @@ Bug Fixes Internal Changes ~~~~~~~~~~~~~~~~ +- Lifted `numpy<2` dependency constraint and bumped minimum to `numpy>=1.25`. + (:pr:`444`) `Aaron Spring`_ - Pinned `numpy` below v2.4 due to breaking API changes. (:pr:`441`) `Trevor James Smith`_ - Adjusted tests to adapt to new `xarray` attributes preservation behaviour. (:pr:`441`) `Trevor James Smith`_