mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
[Core] [runtime env] Fix bug where None is added to pip dependencies when built from source (#16173)
This commit is contained in:
parent
e1da31f149
commit
46acac03ae
1 changed files with 3 additions and 1 deletions
|
@ -48,8 +48,10 @@ def setup(input_args):
|
|||
assert conda_dict is not None
|
||||
py_version = ".".join(map(str,
|
||||
sys.version_info[:3])) # like 3.6.10
|
||||
ray_pip = current_ray_pip_specifier()
|
||||
extra_pip_dependencies = [ray_pip] if ray_pip else []
|
||||
conda_dict = inject_dependencies(conda_dict, py_version,
|
||||
[current_ray_pip_specifier()])
|
||||
extra_pip_dependencies)
|
||||
# Locking to avoid multiple processes installing concurrently
|
||||
conda_hash = hashlib.sha1(
|
||||
json.dumps(conda_dict,
|
||||
|
|
Loading…
Add table
Reference in a new issue