@@ -22,17 +22,11 @@ def main():
22
22
build_java = "ON" if get_build_env_var_by_name ("java" ) else "OFF"
23
23
build_rolling = get_build_env_var_by_name ("rolling" )
24
24
25
+ # NOTE: since 2.3.0 numpy upgraded from manylinux2014 to manylinux_2_28
26
+ # see https://numpy.org/doc/stable/release/2.3.0-notes.html#numpy-2-3-0-release-notes
25
27
install_requires = [
26
- 'numpy>=1.13.3; python_version<"3.7"' ,
27
- 'numpy>=1.17.0; python_version>="3.7"' , # https://github.com/numpy/numpy/pull/13725
28
- 'numpy>=1.17.3; python_version>="3.8"' ,
29
- 'numpy>=1.19.3; python_version>="3.9"' ,
30
- 'numpy>=1.21.2; python_version>="3.10"' ,
31
- 'numpy>=1.19.3; python_version>="3.6" and platform_system=="Linux" and platform_machine=="aarch64"' ,
32
- 'numpy>=1.21.0; python_version<="3.9" and platform_system=="Darwin" and platform_machine=="arm64"' ,
33
- 'numpy>=1.21.4; python_version>="3.10" and platform_system=="Darwin"' ,
34
- "numpy>=1.23.5; python_version>='3.11'" ,
35
- "numpy>=1.26.0; python_version>='3.12'"
28
+ 'numpy<2.0; python_version<"3.9"' ,
29
+ 'numpy(>=2, <2.3.0); python_version>="3.9"' ,
36
30
]
37
31
38
32
python_version = cmaker .CMaker .get_python_version ()
0 commit comments