Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a5fc295

Browse filesBrowse files
committed
fix min supported numpy
1 parent 39ca0fd commit a5fc295
Copy full SHA for a5fc295

File tree

1 file changed

+5
-3
lines changed
Filter options

1 file changed

+5
-3
lines changed

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+5-3Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,24 @@ def main():
1717
CI_BUILD = os.environ.get("CI_BUILD", "False")
1818
is_CI_build = True if CI_BUILD == "1" else False
1919
cmake_source_dir = "opencv"
20-
minimum_supported_numpy = "1.13.1"
20+
minimum_supported_numpy = "1.13.3"
2121
build_contrib = get_build_env_var_by_name("contrib")
2222
build_headless = get_build_env_var_by_name("headless")
2323
build_java = "ON" if get_build_env_var_by_name("java") else "OFF"
2424

2525
if sys.version_info[:2] >= (3, 6):
2626
minimum_supported_numpy = "1.13.3"
27-
if sys.version_info[:2] >= (3, 6) and platform.machine() == "aarch64":
28-
minimum_supported_numpy = "1.19.0"
2927
if sys.version_info[:2] >= (3, 7):
3028
minimum_supported_numpy = "1.14.5"
3129
if sys.version_info[:2] >= (3, 8):
3230
minimum_supported_numpy = "1.17.3"
3331
if sys.version_info[:2] >= (3, 9):
3432
minimum_supported_numpy = "1.19.3"
3533

34+
# arm64 is a special case
35+
if sys.version_info[:2] >= (3, 6) and platform.machine() == "aarch64":
36+
minimum_supported_numpy = "1.19.3"
37+
3638
numpy_version = "numpy>=%s" % minimum_supported_numpy
3739

3840
python_version = cmaker.CMaker.get_python_version()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.