Skip to content

Commit 1ad45c6

Browse files
authored
MAINT Fix minimal numpy dependency in pyproject.toml (#51)
1 parent 55f18be commit 1ad45c6

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

pyproject.toml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
[build-system]
22
# build with the oldest numpy that has pre-build wheels for Py3.7 on PyPi
3-
requires = ["setuptools", "wheel", "cython>=0.28", "numpy==1.14.5"]
3+
requires = [
4+
"setuptools",
5+
"wheel",
6+
"cython>=0.28",
7+
"numpy==1.14.5; python_version=='3.5' and platform_system!='AIX'",
8+
"numpy==1.14.5; python_version=='3.6' and platform_system!='AIX'",
9+
"numpy==1.14.5; python_version=='3.7' and platform_system!='AIX'",
10+
"numpy==1.17.3; python_version>='3.8' and platform_system!='AIX'",
11+
# Minimum supported numpy 1.16 for AIX
12+
# see https://github.com/scipy/scipy/pull/10431
13+
"numpy==1.16.0; python_version=='3.5' and platform_system!='AIX'",
14+
"numpy==1.16.0; python_version=='3.6' and platform_system=='AIX'",
15+
"numpy==1.16.0; python_version=='3.7' and platform_system=='AIX'",
16+
"numpy==1.17.3; python_version>='3.8' and platform_system=='AIX'",
17+
]
418

519
[tool.black]
620
line-length = 79

0 commit comments

Comments
 (0)