Skip to content

Commit 87f83d5

Browse files
committed
Build system: attempt to fix Python 3.8 / NumPy 2.0 issue
1 parent 9eb8077 commit 87f83d5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
# plotpy setup configuration file
22

33
[build-system]
4-
requires = ["setuptools", "wheel", "cython ~= 0.29.0", "numpy >= 1.17"]
4+
requires = [
5+
"setuptools",
6+
"wheel",
7+
"cython ~= 0.29.0",
8+
"numpy >= 1.17; python_version == '3.8'",
9+
"numpy >= 2.0.0; python_version > '3.8'",
10+
]
511
build-backend = "setuptools.build_meta"
612

713
[project]

0 commit comments

Comments
 (0)