Skip to content

Commit 88e0544

Browse files
committed
Pin numpy versions in build-system
1 parent faf7df7 commit 88e0544

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

pyproject.toml

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
11
# When changing the version numbers here, also adjust them in `setup.py`
22
[build-system]
3-
requires = ["setuptools", "wheel", "cython >= 0.28.2", "numpy >= 1.12.0"]
3+
requires = [
4+
"setuptools",
5+
"wheel",
6+
"Cython >= 0.28.2", # required for VCS build, optional for released source
7+
"numpy==1.9.3; python_version=='2.7'",
8+
"numpy==1.9.3; python_version=='3.5'",
9+
# We pin to numpy==1.13.1 as numpy==1.12.1 has build issues on distributions
10+
# like Alpine Linux (which are the most common place where these source
11+
# builds happen).
12+
"numpy==1.13.1; python_version=='3.6'",
13+
"numpy==1.13.1; python_version>='3.7'",
14+
]

0 commit comments

Comments
 (0)