diff --git a/pyproject.toml b/pyproject.toml index 92c5d0cc..8ad303bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,3 @@ [build-system] -requires = ["setuptools>=41.2", "cython>=0.29.20", "wheel", "oldest-supported-numpy"] +requires = ["setuptools>=41.2", "cython>=0.29.20", "wheel", "oldest-supported-numpy; python_version<'3.12.0.rc1'", "numpy>=1.26.0b1; python_version>='3.12.0.rc1'"] build-backend = "setuptools.build_meta" diff --git a/requirements.txt b/requirements.txt index ecf31ad6..941501ce 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ -numpy>1.13.3 +numpy>1.13.3; python_version<'3.12.0.rc1' +numpy>=1.26.0b1; python_version>='3.12.0.rc1'