You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pyproject.toml
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -22,17 +22,20 @@ requires = [
22
22
23
23
# numpy 1.19 was the first minor release to provide aarch64 wheels, but
24
24
# wheels require fixes contained in numpy 1.19.2
25
-
"numpy==1.19.2; python_version=='3.6' and platform_machine=='aarch64'",
26
25
"numpy==1.19.2; python_version=='3.7' and platform_machine=='aarch64'",
26
+
"numpy==1.19.2; python_version=='3.8' and platform_machine=='aarch64'",
27
+
# aarch64 for py39 is covered by default requirement below
28
+
29
+
# arm64 on Darwin supports Python 3.8 and above requires numpy>=1.20.0
30
+
numpy==1.20.0; python_version=='3.8' and platform_machine=='arm64' and platform_system=='Darwin'
31
+
numpy==1.20.0; python_version=='3.9' and platform_machine=='arm64' and platform_system=='Darwin'
27
32
28
33
# default numpy requirements
29
-
"numpy==1.16.5; python_version=='3.6' and platform_machine!='aarch64' and platform_python_implementation != 'PyPy'",
30
-
"numpy==1.16.5; python_version=='3.7' and platform_machine!='aarch64' and platform_python_implementation != 'PyPy'",
31
-
"numpy==1.17.3; python_version=='3.8' and platform_machine!='aarch64' and platform_python_implementation != 'PyPy'",
32
-
"numpy==1.19.3; python_version=='3.9' and platform_python_implementation != 'PyPy'",
34
+
"numpy==1.16.5; python_version=='3.7' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_machine!='aarch64' and platform_python_implementation != 'PyPy'",
35
+
"numpy==1.17.3; python_version=='3.8' and (platform_machine!='arm64' or platform_system!='Darwin')and and platform_machine!='aarch64' and platform_python_implementation != 'PyPy'",
36
+
"numpy==1.19.3; python_version=='3.9' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_python_implementation != 'PyPy'",
33
37
34
38
# First PyPy versions for which there are numpy wheels
35
-
"numpy==1.19.0; python_version=='3.6' and platform_python_implementation=='PyPy'",
36
39
"numpy==1.20.0; python_version=='3.7' and platform_python_implementation=='PyPy'",
37
40
38
41
# For Python versions which aren't yet officially supported,
0 commit comments