Skip to content

Commit

Permalink
[runtime_env] Fix failing wheel_urls release test (#31239)
Browse files Browse the repository at this point in the history
This PR updates the release tests wheel_urls to make it compatible with the internal API change in PR #30970. Previously the release test was breaking with

  File "/home/ray/anaconda3/lib/python3.7/site-packages/ray/_private/utils.py", line 1266, in get_wheel_filename
    assert py_version in ray_constants.RUNTIME_ENV_CONDA_PY_VERSIONS, py_version
AssertionError: 36
  • Loading branch information
architkulkarni authored Dec 20, 2022
1 parent a15037c commit 5343fb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion release/runtime_env_tests/workloads/wheel_urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import requests
import pprint

import ray._private.runtime_env.constants as ray_constants
from ray._private.utils import get_master_wheel_url, get_release_wheel_url


Expand All @@ -40,7 +41,7 @@ def update_progress(result):

retry = set()
for sys_platform in ["darwin", "linux", "win32"]:
for py_version in ["36", "37", "38", "39", "310"]:
for py_version in ray_constants.RUNTIME_ENV_CONDA_PY_VERSIONS:
if "dev" in ray.__version__:
url = get_master_wheel_url(
ray_commit=ray.__commit__,
Expand Down

0 comments on commit 5343fb1

Please sign in to comment.