Content-Length: 286653 | pFad | http://github.com/opencv/opencv-python/commit/54294dda82192b40f85061e2f3c6733de17e62d0

04 fix min supported numpy · opencv/opencv-python@54294dd · GitHub
Skip to content

Commit 54294dd

Browse files
committed
fix min supported numpy
1 parent 7701ec7 commit 54294dd

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

setup.py

+5-3
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/opencv/opencv-python/commit/54294dda82192b40f85061e2f3c6733de17e62d0

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy