Skip to content

Commit 45e535e

Browse files
authored
Fix: numpy version for python 3.11 (#839)
Fix for issue #835 I encountered the same issue today. By updating to require numpy 1.24.3 I was about to build successfully for my environment (python 3.11.3 / macos ventura arm64 / gstreamer support enabled)
1 parent ccb99df commit 45e535e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ requires = [
1010
"numpy==1.19.3; python_version=='3.9' and platform_machine != 'aarch64' and platform_machine != 'arm64'",
1111
"numpy==1.21.2; python_version=='3.10' and platform_system!='Darwin'",
1212
"numpy==1.21.4; python_version=='3.10' and platform_system=='Darwin'",
13-
"numpy==1.22.0; python_version>='3.11'"
13+
"numpy==1.23.2; python_version>='3.11'"
1414
]

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def main():
3232
'numpy>=1.19.3; python_version>="3.6" and platform_system=="Linux" and platform_machine=="aarch64"',
3333
'numpy>=1.21.0; python_version<="3.9" and platform_system=="Darwin" and platform_machine=="arm64"',
3434
'numpy>=1.21.4; python_version>="3.10" and platform_system=="Darwin"',
35-
"numpy>=1.22.0; python_version>='3.11'"
35+
"numpy>=1.23.5; python_version>='3.11'"
3636
]
3737

3838
python_version = cmaker.CMaker.get_python_version()

0 commit comments

Comments
 (0)