Skip to content

[ci][release] Publish cu133 (CUDA 13.3.1) images from release branches - #67723

Merged
elliot-barn merged 1 commit into
masterfrom
elliot-barn/cu133-release
Nov 8, 2026
Merged

elliot-barn merged 1 commit into
masterfrom
elliot-barn/cu133-release

Conversation

@elliot-barn

Copy link
Copy Markdown
Collaborator

Why

#66547 added cu13.3.1-cudnn images but kept them nightly-only. NIGHTLY_ONLY_PLATFORMS in push_ray_image.py skipped cu133 when pushing from releases/*. Nightly cu133 images have shipped since 2026-10-29, and the rayturbo and product nightly support has merged (anyscale/rayturbo#4453, anyscale/product#45847). This PR removes the gate so that, from the 2.61.0 branch cut, rayproject/ray:X.Y.Z-pyXY-cu133 and ray-extra cu133 images are published as part of the release, like cu130.

Changes

  • Remove NIGHTLY_ONLY_PLATFORMS and the release-branch skip in push_ray_image.main.
  • Repurpose the gate's test: it now asserts that cu133 is pushed on both a releases/* branch and a master nightly.

Duplicate check

The gate was added by #66547 (mine). No other open PR touches it.

Testing

  • PYTHONPATH=release:. pytest ci/ray_ci/automation/test_push_ray_image.py: 66 passed.

AI assistance (Claude Code) was used to write this change. I reviewed every changed line.

🤖 Generated with Claude Code

#66547 added cu13.3.1-cudnn to the image matrix but kept it nightly-only:
NIGHTLY_ONLY_PLATFORMS made push_ray_image skip it on releases/* branches.
cu133 has been in nightlies since 2026-10-29, so remove the gate. Starting
with the 2.61.0 branch cut, the ray / ray-extra -cu133 images ship as
part of the release, the same way cu130 does.

The test now asserts that cu133 is pushed on both a releases/* branch and
a master nightly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@elliot-barn
elliot-barn marked this pull request as ready for review November 3, 2026 22:18
@elliot-barn
elliot-barn requested a review from a team as a code owner November 3, 2026 22:18
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@ray-gardener ray-gardener Bot added devprod release-test release test labels Nov 4, 2026
@elliot-barn
elliot-barn merged commit a83e55e into master Nov 8, 2026
5 of 6 checks passed
@elliot-barn
elliot-barn deleted the elliot-barn/cu133-release branch November 8, 2026 20:29
elliot-barn added a commit that referenced this pull request Nov 10, 2026
## Why

Starting with Ray 2.61.0, the release artifacts (PyPI wheels and
`rayproject/ray` / `ray-extra` images) no longer include Python 3.10.
This PR only stops **publishing** 3.10. CI keeps building py3.10
internally: the core build, kuberay, the HA integration tests and the
runtime_env container tests all depend on it. `python_requires` is
unchanged, so this isn't a full support drop.

## What changes

**Wheels**
- `build.rayci.yml` / `linux_aarch64.rayci.yml`: the 3.10 Linux wheel
*builds* **and their S3 upload** (`linux_wheels_upload`,
`linux_wheels_upload_aarch64`) stay. The Anyscale runtime image builds
(rayturbo) install the OSS cp310 manylinux wheel from
`ray-wheels/<branch>/<commit>/` and gate their whole image pipeline on
it existing, on master and on release branches. These S3 wheels are not
released: `ray_wheels_lib.PYTHON_VERSIONS` drops cp310 (below), so the
release download and PyPI upload never pick them up.
- `windows.rayci.yml`: drop 3.10 from the `windows_wheels` matrix.
- `python/build-wheel-macos.sh`: stop building cp310.
`ci/build/test-macos-wheels.sh` now tests 3.11/3.12, and the 3.10-only
conda pip workaround is removed from both scripts.
- `ray_wheels_lib.PYTHON_VERSIONS`: drop `cp310`, so release
download/upload doesn't expect cp310 wheels.
- release-automation: drop 3.10 from the Linux x86_64/arm64 TestPyPI
validation matrices and from `verify-macos-wheels.sh`.

**Images**
- Drop 3.10 from the `ray_images_push`, `ray_extra_images_push` and
`*_aarch64` publish steps.
- `ray-images.json`: remove 3.10 from `ray.python`. This list drives
`push_ray_image` validation, nightly index generation (`generate_index`)
and the image commit checks.
- **Default python tag 3.10 → 3.11** (`DEFAULT_PYTHON_TAG_VERSION` and
the `ray-images.json` default). Untagged tags (`X.Y.Z`, `nightly`,
`latest`, `-cpu`, `-gpu`, …) now point at py3.11. This also applies to
the `anyscale/ray` release-test image tags pushed by
`push_release_test_image`. Release tests always use explicit `-pyXY`
tags, so they aren't affected.
- `DockerContainer` (the legacy `build_in_docker docker` path, no longer
used to publish) now validates python against the CI-buildable set
(`configs.PYTHON_VERSIONS`) instead of the published set. This keeps the
py3.10 HA-integration / kuberay / runtime_env test images building.

**Docs**
- Remove the 3.10 nightly wheel links. Update the image-tag docs
(default is py3.11; no py310 images from 2.61) and the dev-install wheel
example.
- Installed-dependencies section: document the **py3.11** image.
`pip_freeze_ray-py310-cpu.txt` is renamed to
`pip_freeze_ray-py311-cpu.txt` and seeded from master postmerge #20742
(`6fe11a7b4c`, artifact `ray:6fe11a-py311-cpu_pip-freeze.txt`). The
release docs-deps automation (anyscale/product `devprod/rayrelease`)
needs a matching change to read the py3.11 artifact. That change goes in
separately.

Not changed here: ray-ml, which #67518 removes, and the runtime_env
conda py-version list.

## Duplicate check

`gh pr list --state open --search "python 3.10"` / `"3.10 release wheels
images"` returns no open PR for this.

## Testing

- `PYTHONPATH=release:. pytest ci/ray_ci ci/build
release/ray_release/tests` on this branch vs a clean checkout of the
same master commit (944780d): identical failure set (8 failed / 9
errors, all pre-existing local-env issues such as the missing bazel
runfiles `Rlocation`), and 1435 vs 1433 passed. The +2 is the new
`test_python_310_not_published_for_ray` cases. Parametrized test IDs
changed only where the version was bumped.
- YAML parse check that each edited publish/upload/validate step's
python matrix is now `3.11–3.14`. `bash -n` on the edited shell scripts.
- Pre-commit hooks pass.
- Combined with #67723 (cu133 release publishing) on top of master: the
two merge cleanly, and `bazelisk test
//ci/ray_ci/automation:test_push_ray_image` passes.

AI assistance (Claude Code) was used to write this change. I reviewed
every changed line.

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

---------

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant