Skip to content

[cherry-pick][2.58.2] eMudhra CA compromise, aiohttp and Brotli security fixes - #67962

Merged
elliot-barn merged 4 commits into
releases/2.58.2from
elliot-barn/cherry-pick-2.58.2-emudhra
Nov 10, 2026
Merged

elliot-barn merged 4 commits into
releases/2.58.2from
elliot-barn/cherry-pick-2.58.2-emudhra

Conversation

@elliot-barn

@elliot-barn elliot-barn commented Nov 8, 2026 •

Copy link
Copy Markdown
Collaborator

Why

This brings the eMudhra intermediate CA compromise fixes and the aiohttp CVE fixes that shipped in 2.59.1, plus the Brotli CVE-2026-111497 fixes from master, to the 2.58 line as the 2.58.2 patch release.

Change

It cherry-picks the 2.59.1 combined pick #67487 (fed97328bf), which contains:

Brotli (CVE-2026-111497), picked from master:

Conflicts in the eMudhra pick: only docker/base-deps/Dockerfile and docker/base-slim/Dockerfile, where 2.58 installs uv from the unversioned install.sh. Both are resolved to the pinned uv/0.13.4/install.sh installer, the same as 2.59.1.

The branch's base commit is the 2.58.2 version bump (e5f5cec299). The branch itself was cut from the releases/2.58.1 tip c443f1f1f4.

Testing

  • bazel run //ci/raydepsets:raydepsets -- build --all-configs --check reports "Lock files are up to date", both after the eMudhra pick and again after the brotli commits. A full build --all-configs produces no changes.
  • After the brotli commits, no lock on the branch pins brotli below 1.2.1, except the unreferenced requirements_ml_byod_3.10.txt (same on master). The picked locks match what 2.58.2's inputs resolve to, so no separate lock regeneration was needed.
  • The changed pins in the locks and compiled requirements are aiohttp, yarl, certifi, virtualenv and virtualenv's dependency bumps (packaging, distlib, python-discovery, typing-extensions). Small filelock/platformdirs/langchain-core moves are included, and --check confirms them.
  • I scanned the tree after the pick. The only old pip, certifi or uv pins left are in CI-only images and scripts, plus the docs pip-freeze file that the release docs step regenerates. That matches what 2.59.1 shipped with.

🤖 Generated with Claude Code

…67295, #67301, #67298, #67305, #67304, #67350)

Cherry-pick of the 2.59.1 combined pick #67487 (fed9732). Conflicts in
docker/base-deps/Dockerfile and docker/base-slim/Dockerfile (2.58 installs uv
from the unversioned install.sh) resolved to the pinned uv 0.13.4 installer.

(cherry picked from commit fed9732)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
@elliot-barn
elliot-barn requested review from a team, edoakes and richardliaw as code owners November 8, 2026 20:31
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

The number of changes in this pull request is too large for Gemini Code Assist to generate a review.

@cursor

cursor Bot commented Nov 8, 2026

Copy link
Copy Markdown

This PR is too large for Bugbot to review. It changes 42,322 lines and 4,083,492 characters. Split the change into smaller pull requests to get a review.

ronaldosaheki and others added 3 commits November 8, 2026 20:47
…lim (CVE-2026-111497) (#67596)

## Description

Raise the conda `brotli-python` in `docker/base-deps` and
`docker/base-slim` to 1.2.1 to pick up the fix for CVE-2026-111497
("Node2Shell",
[GHSA-9v8h-qqgm-4m35](GHSA-9v8h-qqgm-4m35)):
an out-of-bounds write in the Brotli decoder (upstream fix:
google/brotli@0ed4268). PyPI/conda `Brotli` <= 1.2.0 bundle the
vulnerable decoder; 1.2.1 is the fixed release. The CVE is in CISA KEV.

The Miniforge 24.11.3 installer used by both Dockerfiles ships
`brotli-python 1.1.0` in its base environment, and none of the pip lock
files manage it. So every image built on these bases (`ray`, `ray-ml`,
`ray-llm`) carries the vulnerable decoder, both in `site-packages` and
as a second copy in the conda package cache. `urllib3`, `requests`,
`aiohttp` and `httpx` use Brotli automatically when it is installed.

What changes:

- **Python >= 3.11:** add `brotli-python>=1.2.1` to the existing `conda
install`. The following `conda clean` removes the superseded package
from the cache.
- **Python 3.10:** conda-forge has no py3.10 build of `brotli-python`
1.2.1 (the newest is 1.2.0), so a floor would make the solve fail. For
3.10 the conda package is removed, `Brotli==1.2.1` is installed from
PyPI, and the cache is cleaned again. This branch can go when 3.10 is
deprecated.

Alternative considered: moving to a newer Miniforge installer. Miniforge
26.9.4 does ship `brotli-python 1.2.1`, but its base is Python 3.14 /
conda 26.9.4, and the existing `conda install python=<ver> ...` step
then downgrades conda to 23.9.0 on 3.12 and fails to solve on 3.10. That
is a much larger change than a one-package floor.

## Related issues

None filed. Advisory: GHSA-9v8h-qqgm-4m35 / CVE-2026-111497.

## Additional information

Tested by building both Dockerfiles locally with `docker buildx build`
(ubuntu:22.04, CPU):

| Dockerfile | Python | linux/amd64 | linux/arm64 |
|---|---|---|---|
| base-deps | 3.10, 3.11, 3.12, 3.13, 3.14 | OK | OK |
| base-slim | 3.10, 3.11, 3.12, 3.13, 3.14 | OK | see below |

In every image that built: `Brotli` 1.2.1, a compress/decompress round
trip works, no Brotli < 1.2.1 remains in `site-packages`, the conda
package cache or `conda-meta`, and `libbrotli1` is 1.0.9-2ubuntu0.1
(Ubuntu's fix, picked up by the existing `apt-get upgrade`).

Not tested: the CUDA and TPU variants (they run the same conda steps),
the Ray CI image pipelines (needs the `go` label), and `base-slim` on
linux/arm64, which fails to build on `master` with or without this
change (`psutil==5.9.8` has no aarch64 wheel and the slim image has no
`gcc`). The local builds mounted a pre-downloaded copy of the pinned uv
installer because the build network re-signs `astral.sh`; the
Dockerfiles used are otherwise identical to this diff.

The `brotli==1.2.0` pins in the CI/test lock files
(`python/requirements_compiled*.txt`, `python/deplocks/**`) are test
dependencies and are not touched here; they need regenerating with the
repo's dependency tooling.

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

Signed-off-by: Ronaldo Saheki <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
(cherry picked from commit ed39c78)
Signed-off-by: elliot-barn <[email protected]>
Brotli 1.0.3 through 1.2.0 has a critical out-of-bounds write in its
decoder: CVE-2026-111497 /
[GHSA-9v8h-qqgm-4m35](GHSA-9v8h-qqgm-4m35).
It's fixed in 1.2.1. Ray gets `brotli` transitively through gradio, and
it's pinned in the compiled requirements and in image/CI/release locks.

- `python/requirements_compiled.txt` and
`python/requirements_compiled_py3.14.txt`: `brotli` 1.2.0 → 1.2.1.
- `python/requirements/security-requirements.txt`: adds `brotli>=1.2.1`.
Both `ci/ci.sh compile_pip_dependencies` runs use this file as input, so
a future recompile can't resolve an affected brotli. In both compiled
files, brotli's `# via` now also lists `-r
python/requirements/security-requirements.txt`.
- All deplocks are regenerated with `bazel run
//ci/raydepsets:raydepsets -- build --all-configs`: 36 locks move from
1.2.0 and 4 from 1.1.0.
- The ray-llm base-extra-testdeps locks (py3.11/py3.12) and the four
py3.10 multimodal release locks aren't constrained by the compiled
files. They were upgraded with `--upgrade-package brotli`, then re-run
through raydepsets.
- Brotli is the only package that changes. No index URLs were added.

- `release/ray_release/byod/requirements_ml_byod_3.10.txt` still has
1.1.0. Nothing in the repo references it.
- `brotlicffi` isn't used.
- Node.js versions used to build the dashboard (14/18/20/22.4.1) are
build-time only and will be handled in a follow-up.

N/A

- [x] I've signed off every commit (`git commit -s`)
- [ ] CI

🤖 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]>
(cherry picked from commit 2f5e30a)
Signed-off-by: elliot-barn <[email protected]>
#67789 does not reach two 2.58 locks: ray-torch-cu128_base_py3.14.lock
conflicted on the pick (it differs from master), and
large_image_embedding_py3.10.lock was removed on master. Neither is
constrained on brotli, so raydepsets keeps their old pins (1.2.0 / 1.1.0).
Splice in the 1.2.1 version + hash block; raydepsets --check passes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
@elliot-barn elliot-barn changed the title [cherry-pick][2.58.2] eMudhra CA compromise + aiohttp security fixes (#67295, #67301, #67298, #67305, #67304, #67350) [cherry-pick][2.58.2] eMudhra CA compromise, aiohttp and Brotli security fixes Nov 8, 2026
@elliot-barn elliot-barn added the go add ONLY when ready to merge, run all tests label Nov 8, 2026
@ray-gardener ray-gardener Bot added core Issues that should be addressed in Ray Core release-test release test labels Nov 9, 2026
@elliot-barn
elliot-barn merged commit 76cb655 into releases/2.58.2 Nov 10, 2026
5 of 6 checks passed
@elliot-barn
elliot-barn deleted the elliot-barn/cherry-pick-2.58.2-emudhra branch November 10, 2026 08:57
sai-miduthuri added a commit that referenced this pull request Nov 10, 2026
…67789) (#67998)

## Description

Cherry-pick of #67789 (master commit
2f5e30a) onto `releases/2.60.1`.

**Bottom of a 2-PR stack on `releases/2.60.1`, under #67997 (the #67596
pick).** Merge the stack with `gh stack merge 67997`, which lands this
PR first.

Brotli 1.0.3 through 1.2.0 has a critical out-of-bounds write in its
decoder, CVE-2026-111497
([GHSA-9v8h-qqgm-4m35](GHSA-9v8h-qqgm-4m35)),
fixed in 1.2.1. Ray gets `brotli` transitively through gradio, and it's
pinned in the compiled requirements and in the image, CI and release
locks.

#67789 does the following:
- Adds `brotli>=1.2.1` to `security-requirements.txt`.
- Moves `brotli` to 1.2.1 in `requirements_compiled.txt` and
`requirements_compiled_py3.14.txt`.
- Moves the locks to 1.2.1.

The #67596 pick, #67997, fixes the conda copy in the base images. It's
stacked on this PR because images built on those bases install these
locks, and with the old pins pip would downgrade brotli to 1.2.0.

## Related issues

Related to #67789. Advisory: GHSA-9v8h-qqgm-4m35 / CVE-2026-111497.

## Additional information

### Cherry-pick details

Applied with `git cherry-pick -x`. Of #67789's 41 files:

- **29 merged cleanly.** Their added and removed lines are identical to
master's.
- **11 dropped.** These locks don't exist on this branch, because master
added them after the cut:
- `ray-torch-cu133_base_py3.11.lock` and
`ray-torch-cu133_base_py3.14.lock`;
  - the nine `release/ray_release/byod/torch_cu128_*_py3.11.lock` files.
- **1 resolved: `ray-torch-cu128_base_py3.14.lock`.** It conflicted
because it differs from master in other packages. I took this branch's
version and replaced brotli's version and hash lines with #67789's 1.2.1
entry, keeping the branch's `# via` line. Its added and removed lines
are now identical to master's: brotli 1.2.0 → 1.2.1, -100/+143 hashes.

After the pick, every brotli pin in the compiled requirements and lock
files is 1.2.1. The exception is
`release/ray_release/byod/requirements_ml_byod_3.10.txt`, which nothing
references; it is still 1.1.0, the same as on master.

#67979 (open on master) regenerates two ray-llm locks whose `# via`
annotation master's #67789 left stale. On this branch, `raydepsets build
--all-configs` produces no changes after the pick, so that follow-up
isn't needed here.

Not a duplicate: this branch doesn't contain #67789, and no PR against
`releases/2.60.1` references it. #67962 picks the same commit onto
`releases/2.58.2`.

### Testing

| Command | Result |
|---|---|
| `pre-commit run --files <the 30 changed files>` | Passed |
| `bazel run //ci/raydepsets:raydepsets -- build --all-configs` |
Succeeded with no changes to the tree |
| `bazel run //ci/raydepsets:raydepsets -- build --all-configs --check`
| Passed: "Lock files are up to date." |

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 Nov 10, 2026
… base-deps and base-slim (CVE-2026-111497) (#67596) (#67997)

## Description

Cherry-pick of #67596 (master commit
ed39c78) onto `releases/2.60.1`.

**Top of a 2-PR stack on `releases/2.60.1`, above #67998 (the #67789
pick).** Merge the stack with `gh stack merge 67997`, which lands #67998
first.

This PR needs #67998's lock files. Several images built on these bases
install locks with pip: the py3.10 `ray`, `ray-gpu` and `ray-ml` test
and release images, and `ray-llm` on 3.11 and 3.12. Without #67998,
those locks still pin `brotli==1.2.0`. Installing them downgrades the
1.2.1 this PR puts in the base image. On master, #67789 also merged
before #67596.

CVE-2026-111497
([GHSA-9v8h-qqgm-4m35](GHSA-9v8h-qqgm-4m35))
is an out-of-bounds write in the Brotli decoder, fixed in 1.2.1, and it
is in CISA KEV. The Miniforge installer used by `docker/base-deps` and
`docker/base-slim` ships `brotli-python` 1.1.0 in its base environment,
and no pip lock manages it. So every image built on these bases (`ray`,
`ray-ml`, `ray-llm`) carries the vulnerable decoder.

#67596 does the following:
- On Python 3.11 and later, it adds `brotli-python>=1.2.1` to the
existing `conda install`.
- On Python 3.10, where conda-forge has no 1.2.1 build, it removes the
conda package and installs `Brotli==1.2.1` from PyPI.

The #67789 pick, #67998, covers the pip-side brotli pins in the compiled
requirements and lock files.

## Related issues

Related to #67596. Depends on #67998, the #67789 pick. Advisory:
GHSA-9v8h-qqgm-4m35 / CVE-2026-111497.

## Additional information

### Cherry-pick details

Applied cleanly with `git cherry-pick -x`. It has the same 2 files,
+20/-2, and the same `git patch-id --stable` as the master commit.
Rebasing it onto #67998 changed neither of those.

No prerequisite commits are missing. Three master commits touched these
Dockerfiles between the branch cut and #67596: #67256, #67295 and
#67350. This branch already has them through the picks #67320, #67322
and #67352. After the pick, both Dockerfiles are identical to master at
ed39c78.

Not a duplicate: this branch doesn't contain #67596, and no PR against
`releases/2.60.1` references it. #67962 picks the same commit onto
`releases/2.58.2`.

### Testing

| Command | Result |
|---|---|
| `pre-commit run --files docker/base-deps/Dockerfile
docker/base-slim/Dockerfile` | Passed |
| With `Brotli==1.2.1` installed, `pip install -r` a file pinning
`brotli==1.2.0` | Uninstalls 1.2.1 and installs 1.2.0, which is why this
PR is stacked on #67998 |

I didn't build the images locally. Both Dockerfiles are now
byte-identical to the ones #67596 built and checked on master, for
Python 3.10 to 3.14 on amd64 and arm64. CI builds the images on this PR.

AI assistance was used to prepare this cherry-pick.

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

Signed-off-by: Ronaldo Saheki <[email protected]>
Signed-off-by: Sai Miduthuri <[email protected]>
Co-authored-by: Ronaldo <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
elliot-barn added a commit that referenced this pull request Nov 11, 2026
…68040)

## Description

Brings the eMudhra CA compromise and aiohttp DoS fixes to
`releases/2.57.2`. They come from the 2.59.1 squash `fed97328bf`
(#67487: #67295, #67301, #67298, #67305, #67304, #67350), as on 2.58.2
(#67962).

This is the first of two stacked PRs that replace #68013. The Brotli
fixes are in the follow-up PR, which is based on this branch.

## How it was applied

A direct cherry-pick of `fed97328bf` conflicts in about 110 files,
nearly all locks, because 2.57 is two minors behind 2.59. So the source
changes are applied by hand and the locks are regenerated:

- **`docker/base-deps`, `docker/base-slim` Dockerfiles:** the same lines
as `fed97328bf` adds: certifi 2026.10.19 and pip 26.2.2 via conda, uv
pinned to 0.13.4, and pip from PyPI on py3.10.
- **Windows and macOS wheel builds:** pip 26.2.2 and uv 0.13.4.
- **`requirements.txt`, `test-requirements.txt`, `setup.py`:** aiohttp
floor 3.13.3 → 3.14.4.
- **`security-requirements.txt`:** adds aiohttp, certifi and virtualenv
floors.
- **`requirements_compiled.txt`, `requirements_compiled_py3.14.txt`:**
aiohttp 3.14.4, certifi 2026.10.19, virtualenv 21.14.12 with distlib,
packaging, python-discovery and typing-extensions, and yarl 1.25.1. The
version and hash blocks are taken from 2.58.2.
- **`requirements_compiled.txt`** regenerated with `ci/ci.sh
compile_pip_dependencies` (py3.11), so the `# via` lines match. No pins
move.
- **Locks:** regenerated with `raydepsets build --all-configs`. Some
locks aren't constrained by the compiled files: TPU base deps, ray-llm
testdeps, docbuild, datatfds, and the multimodal and llm_batch release
locks. In those, the bumped packages are set to the exact versions from
`releases/2.58.2` (virtualenv 21.14.12, distlib 0.4.3, filelock 3.29.0,
platformdirs 4.9.6, python-discovery 1.6.1, typing-extensions 4.16.0,
certifi 2026.10.19, aiohttp 3.14.4) before the regen, so they match the
source PRs instead of floating to the newest releases.
`large_image_embedding_py3.10.lock` is stale on 2.58.2, so it follows
its sibling multimodal locks.
- **`ray_img_py39.lock`:** certifi 2026.10.19, as on 2.58.2, 2.59.1 and
master. Nothing on 2.57.x builds or reads this lock (`#59484` removed
py3.9 and `#59080` re-added the file by accident), but it ships in the
tree.

**Not ported:** 2.59's pinned `RUNTIME_ENV_AGENT_PIP_PACKAGES` in
`setup.py`. On 2.57 the runtime env agent installs `aiohttp` unpinned.

**Left on old pins, same as 2.58.2 and master:** aiohttp, virtualenv and
yarl in `ray_img_py39.lock`, aiohttp in `ci_windows_depset.lock`,
`requirements_ml_byod_3.10.txt`, aiohttp in
`release/requirements_py310.txt`, and the doc pip-freeze snapshots.

## Related issues

Related to #67487 (2.59.1) and #67962 (2.58.2). Together with the Brotli
PR, this supersedes #68013.

## Testing

- `bazel run //ci/raydepsets:raydepsets -- build --all-configs --check`
passed: "Lock files are up to date."
- `ci/ci.sh compile_pip_dependencies` (py3.11): only `# via` lines
change.
- Every bumped package compared with `releases/2.58.2`: versions and
hashes match, except the intentionally updated `large_image_embedding`.
- No brotli line changes compared with `releases/2.57.2`.

AI assistance (Claude Code) was used to prepare 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 <[email protected]>
elliot-barn added a commit that referenced this pull request Nov 11, 2026
…68041)

## Description

Brings the Brotli CVE-2026-111497 fixes to `releases/2.57.2`:

- **#67596:** conda `brotli-python>=1.2.1` in the `base-deps` and
`base-slim` images. py3.10 has no conda-forge 1.2.1 build, so it removes
conda's copy and installs the PyPI `Brotli==1.2.1` wheel.
- **#67789:** a `brotli>=1.2.1` floor in `security-requirements.txt`,
and brotli 1.2.1 in `requirements_compiled(_py3.14).txt` and every lock
that pins it.

**Stacked on #68040** (eMudhra and aiohttp), because both PRs edit the
same `conda install` lines in the Dockerfiles. Merge #68040 first, then
retarget this PR to `releases/2.57.2`.

After this PR, both Dockerfiles match `releases/2.58.2` exactly. This
pair replaces #68013.

## Related issues

Related to #67596, #67789 and #67962 (2.58.2). Together with #68040,
this supersedes #68013.

## Testing

- Every non-Dockerfile line this PR changes is a `brotli` pin; nothing
else moves.
- `ci/ci.sh compile_pip_dependencies` (py3.11): only brotli's `# via`
line changes.
- `bazel run //ci/raydepsets:raydepsets -- build --all-configs`, then
`--check`: "Lock files are up to date."

AI assistance (Claude Code) was used to prepare 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 <[email protected]>
elliot-barn added a commit that referenced this pull request Nov 11, 2026
…in release tooling (#68051)

## Description

Closes the remaining security gaps on `releases/2.58.2` so that it
matches the 2.57.2 picks (#68040, #68041, #68047). log4j (2.25.4) and
the `security-requirements.txt` floors are already correct here.

### 1. idna 3.15+ in the remaining locks (`fdcca7fe01`)

[CVE-2026-45409 /
GHSA-65pc-fj4g-8rjx](GHSA-65pc-fj4g-8rjx)
is a medium-severity denial of service in idna before 3.15. 2.58.2 has
the `idna>=3.15` floor from #64056. But locks that aren't constrained by
`requirements_compiled.txt` kept vulnerable idna, and they now get idna
3.18, the compiled pin:

| Lock | Before |
|---|---|
| TPU base deps py3.10–3.13 / py3.14 (these feed the **TPU images**) |
3.11 / 3.13 |
| ray-llm testdeps py3.11/3.12 | 3.13 |
| `datatfds_py3.12`, `llm_batch_single_node_benchmark_py312_cu130` |
3.11 |
| multimodal byod py3.10 release locks (×5) | 3.7 |
| `ray_img_py39.lock`, `requirements_ml_byod_3.10.txt` (unreferenced) |
3.7 |

`large_image_embedding_py3.10.lock` was also still on certifi 2025.1.31
and virtualenv 20.33.1. It now uses its sibling locks' eMudhra pins
(certifi 2026.10.19, virtualenv 21.14.12 and its dependencies, aiohttp
3.14.4), the same as on 2.57.2.

### 2. aiohttp and idna in `release/requirements_py310.txt`
(`30d47f3129`)

This file is the `py_deps_py310` Bazel lock and the release-test
launcher environment. It pinned aiohttp 3.9.5 and idna 3.7.
`requirements_py310.in` gains `aiohttp>=3.14.4` and `idna>=3.15` floors,
and the `.txt` is recompiled:

| Package | Before | After |
|---|---|---|
| aiohttp | 3.9.5 | 3.14.5 |
| yarl | 1.9.4 | 1.25.1 |
| aiosignal | 1.3.1 | 1.4.0 |
| idna | 3.7 | 3.20 |
| aiohappyeyeballs, propcache | none | 2.7.1, 0.5.4 |

No other pin changes.

It's recompiled with the same tool as
`//release:requirements_py310.update`: pip-tools 6.6.0 on pip 22.0.4 and
Python 3.10, `--no-upgrade --generate-hashes`. The one workaround:
`release/requirements-doc.txt`, a symlink to `doc/requirements-doc.txt`,
pins `sphinx==8.2.3`, which needs Python ≥3.11. For the compile, that
symlink was replaced by the same doc requirements at the versions
already in the `.txt`, then restored. Before the `.in` change, this
reproduces the existing `.txt` byte for byte.

### Left as is (same on 2.57.2 and master)

- **`ci_windows_depset.lock`:** compiled for Python 3.8, where aiohttp
tops out at 3.10.11.
- **`ray_img_py39.lock`:** aiohttp stays at 3.11.16, because the Python
3.9 line tops out at 3.13.x.
- **`requirements_ml_byod_3.10.txt`:** aiohttp, brotli and yarl stay as
they are. The file is unreferenced and has no generator.
- **The doc pip-freeze snapshot:** regenerated from the image by the
release docs step.
- **The raydepsets test fixture.**

## Related issues

Related to #64056, #67962, #68047 (2.57.2) and #68048 (master).

## Testing

- `bazel run //ci/raydepsets:raydepsets -- build --all-configs`, then
`--check`: "Lock files are up to date." The locks change only idna and,
in `large_image_embedding`, the package set above.
- `release/requirements_py310.txt`: `uv pip install --dry-run
--require-hashes` on Python 3.10 covers 221 packages, and a full resolve
has no conflicts.
- A scan of every pinned file for aiohttp, certifi, brotli, idna,
virtualenv and yarl below their floors finds only the files listed under
"Left as is".

AI assistance (Claude Code) was used to prepare 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 <[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 release-test release test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants