From 6ac3fa8485940519e0ce7eb118a4b07397c8fe7d Mon Sep 17 00:00:00 2001 From: Bharat Medasani Date: Thu, 27 Jun 2024 11:12:10 -0400 Subject: [PATCH] Fix for python 3.8 and numpy dependency --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 236e4c4cd..b89247f2c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,8 +1,9 @@ [build-system] requires = [ - "scikit-build-core>=0.3.3", + "scikit-build-core", "pybind11", - "oldest-supported-numpy", + "numpy >= 2.0.0; python_version > '3.8'", + "oldest-supported-numpy; python_version <= '3.8'", "setuptools_scm>=8.0", 'tomli; python_version < "3.11"',] build-backend = "scikit_build_core.build"