Skip to content

Commit 3725898

Browse files
authored
Bump numpy version to 1.21.4 for macOS builds (#720)
1 parent deb3903 commit 3725898

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ requires = [
88
"numpy==1.19.3; python_version<='3.9' and sys_platform == 'linux' and platform_machine == 'aarch64'",
99
"numpy==1.21.0; python_version<='3.9' and sys_platform == 'darwin' and platform_machine == 'arm64'",
1010
"numpy==1.19.3; python_version=='3.9' and platform_machine != 'aarch64' and platform_machine != 'arm64'",
11-
"numpy==1.21.2; python_version>='3.10'"
11+
"numpy==1.21.2; python_version>='3.10'",
12+
"numpy==1.21.4; python_version>='3.10' and platform_system=='Darwin'"
1213
]

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ def main():
3030
'numpy>=1.19.3; python_version>="3.9"',
3131
'numpy>=1.21.2; python_version>="3.10"',
3232
'numpy>=1.19.3; python_version>="3.6" and platform_system=="Linux" and platform_machine=="aarch64"',
33-
'numpy>=1.21.2; python_version>="3.6" and platform_system=="Darwin" and platform_machine=="arm64"',
33+
'numpy>=1.21.0; python_version<="3.9" and platform_system=="Darwin" and platform_machine=="arm64"',
34+
'numpy>=1.21.4; python_version>="3.10" and platform_system=="Darwin"',
3435
]
3536

3637
python_version = cmaker.CMaker.get_python_version()

0 commit comments

Comments
 (0)