Skip to content

Commit

Permalink
[ci] Fix runtime env tests (ray-project#24912)
Browse files Browse the repository at this point in the history
This fixes failing tests from ray-project#24894
  • Loading branch information
krfricke authored and Kai Fricke committed May 24, 2022
1 parent 36fc5ed commit fe38306
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion python/ray/tests/test_runtime_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ def test_get_wheel_filename():
ray_version = "3.0.0.dev0"
for sys_platform in ["darwin", "linux", "win32"]:
for py_version in ["36", "37", "38", "39"]:
if sys_platform == "win32" and py_version == "36":
# Windows wheels are not built for py3.6 anymore
continue
filename = get_wheel_filename(sys_platform, ray_version, py_version)
prefix = "https://s3-us-west-2.amazonaws.com/ray-wheels/latest/"
url = f"{prefix}{filename}"
Expand All @@ -44,9 +47,12 @@ def test_get_wheel_filename():

def test_get_master_wheel_url():
ray_version = "3.0.0.dev0"
test_commit = "58a73821fbfefbf53a19b6c7ffd71e70ccf258c7"
test_commit = "c3ac6fcf3fcc8cfe6930c9a820add0e187bff579"
for sys_platform in ["darwin", "linux", "win32"]:
for py_version in ["36", "37", "38", "39"]:
if sys_platform == "win32" and py_version == "36":
# Windows wheels are not built for py3.6 anymore
continue
url = get_master_wheel_url(
test_commit, sys_platform, ray_version, py_version
)
Expand Down

0 comments on commit fe38306

Please sign in to comment.