From 2c69691ca1ff79e9dd0976e2c6ef76e855119e69 Mon Sep 17 00:00:00 2001 From: Liam Gray Date: Thu, 8 Aug 2024 16:40:26 -0700 Subject: [PATCH] build(numpy): build with stable numpy 2.0 and pin numpy dependency >= 1.24 See https://numpy.org/doc/stable//dev/depending_on_numpy.html#build-time-dependency for numpy version schedule. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 537396f9..2cf5fbda 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ requires = [ "wheel", "setuptools-git-versioning", "cython", - "oldest-supported-numpy", + "numpy>=2.0.0rc1", ] build-backend = "setuptools.build_meta" @@ -26,7 +26,7 @@ dependencies = [ "click", "cython", "h5py", - "numpy>=1.20, <2", + "numpy>=1.24", "psutil", "PyYAML", "scipy",