Skip to content

[Release / DO NOT MERGE] Update release tests to Python 3.14 - #63270

Closed
pseudo-rnd-thoughts wants to merge 85 commits into
ray-project:masterfrom
pseudo-rnd-thoughts:py3.14-release-testing
Closed

pseudo-rnd-thoughts wants to merge 85 commits into
ray-project:masterfrom
pseudo-rnd-thoughts:py3.14-release-testing

Conversation

@pseudo-rnd-thoughts

@pseudo-rnd-thoughts pseudo-rnd-thoughts commented May 11, 2026 •

Copy link
Copy Markdown
Member

[DO NOT MERGE]

Description

Testing all the release tests with Python 3.14

All nightly core, clusters, data, ml are passing with only a single tune related bug.
Next: serve test, most tests pass though we need to update the anyscale cli's pydantic implementation to be compatible with 3.14

we can't test llm as cuda-tile hasn't got 3.14 tests yet (May 22nd)

elliot-barn and others added 11 commits May 1, 2026 23:26
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Comment thread release/release_tests.yaml Resolved
Comment thread release/release_tests.yaml Resolved

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Python version for various release tests from 3.10 or 3.12 to 3.14. The reviewer identified several critical issues: Python 3.14 is not yet a released version, suggesting a widespread typo, and the change introduces incompatibilities with existing Python 3.12 lockfiles and specialized Docker images used in the testing infrastructure.

Comment thread release/release_tests.yaml Resolved
Comment thread release/release_tests.yaml Resolved
Comment thread release/release_tests.yaml Resolved
Comment thread release/release_tests.yaml Resolved
Signed-off-by: Mark Towers <[email protected]>
@pseudo-rnd-thoughts
pseudo-rnd-thoughts requested a review from a team as a code owner May 11, 2026 17:04
Mark Towers and others added 3 commits May 11, 2026 18:17
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
@ray-gardener ray-gardener Bot added core Issues that should be addressed in Ray Core devprod release-test release test labels May 11, 2026

@aslonnie aslonnie left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(skipping review on draft pr)

@aslonnie
aslonnie requested a review from elliot-barn May 11, 2026 19:40
@elliot-barn
elliot-barn requested a review from a team as a code owner May 12, 2026 17:59
diff -u ./python/deplocks/llm/"${LOCK_TYPE}"_py312_"${VARIANT}".lock "$TEMP_DIR/${LOCK_TYPE}_py312_${VARIANT}_backup.lock" || {
echo "${LOCK_TYPE}_py312_${VARIANT}.lock is not up to date. Please download it from Artifacts tab and git push the changes."
diff -u ./python/deplocks/llm/"${LOCK_TYPE}"_py314_"${VARIANT}".lock "$TEMP_DIR/${LOCK_TYPE}_py314_${VARIANT}_backup.lock" || {
echo "${LOCK_TYPE}_py314_${VARIANT}.lock is not up to date. Please download it from Artifacts tab and git push the changes."

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LLM compile script wrong variant

High Severity

The LLM lockfile verification script still loops over the cu130 variant after the depsets and committed locks moved Python 3.14 GPU artifacts to cu128. It copies and diffs *_py314_cu130.lock paths that are not produced anymore, so the check fails immediately or never validates the real lockfiles.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit b90cfe9. Configure here.

Comment thread .buildkite/release/build.rayci.yml Resolved
Mark Towers added 2 commits June 16, 2026 14:28
Signed-off-by: pseudo-rnd-thoughts <[email protected]>
@pseudo-rnd-thoughts
pseudo-rnd-thoughts requested a review from a team as a code owner June 17, 2026 13:04
Mark Towers added 9 commits June 26, 2026 13:42
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: Mark Towers <[email protected]>
# Conflicts:
#	python/deplocks/base_extra_testdeps/ray-base_extra_testdeps_py3.14.lock
#	python/requirements.txt
#	release/release_multimodal_inference_benchmarks_tests.yaml
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: Mark Towers <[email protected]>
Mark Towers added 2 commits June 29, 2026 14:19
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: Mark Towers <[email protected]>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

There are 3 total unresolved issues (including 2 from previous reviews).

Fix All in Cursor

Reviewed by Cursor Bugbot for commit 425a936. Configure here.

- PYTHON_VERSION
- ARCH_SUFFIX
- IMAGE_TYPE=ray-torch
- BASE_VARIANT=base

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ray-torch image skips testdeps

Medium Severity

The new ray-torch Anyscale CUDA image is built from ray-torch-py…-base with BASE_VARIANT=base, unlike ray-anyscale-cuda, which uses ray-py…-base-extra-testdeps and BASE_VARIANT=base-extra-testdeps. Release tests that pull anyscale/ray-torch therefore miss the BYOD/test dependency layer other GPU Anyscale images include.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 425a936. Configure here.

Signed-off-by: Mark Towers <[email protected]>
@pseudo-rnd-thoughts

Copy link
Copy Markdown
Member Author

All release tests are passing in Python 3.14, therefore, closing this PR

elliot-barn added a commit that referenced this pull request Aug 5, 2026
…h image

Adds a nightly variant of torch_local_mode (picked from the #63270 port
list as the smallest torch test with no extra deps) that runs on the new
anyscale/ray-torch py3.14 cu12.8 image via the torch-cu128 BYOD type,
exercising the image end to end. The existing torch_local_mode test is
unchanged.

Co-Authored-By: Claude Fable 5 <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
elliot-barn added a commit that referenced this pull request Aug 5, 2026
## Description

Adds a **ray-torch** release test image, extracted from the py3.14
release testing branch (#63270). This image bundles torch + common ML
test dependencies (no vllm, which has no py3.14 wheels yet) on top of
the ray py3.14 cu12.8 base, so release tests can be run against Python
3.14 where the ray-ml image is not available. This is crucial for
verifying the py3.14 images work.

### Changes
- `docker/ray-torch/`: Dockerfile, cuda wanda spec, and torch
requirements
- `ci/raydepsets/configs/ray_torch.depsets.yaml` + compiled lock
`python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock` (expand of
`ray_img_depset_314` against the cu128 torch index, regenerated against
current master)
- `.buildkite/release/build.rayci.yml`: `ray-torchcudabase`,
`ray-torch-anyscale-cuda-build`, and `anyscaletorchcudabuild` publish
steps (py3.14 / cu12.8.1-cudnn)
- `ci/ray_ci/oss_config.yaml` + `ray_release`: support for the
`torch-cu128` BYOD type (`anyscale/ray-torch` repo, py3.14 only)
- `release/release_tests.yaml`: new manual-frequency
`torch_local_mode_ray_torch` test — a variant of `torch_local_mode`
(smallest torch test from the #63270 port list, no extra deps) running
on the ray-torch image via the `torch-cu128` BYOD type, so the image is
exercised end to end. The existing test is unchanged. **Verified passing
on the release pipeline: [build
#103115](https://buildkite.com/ray-project/release/builds/103115)**
(image build, publish, and test all green).

## Related issues

Extracted from #63270 (py3.14 release testing, DO NOT MERGE branch) so
the image lands on master independently.

## Additional information

AI-assisted (Claude Code); all changes reviewed by the submitter. Not
duplicating open work: #63270 is a closed testing-only branch and no
other open PR adds this image.

Tests run locally:
- `pytest release/ray_release/tests/test_global_config.py
release/ray_release/tests/test_test.py
release/ray_release/tests/test_config.py` — pass
- `bazel run //ci/raydepsets:raydepsets -- build
ci/raydepsets/configs/ray_torch.depsets.yaml --check` — lock files up to
date
- `pre-commit run` on changed files — pass

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
Artimislyy pushed a commit to Artimislyy/ray that referenced this pull request Aug 11, 2026
…ect#65114)

## Description

Adds a **ray-torch** release test image, extracted from the py3.14
release testing branch (ray-project#63270). This image bundles torch + common ML
test dependencies (no vllm, which has no py3.14 wheels yet) on top of
the ray py3.14 cu12.8 base, so release tests can be run against Python
3.14 where the ray-ml image is not available. This is crucial for
verifying the py3.14 images work.

### Changes
- `docker/ray-torch/`: Dockerfile, cuda wanda spec, and torch
requirements
- `ci/raydepsets/configs/ray_torch.depsets.yaml` + compiled lock
`python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock` (expand of
`ray_img_depset_314` against the cu128 torch index, regenerated against
current master)
- `.buildkite/release/build.rayci.yml`: `ray-torchcudabase`,
`ray-torch-anyscale-cuda-build`, and `anyscaletorchcudabuild` publish
steps (py3.14 / cu12.8.1-cudnn)
- `ci/ray_ci/oss_config.yaml` + `ray_release`: support for the
`torch-cu128` BYOD type (`anyscale/ray-torch` repo, py3.14 only)
- `release/release_tests.yaml`: new manual-frequency
`torch_local_mode_ray_torch` test — a variant of `torch_local_mode`
(smallest torch test from the ray-project#63270 port list, no extra deps) running
on the ray-torch image via the `torch-cu128` BYOD type, so the image is
exercised end to end. The existing test is unchanged. **Verified passing
on the release pipeline: [build
#103115](https://buildkite.com/ray-project/release/builds/103115)**
(image build, publish, and test all green).

## Related issues

Extracted from ray-project#63270 (py3.14 release testing, DO NOT MERGE branch) so
the image lands on master independently.

## Additional information

AI-assisted (Claude Code); all changes reviewed by the submitter. Not
duplicating open work: ray-project#63270 is a closed testing-only branch and no
other open PR adds this image.

Tests run locally:
- `pytest release/ray_release/tests/test_global_config.py
release/ray_release/tests/test_test.py
release/ray_release/tests/test_config.py` — pass
- `bazel run //ci/raydepsets:raydepsets -- build
ci/raydepsets/configs/ray_torch.depsets.yaml --check` — lock files up to
date
- `pre-commit run` on changed files — pass

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
400Ping pushed a commit to 400Ping/ray that referenced this pull request Aug 18, 2026
…ect#65114)

## Description

Adds a **ray-torch** release test image, extracted from the py3.14
release testing branch (ray-project#63270). This image bundles torch + common ML
test dependencies (no vllm, which has no py3.14 wheels yet) on top of
the ray py3.14 cu12.8 base, so release tests can be run against Python
3.14 where the ray-ml image is not available. This is crucial for
verifying the py3.14 images work.

### Changes
- `docker/ray-torch/`: Dockerfile, cuda wanda spec, and torch
requirements
- `ci/raydepsets/configs/ray_torch.depsets.yaml` + compiled lock
`python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock` (expand of
`ray_img_depset_314` against the cu128 torch index, regenerated against
current master)
- `.buildkite/release/build.rayci.yml`: `ray-torchcudabase`,
`ray-torch-anyscale-cuda-build`, and `anyscaletorchcudabuild` publish
steps (py3.14 / cu12.8.1-cudnn)
- `ci/ray_ci/oss_config.yaml` + `ray_release`: support for the
`torch-cu128` BYOD type (`anyscale/ray-torch` repo, py3.14 only)
- `release/release_tests.yaml`: new manual-frequency
`torch_local_mode_ray_torch` test — a variant of `torch_local_mode`
(smallest torch test from the ray-project#63270 port list, no extra deps) running
on the ray-torch image via the `torch-cu128` BYOD type, so the image is
exercised end to end. The existing test is unchanged. **Verified passing
on the release pipeline: [build
#103115](https://buildkite.com/ray-project/release/builds/103115)**
(image build, publish, and test all green).

## Related issues

Extracted from ray-project#63270 (py3.14 release testing, DO NOT MERGE branch) so
the image lands on master independently.

## Additional information

AI-assisted (Claude Code); all changes reviewed by the submitter. Not
duplicating open work: ray-project#63270 is a closed testing-only branch and no
other open PR adds this image.

Tests run locally:
- `pytest release/ray_release/tests/test_global_config.py
release/ray_release/tests/test_test.py
release/ray_release/tests/test_config.py` — pass
- `bazel run //ci/raydepsets:raydepsets -- build
ci/raydepsets/configs/ray_torch.depsets.yaml --check` — lock files up to
date
- `pre-commit run` on changed files — pass

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
Signed-off-by: 400Ping <[email protected]>
nadongjun pushed a commit to nadongjun/ray that referenced this pull request Oct 6, 2026
…ect#65114)

## Description

Adds a **ray-torch** release test image, extracted from the py3.14
release testing branch (ray-project#63270). This image bundles torch + common ML
test dependencies (no vllm, which has no py3.14 wheels yet) on top of
the ray py3.14 cu12.8 base, so release tests can be run against Python
3.14 where the ray-ml image is not available. This is crucial for
verifying the py3.14 images work.

### Changes
- `docker/ray-torch/`: Dockerfile, cuda wanda spec, and torch
requirements
- `ci/raydepsets/configs/ray_torch.depsets.yaml` + compiled lock
`python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock` (expand of
`ray_img_depset_314` against the cu128 torch index, regenerated against
current master)
- `.buildkite/release/build.rayci.yml`: `ray-torchcudabase`,
`ray-torch-anyscale-cuda-build`, and `anyscaletorchcudabuild` publish
steps (py3.14 / cu12.8.1-cudnn)
- `ci/ray_ci/oss_config.yaml` + `ray_release`: support for the
`torch-cu128` BYOD type (`anyscale/ray-torch` repo, py3.14 only)
- `release/release_tests.yaml`: new manual-frequency
`torch_local_mode_ray_torch` test — a variant of `torch_local_mode`
(smallest torch test from the ray-project#63270 port list, no extra deps) running
on the ray-torch image via the `torch-cu128` BYOD type, so the image is
exercised end to end. The existing test is unchanged. **Verified passing
on the release pipeline: [build
#103115](https://buildkite.com/ray-project/release/builds/103115)**
(image build, publish, and test all green).

## Related issues

Extracted from ray-project#63270 (py3.14 release testing, DO NOT MERGE branch) so
the image lands on master independently.

## Additional information

AI-assisted (Claude Code); all changes reviewed by the submitter. Not
duplicating open work: ray-project#63270 is a closed testing-only branch and no
other open PR adds this image.

Tests run locally:
- `pytest release/ray_release/tests/test_global_config.py
release/ray_release/tests/test_test.py
release/ray_release/tests/test_config.py` — pass
- `bazel run //ci/raydepsets:raydepsets -- build
ci/raydepsets/configs/ray_torch.depsets.yaml --check` — lock files up to
date
- `pre-commit run` on changed files — pass

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Issues that should be addressed in Ray Core devprod release-test release test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants