Skip to content

Commit 634f45c

Browse files
authored
Merge pull request scipy#13217 from rgommers/pin-setuptools-on-16x
REL: add necessary setuptools and numpy version pins in pyproject.toml for 1.6.x branch
2 parents f77f880 + 9228984 commit 634f45c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[build-system]
22
requires = [
33
"wheel",
4-
"setuptools",
4+
"setuptools<=51.0.0",
55
"Cython>=0.29.18",
66
"numpy==1.16.5; python_version=='3.7'",
77
"numpy==1.17.3; python_version=='3.8'",
8+
"numpy==1.19.3; python_version=='3.9'",
89
# do not pin numpy on future versions of python to avoid incompatible numpy and python versions
9-
"numpy; python_version>='3.9'",
10+
"numpy; python_version>='3.10'",
1011
"pybind11>=2.4.3",
1112
]

0 commit comments

Comments
 (0)