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"