Skip to content

Commit 37a7530

Browse files
kbourgoinrgommers
andauthored
arm64 requires 1.20.0 or above (#20)
Co-authored-by: Ralf Gommers <[email protected]>
1 parent b6465d8 commit 37a7530

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

setup.cfg

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,16 @@ install_requires =
3535
numpy==1.19.2; python_version=='3.7' and platform_machine=='aarch64'
3636
numpy==1.19.2; python_version=='3.8' and platform_machine=='aarch64'
3737

38+
# arm64 on Darwin supports Python 3.8 and above requires numpy>=1.20.0
39+
numpy==1.20.0; python_version=='3.8' and platform_machine=='arm64' and platform_system=='Darwin'
40+
numpy==1.20.0; python_version=='3.9' and platform_machine=='arm64' and platform_system=='Darwin'
41+
3842
# default numpy requirements
3943
numpy==1.13.3; python_version=='3.5' and platform_machine!='aarch64' and platform_system!='AIX'
4044
numpy==1.13.3; python_version=='3.6' and platform_machine!='aarch64' and platform_system!='AIX' and platform_python_implementation != 'PyPy'
4145
numpy==1.14.5; python_version=='3.7' and platform_machine!='aarch64' and platform_system!='AIX' and platform_python_implementation != 'PyPy'
42-
numpy==1.17.3; python_version=='3.8' and platform_machine!='aarch64' and platform_python_implementation != 'PyPy'
43-
numpy==1.19.3; python_version=='3.9' and platform_python_implementation != 'PyPy'
46+
numpy==1.17.3; python_version=='3.8' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_machine!='aarch64' and platform_python_implementation != 'PyPy'
47+
numpy==1.19.3; python_version=='3.9' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_python_implementation != 'PyPy'
4448

4549
numpy==1.19.0; python_version=='3.6' and platform_python_implementation=='PyPy'
4650
numpy==1.20.0; python_version=='3.7' and platform_python_implementation=='PyPy'

0 commit comments

Comments
 (0)