diff --git a/pyproject.toml b/pyproject.toml index d1be0a4..cfcfe50 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,8 @@ requires = ["setuptools", "wheel", "Cython", - "oldest-supported-numpy; python_version >= '3.8'", + "numpy==2.0.0,<2.1.0; python_version >= '3.9'", + "oldest-supported-numpy; python_version >= '3.8' and python_version < '3.9'", "numpy==1.16.1; python_version <= '3.7' and python_version >= '3'", "numpy==1.13.3; python_version=='2.7'", ] \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 296d654..e7288c3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ -numpy \ No newline at end of file +numpy>=1.25; python_version >= '3.9' +numpy; python_version < '3.9' \ No newline at end of file