Skip to content

Commit 5c7e75d

Browse files
elliot-barnnrghoshaslonnie
authored andcommitted
[ci] update ci py310 tests - CI-UPGRADES(2/5) (ray-project#58169)
updating subset of ci tests to run on 3.10 The following are failing tests that have been left to run on python 3.9: lint-roller: python API: api_policy_check (**Premerge**) ray-serve: serve: tests (**Premerge**) ray-serve: serve: pydantic < 2.0 tests (**Postmerge**) ray-serve: serve: same event loop tests (**Postmerge**) Failing postmerge build: https://buildkite.com/ray-project/postmerge/builds/14010#_ Successful postmerge runs on python 3.9 ray-serve: serve: pydantic < 2.0 tests: https://buildkite.com/ray-project/postmerge/builds/14043 ray-serve: serve: same event loop tests: https://buildkite.com/ray-project/postmerge/builds/14042 --------- Signed-off-by: elliot-barn <[email protected]> Co-authored-by: Nikhil G <[email protected]> Co-authored-by: Lonnie Liu <[email protected]>
1 parent 734cf99 commit 5c7e75d

File tree

4 files changed

+17
-10
lines changed

4 files changed

+17
-10
lines changed

.buildkite/base.rayci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ steps:
88
wanda: ci/docker/base.test.wanda.yaml
99
matrix:
1010
- "3.9"
11+
- "3.10"
1112
- "3.11"
1213
- "3.12"
1314
env:
@@ -23,6 +24,7 @@ steps:
2324
wanda: ci/docker/base.build.wanda.yaml
2425
matrix:
2526
- "3.9"
27+
- "3.10"
2628
- "3.11"
2729
- "3.12"
2830
env:
@@ -83,6 +85,7 @@ steps:
8385
- ray-dashboard-build
8486
matrix:
8587
- "3.9"
88+
- "3.10"
8689
- "3.12"
8790
env:
8891
PYTHON: "{{matrix}}"

.buildkite/build.rayci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ steps:
168168
instance_type: medium
169169
soft_fail: true
170170
commands:
171-
- export WHEEL_URL="https://files.pythonhosted.org/packages/7e/7c/3544cca730265bb6f7a4900b7b7018c08ce5ec89bf7b6102901fe0bcd67b/ray-2.44.1-cp39-cp39-manylinux2014_x86_64.whl"
172-
- export CPP_WHEEL_URL="https://files.pythonhosted.org/packages/50/ae/c094818fd526bfb0a361a76bda5708a73cbc888b51edfc7d6aab9de837cd/ray_cpp-2.44.1-cp39-cp39-manylinux2014_x86_64.whl"
171+
- export WHEEL_URL="https://files.pythonhosted.org/packages/93/f1/9108c4f878e3cacb767b7dfbbc3a26537c79ab516d2530b9f63b558ba4bb/ray-2.44.1-cp310-cp310-manylinux2014_x86_64.whl"
172+
- export CPP_WHEEL_URL="https://files.pythonhosted.org/packages/d3/cf/ef6d5a9a688001f73e4749c48f840455ecec11acde982eb70f387b0dc445/ray_cpp-2.44.1-cp310-cp310-manylinux2014_x86_64.whl"
173173
- bash build-docker.sh --progress-plain
174174
- docker run -ti --rm rayproject/ray:dev python -c "import ray; print(ray.__version__)"
175175
depends_on:

.buildkite/lint.rayci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ steps:
6464
commands:
6565
- make -C doc/ linkcheck_all
6666
depends_on: docbuild
67-
job_env: docbuild-py3.9
67+
job_env: docbuild-py3.10
6868
tags:
6969
- oss
7070
- skip-on-premerge

.buildkite/serve.rayci.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ steps:
1313
- name: servebuild-multipy
1414
label: "wanda: servebuild-py{{matrix}}"
1515
wanda: ci/docker/serve.build.wanda.yaml
16-
matrix: ["3.12"]
16+
matrix:
17+
- "3.10"
18+
- "3.12"
1719
env:
1820
PYTHON: "{{matrix}}"
1921
depends_on: oss-ci-base_build-multipy
@@ -27,14 +29,15 @@ steps:
2729
wanda: ci/docker/servetracing.build.wanda.yaml
2830

2931
- name: minbuild-serve
30-
label: "wanda: minbuild-{{matrix}}-py39"
32+
label: "wanda: minbuild-{{matrix.extra}}-py{{matrix.python}}"
3133
wanda: ci/docker/min.build.wanda.yaml
3234
matrix:
33-
- serve
34-
- default
35+
setup:
36+
python: ["3.9", "3.10"]
37+
extra: ["serve", "default"]
3538
env:
36-
PYTHON_VERSION: "3.9"
37-
EXTRA_DEPENDENCY: "{{matrix}}"
39+
PYTHON_VERSION: "{{matrix.python}}"
40+
EXTRA_DEPENDENCY: "{{matrix.extra}}"
3841
tags: cibase
3942

4043
# tests
@@ -148,7 +151,7 @@ steps:
148151
commands:
149152
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/dashboard/... serve
150153
--parallelism-per-worker 2
151-
--build-name minbuild-default-py3.9
154+
--build-name minbuild-default-py3.10
152155
--test-env=RAY_DEFAULT=1
153156
--only-tags minimal
154157
depends_on: minbuild-serve
@@ -162,6 +165,7 @@ steps:
162165
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/serve/tests/... serve
163166
--parallelism-per-worker 2
164167
--build-name minbuild-serve-py3.9
168+
--test-env=EXPECTED_PYTHON_VERSION=3.9
165169
--test-env=RAY_DEFAULT=1
166170
--only-tags minimal
167171
depends_on: minbuild-serve

0 commit comments

Comments
 (0)