@@ -17,23 +17,14 @@ def main():
17
17
CI_BUILD = os .environ .get ("CI_BUILD" , "False" )
18
18
is_CI_build = True if CI_BUILD == "1" else False
19
19
cmake_source_dir = "opencv"
20
- minimum_supported_numpy = "1.13.3 "
20
+ minimum_supported_numpy = "1.26.0 "
21
21
build_contrib = get_build_env_var_by_name ("contrib" )
22
22
build_headless = get_build_env_var_by_name ("headless" )
23
23
build_java = "ON" if get_build_env_var_by_name ("java" ) else "OFF"
24
24
build_rolling = get_build_env_var_by_name ("rolling" )
25
25
26
26
install_requires = [
27
- 'numpy>=1.13.3,<2; python_version<"3.7"' ,
28
- 'numpy>=1.17.0,<2; python_version>="3.7"' , # https://github.com/numpy/numpy/pull/13725
29
- 'numpy>=1.17.3,<2; python_version>="3.8"' ,
30
- 'numpy>=1.19.3,<2; python_version>="3.9"' ,
31
- 'numpy>=1.21.2,<2; python_version>="3.10"' ,
32
- 'numpy>=1.19.3,<2; python_version>="3.6" and platform_system=="Linux" and platform_machine=="aarch64"' ,
33
- 'numpy>=1.21.0,<2; python_version<="3.9" and platform_system=="Darwin" and platform_machine=="arm64"' ,
34
- 'numpy>=1.21.4,<2; python_version>="3.10" and platform_system=="Darwin"' ,
35
- "numpy>=1.23.5,<2; python_version>='3.11'" ,
36
- "numpy>=1.26.0,<2; python_version>='3.12'" ,
27
+ "numpy>=1.26.0,<2" ,
37
28
]
38
29
39
30
python_version = cmaker .CMaker .get_python_version ()
0 commit comments