diff --git a/pyproject.toml b/pyproject.toml index f799ae1d..ff99f7ee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,8 @@ requires = [ # Note that building against numpy 1.x works fine too - users and # redistributors can do this by installing the numpy version they like and # disabling build isolation. - "numpy>=2.0.0b1", + "numpy>=2.0.0; python_version<'3.13'", + "numpy>=2.1.0.rc1; python_version>='3.13'", ] [project]