Skip to content

Commit

Permalink
Compatibility with numpy 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mobiusklein committed Jul 2, 2024
1 parent 8f779f7 commit 4dece36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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'",
]
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
numpy
numpy>=1.25; python_version >= '3.9'
numpy; python_version < '3.9'

0 comments on commit 4dece36

Please sign in to comment.