[Core] [runtime env] Fix test_get_master_wheel_url (#16234)

This commit is contained in:
architkulkarni 2021-06-03 21:09:43 -07:00 committed by GitHub
parent 2d26c6ea5d
commit 6be5ec8f39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -590,6 +590,9 @@ def get_master_wheel_url(
py_version: str = f"{sys.version_info.major}{sys.version_info.minor}"
) -> str:
"""Return the URL for the wheel from a specific commit."""
filename = get_wheel_filename(
sys_platform=sys_platform,
ray_version=ray_version,
py_version=py_version)
return (f"https://s3-us-west-2.amazonaws.com/ray-wheels/master/"
f"{ray_commit}/{get_wheel_filename()}")
f"{ray_commit}/{filename}")