Skip to content

Commit

Permalink
DEP: Use numpy in pyproject.toml & numpy<2 (#3002)
Browse files Browse the repository at this point in the history
  • Loading branch information
snowman2 committed Jan 9, 2024
1 parent 9520b69 commit 1b1ff51
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=67.8", "cython~=3.0.2", "oldest-supported-numpy"]
requires = ["setuptools>=67.8", "cython~=3.0.2", "numpy>=1.25,<2"]
build-backend = "setuptools.build_meta"

[tool.pytest.ini_options]
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ click~=8.0
click-plugins
cligj>=0.5
matplotlib
numpy>=1.21
numpy>=1.21,<2
snuggs~=1.4.0
setuptools>=20.0
pyparsing~=3.1
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def copy_data_tree(datadir, destdir):
"certifi",
"click>=4.0",
"cligj>=0.5",
"numpy",
"numpy<2",
"click-plugins",
"setuptools",
]
Expand Down

0 comments on commit 1b1ff51

Please sign in to comment.