Skip to content

Commit

Permalink
[Tests] Fix docker test to avoid using python 3.12 (#3465)
Browse files Browse the repository at this point in the history
Fix docker test to avoid using python 3.12
  • Loading branch information
Michaelvll authored Apr 23, 2024
1 parent 1d31671 commit 6eb7203
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions tests/test_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -1012,8 +1012,9 @@ def test_kubernetes_storage_mounts():
[
"docker:nvidia/cuda:11.8.0-devel-ubuntu18.04",
"docker:ubuntu:18.04",
# Test image with python 3.11 installed by default.
"docker:continuumio/miniconda3",
# Test latest image with python 3.11 installed by default.
# Does not work for python 3.12 due to ray's requirement for 3.11.
'docker:continuumio/miniconda3:24.1.2-0',
])
def test_docker_storage_mounts(generic_cloud: str, image_id: str):
# Tests bucket mounting on docker container
Expand Down Expand Up @@ -1193,8 +1194,9 @@ def test_job_queue(generic_cloud: str):
[
"docker:nvidia/cuda:11.8.0-devel-ubuntu18.04",
"docker:ubuntu:18.04",
# Test image with python 3.11 installed by default.
"docker:continuumio/miniconda3",
# Test latest image with python 3.11 installed by default.
# Does not work for python 3.12 due to ray's requirement for 3.11.
'docker:continuumio/miniconda3:24.1.2-0',
])
def test_job_queue_with_docker(generic_cloud: str, image_id: str):
name = _get_cluster_name() + image_id[len('docker:'):][:4]
Expand Down Expand Up @@ -2812,8 +2814,9 @@ def test_aws_custom_image():
[
"docker:nvidia/cuda:11.8.0-devel-ubuntu18.04",
"docker:ubuntu:18.04",
# Test image with python 3.11 installed by default.
"docker:continuumio/miniconda3",
# Test latest image with python 3.11 installed by default.
# Does not work for python 3.12 due to ray's requirement for 3.11.
'docker:continuumio/miniconda3:24.1.2-0',
])
def test_kubernetes_custom_image(image_id):
"""Test Kubernetes custom image"""
Expand Down

0 comments on commit 6eb7203

Please sign in to comment.