Skip to content

Commit cd13e3a

Browse files
authored
set numpy requirement for aarch64 and py3.9 (#43722)
It is stated in this file on line 13 that `# Aarch64(Python 3.9 requirements are the same as AMD64)` However, the python 3.9 numpy requirement is excluding `aarch64`, therefore there is no `aarch64` numpy requirement defined at all for py3.9. When one tries to build pandas from source on `aarch64` with py3.9, there is no matching numpy found and therefore the build fails. This commit sets the numpy version requirement for `aarch64` on py3.9 the same as amd64 as stated.
1 parent b3e9ae7 commit cd13e3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ requires = [
99
# Copied from https://github.com/scipy/scipy/blob/master/pyproject.toml (which is also licensed under BSD)
1010
"numpy==1.17.3; python_version=='3.7' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_machine!='aarch64'",
1111
"numpy==1.18.3; python_version=='3.8' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_machine!='aarch64'",
12-
"numpy==1.19.3; python_version>='3.9' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_machine!='aarch64'",
12+
"numpy==1.19.3; python_version>='3.9' and (platform_machine!='arm64' or platform_system!='Darwin')",
1313
# Aarch64(Python 3.9 requirements are the same as AMD64)
1414
"numpy==1.19.2; python_version=='3.7' and platform_machine=='aarch64'",
1515
"numpy==1.19.2; python_version=='3.8' and platform_machine=='aarch64'",

0 commit comments

Comments
 (0)