fix: use default numpy version (1.26.4) when git clone fails (version=0.0.0)
Some checks are pending
EcoArk Wheel Pipeline CI / build (push) Has started running
Some checks are pending
EcoArk Wheel Pipeline CI / build (push) Has started running
This commit is contained in:
@ -361,6 +361,9 @@ def rebuild_from_source(source_dir, pkg_name, output_dir, version="0.0.0",
|
|||||||
"""
|
"""
|
||||||
if pkg_name == "numpy":
|
if pkg_name == "numpy":
|
||||||
return build_numpy_wheel(version=version, output_dir=output_dir)
|
return build_numpy_wheel(version=version, output_dir=output_dir)
|
||||||
|
# Use default numpy version if no real version detected (e.g. git clone failed)
|
||||||
|
if version == "0.0.0":
|
||||||
|
version = "1.26.4"
|
||||||
return _stub_wheel(source_dir, pkg_name, output_dir, version, target_os, arch)
|
return _stub_wheel(source_dir, pkg_name, output_dir, version, target_os, arch)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user