Skip to content

[cherry-pick][2.60.0][ci][deps] Bump anyscale CLI in ray images to 0.26.110 (#67011) - #67321

Merged
sai-miduthuri merged 1 commit into
sai-miduthuri/cherry-pick-67256-2.60.0from
sai-miduthuri/cherry-pick-67011-2.60.0
Oct 26, 2026
Merged

sai-miduthuri merged 1 commit into
sai-miduthuri/cherry-pick-67256-2.60.0from
sai-miduthuri/cherry-pick-67011-2.60.0

Conversation

@sai-miduthuri

@sai-miduthuri sai-miduthuri commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Cherry-pick of #67011 (master commit bca4e8f) onto releases/2.60.0.

Why

The Ray images built from this branch install the anyscale CLI from the image lock files. Those locks pin anyscale 0.26.105, or 0.26.106 and 0.26.108 in the two ray-torch locks. #67011 raises the floor to >=0.26.110 in docker/base-extra/requirements.in and docker/base-slim/requirements.in, and moves the 34 image and BYOD locks to 0.26.110.

Cherry-pick details

Applied cleanly with git cherry-pick -x. The change is identical to the master commit:

  • The same 36 files, 104 insertions and 104 deletions, and the same git patch-id --stable.
  • In every file, the added and removed lines are identical to the master commit. 28 of the lock files differ from master's elsewhere, in other packages, but anyscale is still the only pin that moves in each.
  • As on master, ci_windows_depset.lock keeps its own anyscale pin.

This PR is stacked on the pick of #67256 (#67320). It changes the base-slim lock files, so CI rebuilds the base-slim images, and their py3.10 builds fail without #67256's conda fix.

Not a duplicate: this branch doesn't contain #67011, and no PR against releases/2.60.0 references it.

Testing

Command Result
pre-commit run --files <the 36 changed files> Passed (trailing whitespace, end of file, large files)

I didn't run the dependency check locally. CI's :tapioca: build: raydepsets: compile all dependencies job runs raydepsets build --all-configs --check on this PR, which checks that the locks are consistent with this branch's requirements.

AI assistance was used to prepare this cherry-pick.

🤖 Generated with Claude Code

@sai-miduthuri sai-miduthuri changed the title [ci][deps] Bump anyscale CLI in ray images to 0.26.110 (#67011) [cherry-pick][2.60.0][ci][deps] Bump anyscale CLI in ray images to 0.26.110 (#67011) Oct 23, 2026

@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 anyscale dependency version to 0.26.110 across multiple requirements and lock files, including base-extra, base-slim, and BYOD release locks. I have no feedback to provide.

@ray-gardener ray-gardener Bot added the core Issues that should be addressed in Ray Core label Oct 23, 2026
@sai-miduthuri
sai-miduthuri removed this pull request from stack #67323 October 23, 2026 19:30
@sai-miduthuri sai-miduthuri added the go add ONLY when ready to merge, run all tests label Oct 23, 2026
@sai-miduthuri
sai-miduthuri removed this pull request from stack #67345 October 23, 2026 21:44
@sai-miduthuri
sai-miduthuri force-pushed the sai-miduthuri/cherry-pick-67011-2.60.0 branch from 9750aec to 3920889 Compare October 23, 2026 21:45
@sai-miduthuri
sai-miduthuri requested a review from a team as a code owner October 23, 2026 21:45
@sai-miduthuri
sai-miduthuri changed the base branch from sai-miduthuri/cherry-pick-67256-2.60.0 to sai-miduthuri/cherry-pick-67350-2.60.0 October 23, 2026 21:45
## Description

The Ray images install the `anyscale` CLI from the compiled raydepsets
locks, using `uv pip install --no-deps -r <lock>` in
`docker/base-extra/Dockerfile` and `docker/base-slim/Dockerfile`. The
`anyscale[backend]>=0.26.105` floor in the `requirements.in` files never
moved the images forward, because recompiles keep the version already in
the lock. Every image lock was still on `0.26.105`, five releases behind
the latest PyPI release, `0.26.110` (2026-10-06).

This raises the floor to `>=0.26.110` in:
- `docker/base-extra/requirements.in` (`anyscale[backend]`)
- `docker/base-slim/requirements.in` (`anyscale`)

It then recompiles all depsets. **Exactly 34 locks change, and
`anyscale` → `0.26.110` is the only pin that moves in each:**
- `python/deplocks/base_extra/*` (5)
- `python/deplocks/base_extra_testdeps/*` (13)
- `python/deplocks/base_slim/*` (5)
- `python/deplocks/ray-torch/*` (2; these were on 0.26.108 and 0.26.106)
- `release/ray_release/byod/*` (9)

Deliberately not touched: `ci_windows_depset.lock` (the Windows CI
driver) and `release/requirements_py310.txt` (release-test tooling).
Neither is a Ray image, and each pins `anyscale` from its own `.in`
file.

I didn't add `--upgrade-package anyscale` to the depsets. That would
make `raydepsets --check` fail on unrelated PRs every time a new
`anyscale` is published.

## Testing

- `bazel run //ci/raydepsets:raydepsets -- build --all-configs` → exit 0
- `bazel run //ci/raydepsets:raydepsets -- build --all-configs --check`
→ exit 0, "Lock files are up to date."
- The pin diff across all changed locks is only
`anyscale==0.26.105/106/108 → 0.26.110`.

## Additional information

Not a duplicate: no open PR bumps `anyscale` in the image locks.

AI assistance (Claude Code) was used for this change.

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

Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
(cherry picked from commit bca4e8f)
Signed-off-by: Sai Miduthuri <[email protected]>
@sai-miduthuri
sai-miduthuri removed this pull request from stack #67353 October 23, 2026 22:20
@sai-miduthuri
sai-miduthuri force-pushed the sai-miduthuri/cherry-pick-67011-2.60.0 branch from 3920889 to 2a25172 Compare October 23, 2026 22:20
@sai-miduthuri
sai-miduthuri changed the base branch from sai-miduthuri/cherry-pick-67350-2.60.0 to sai-miduthuri/cherry-pick-67256-2.60.0 October 23, 2026 22:20
@sai-miduthuri
sai-miduthuri merged commit 96af053 into releases/2.60.0 Oct 26, 2026
5 checks passed
@sai-miduthuri
sai-miduthuri deleted the sai-miduthuri/cherry-pick-67011-2.60.0 branch October 26, 2026 10:38
sai-miduthuri added a commit that referenced this pull request Oct 26, 2026
…e python to 3.10 (#67256) (#67320)

Cherry-pick of #67256 (master commit
dc5d25c) onto `releases/2.60.0`.

## Why

On this branch, every Python 3.10 base image that misses the wanda cache
fails to build. In postmerge build 20439, that was:

- All 11 `ray-slim` py3.10 base images.
- 3 aarch64 py3.10 CUDA base images.
- `smoke test build-docker.sh`, which always builds `base-deps` from
scratch.

Each one fails in its `conda install python=3.10` step:

```
RemoveError: This operation will remove conda without replacing it with
another version of conda.
```

conda-forge `certifi` builds uploaded since 2026-10-19 require
`python>=3.11`, so the py3.10 solve drops `certifi`, `requests` and
`conda`. #67256 caps `certifi<2026` for Python 3.10 only, in
`docker/base-deps/Dockerfile` and `docker/base-slim/Dockerfile`.

On master, the smoke test failed in postmerge builds 20426 and 20436. It
has passed in every build since 20445, the first to include #67256.

## Cherry-pick details

Applied cleanly with `git cherry-pick -x`. The change is identical to
the master commit: the same 2 files, 19 insertions and 2 deletions, and
the same `git patch-id --stable`.

No prerequisite commits are missing. Both Dockerfiles on this branch
were identical to #67256's parent, so after the pick they match master
at dc5d25c.

This PR is the bottom of stack #67354, in master's order. Above it are
the picks of #67011 (#67321), #67295 (#67322), #67305 (#67342), #67301
(#67343), #67304 (#67344) and #67350 (#67352). #67011 and #67295 change
base image inputs, so their image builds need this fix. At the top of
the stack, the pick of #67350 replaces this cap with a
`certifi=2026.10.19` pin, as on master.

Not a duplicate: this branch doesn't contain #67256, and no PR against
`releases/2.60.0` references it.

## Testing

| Command | Result |
|---|---|
| `pre-commit run --files docker/base-deps/Dockerfile
docker/base-slim/Dockerfile` | Passed (trailing whitespace, end of file,
large files) |

This PR changes the base image inputs, so CI rebuilds the base images,
including the py3.10 ones, instead of taking them from the cache. I
didn't build the images locally.

AI assistance was used to prepare this cherry-pick.

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

Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: Sai Miduthuri <[email protected]>
Co-authored-by: Elliot Barnwell <[email protected]>
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
sai-miduthuri added a commit that referenced this pull request Oct 26, 2026
…n images for eMudhra CA compromise (#67295) (#67322)

Cherry-pick of #67295 (master commit
79dcc96) onto `releases/2.60.0`.

## Why

The private keys of eight eMudhra intermediate CAs were compromised, and
images built from this branch still trust them. They ship pip 24.3.1,
which trusts its own vendored `certifi`, and an older `certifi` pin in
the lock files. #67295 changes three things:

- It installs pip 26.2.2 in `docker/base-deps` and `docker/base-slim`.
Python 3.10 gets pip from PyPI with `uv`, because conda-forge's pip
26.2.2 requires Python 3.11 or newer.
- It moves the `uv` binary to 0.13.4.
- It pins `certifi` 2026.10.19 in `requirements_compiled*.txt` and the
lock files.

#67295 has the full analysis.

## Cherry-pick details

Applied with `git cherry-pick -x`. Git merged 112 of the 113 files
without conflicts, and in those files the added and removed lines are
identical to the master commit. "Deviations from #67295" below covers
the other files.

After the pick:

- `docker/base-deps/Dockerfile` and `docker/base-slim/Dockerfile` match
master at 79dcc96.
- Every `certifi` pin in `python/deplocks/`,
`python/requirements_compiled*.txt` and `release/ray_release/byod/` is
2026.10.19, as on master.

This PR is stacked on the picks of #67256 (#67320) and #67011 (#67321).
Its Dockerfile changes edit lines that #67256 adds, and #67011 sits
below it to keep master's order. The picks of #67305 (#67342), #67301
(#67343), #67304 (#67344) and #67350 (#67352) sit on top of it.

Not a duplicate: this branch doesn't contain #67295, and no PR against
`releases/2.60.0` references it.

## Deviations from #67295

- **`python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock`:** this
branch compiles that lock without the `requirements_compiled_py3.14.txt`
constraint, so its `certifi` pin was 2026.5.20 rather than master's
2026.4.22, and its `# via` lines differ. This PR replaces its `certifi`
entry with #67295's `certifi==2026.10.19` and hashes, and keeps the
branch's `# via` lines.
- **Left out
`python/deplocks/docs/docstring_examples_base_depset_py3.10.lock` and
`docstring_examples_depset_py3.10.lock`:** these depsets don't exist on
this branch.

## Testing

| Command | Result |
|---|---|
| `pre-commit run --files <the 113 changed files>` | Passed (trailing
whitespace, end of file, large files) |

I didn't run the dependency check or build the images locally. On this
PR, CI's `:tapioca: build: raydepsets: compile all dependencies` job
runs `raydepsets build --all-configs --check`, and the image jobs
rebuild the base images with pip 26.2.2 and the new locks.

AI assistance was used to prepare this cherry-pick.

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

Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: Sai Miduthuri <[email protected]>
Co-authored-by: Elliot Barnwell <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
sai-miduthuri added a commit that referenced this pull request Oct 26, 2026
…a fix releases on every Python (#67350) (#67352)

Cherry-pick of #67350 (master commit
9a44846) onto `releases/2.60.0`.

## Why

#67256, picked in #67320 at the bottom of this stack, avoids the py3.10
`RemoveError` by capping conda's `certifi` at `<2026` for Python 3.10.
With that cap, conda installs `certifi` 2025.11.12, which still trusts
the compromised eMudhra roots. The py3.10 images end up patched only
because the lock install overwrites it with `certifi` 2026.10.19, which
leaves stale `conda-meta` and package-cache records behind.

conda-forge has since patched `certifi` 2026.10.19 to allow Python 3.10.
#67350 pins `certifi=2026.10.19` in the conda step for every Python
version, matching the lock files, and removes the py3.10-only cap. pip
26.2.2 still comes from PyPI on Python 3.10.

## Cherry-pick details

Applied cleanly with `git cherry-pick -x`. The change is identical to
the master commit: the same 2 files, 20 insertions and 16 deletions, and
the diff matches line for line.

No prerequisite commits are missing. #67350 edits the conda block that
#67256 added and #67295 extended. Below this PR, the picks of #67256
(#67320) and #67295 (#67322) leave both Dockerfiles identical to
#67350's parent. After this pick they match master at 9a44846.

This PR is the top of stack #67354. It was merged to master after every
other PR in the stack, so it goes last here too. Below it are the picks
of:

- #67256 (#67320)
- #67011 (#67321)
- #67295 (#67322)
- #67305 (#67342)
- #67301 (#67343)
- #67304 (#67344)

Not a duplicate: this branch doesn't contain #67350, and no other PR
against `releases/2.60.0` picks it.

## Testing

| Command | Result |
|---|---|
| `pre-commit run --files docker/base-deps/Dockerfile
docker/base-slim/Dockerfile` | Passed (trailing whitespace, end of file,
large files) |

I didn't build the images locally. This PR changes the base image
inputs, so CI rebuilds the base images, including the py3.10 ones.
#67350's own test ran the same conda step in
`condaforge/miniforge3:24.11.3-0` for Python 3.10 to 3.14 in both
Dockerfiles.

AI assistance was used to prepare this cherry-pick.

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

Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: Sai Miduthuri <[email protected]>
Co-authored-by: Elliot Barnwell <[email protected]>
Co-authored-by: Claude Opus 5.5 (1M context) <[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 go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants