From ec10ba712244aafca3357bde7641ec34aac70c28 Mon Sep 17 00:00:00 2001 From: Oier Lauzirika Zarrabeitia Date: Mon, 23 Feb 2026 11:40:04 +0100 Subject: [PATCH 1/2] Adding compatibility with NumPy 2.x --- VERSION | 2 +- pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 6da28dd..8294c18 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.1 \ No newline at end of file +0.1.2 \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 3e96cee..9f6026c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [build-system] requires = [ "scikit-build-core==0.11.*", - "numpy==1.*" + "numpy==2.*" ] build-backend = "scikit_build_core.build" @@ -33,7 +33,7 @@ license = "GPL-3.0-only" requires-python = ">=3.7" dependencies = [ - "numpy==1.*" + "numpy" ] [project.urls] From 1a7002777f77367b1dfe6fad2f48b0560c1ee5b2 Mon Sep 17 00:00:00 2001 From: Oier Lauzirika Zarrabeitia Date: Mon, 23 Feb 2026 11:46:17 +0100 Subject: [PATCH 2/2] Adding exception for Python 3.8 --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9f6026c..6a88fd6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,8 @@ [build-system] requires = [ "scikit-build-core==0.11.*", - "numpy==2.*" + "numpy>=2.0.0; python_version >= '3.9'", + "numpy>=1.21.0,<2.0.0; python_version < '3.9'" ] build-backend = "scikit_build_core.build" @@ -33,7 +34,7 @@ license = "GPL-3.0-only" requires-python = ">=3.7" dependencies = [ - "numpy" + "numpy>=1.21.0" ] [project.urls]