Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 601ef97

Browse files
committed
Fix numpy py3.9 dep
1 parent 1945c1e commit 601ef97

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
@@ -3,4 +3,10 @@ requires-python = ">=3.6"
33

44
[build-system]
55
build-backend = "setuptools.build_meta"
6-
requires = ["numpy==1.19.0", "setuptools", "wheel"]
6+
# We need at least 1.19.0 for ABI compatibility, but otherwise prefer the oldest available wheel (eg: 1.19.3 for py3.9)
7+
requires = [
8+
"numpy==1.19.0; python_version<'3.9'",
9+
"oldest-supported-numpy",
10+
"setuptools",
11+
"wheel"
12+
]

0 commit comments

Comments
 (0)