Skip to content

[ci][deps] Re-lock torch-scatter hashes after Astral re-published its torch 2.10 wheels - #66713

Merged
elliot-barn merged 1 commit into
masterfrom
elliot-barn/torch-scatter-astral-rehash
Oct 5, 2026
Merged

elliot-barn merged 1 commit into
masterfrom
elliot-barn/torch-scatter-astral-rehash

Conversation

@elliot-barn

Copy link
Copy Markdown
Collaborator

Why

Premerge and postmerge wanda image builds are failing on master (for example corebuild, docgpubuild, datalbuild, data17build, datamongobuild, mlgpubuild; premerge #74324, postmerge #20108):

× Failed to download `torch-scatter==2.1.2+cpu.torch.2.10`
╰─▶ Hash mismatch for `torch-scatter==2.1.2+cpu.torch.2.10`

The same happens for 2.1.2+cu.12.8.torch.2.10. Astral's index (wheels.astral.sh/simple/{cpu,cu128}/torch-scatter/) re-published the torch 2.10 wheels in place on 2026-10-03 at about 18:35 UTC: same filenames and versions, new contents. None of the hashes locked in #65909 match what the index serves now.

What

Regenerated hashes only, for the 29 locks that pin torch-scatter. No version changes. All 290 added and 290 removed lines are --hash lines under torch-scatter: the 20 previous hashes are gone from Astral, and the 20 new ones are exactly what Astral serves now.

How it was generated: uv reuses hashes from an existing -o output file, so a plain raydepsets build --all-configs reproduces the stale hashes. I compiled once with --upgrade-package torch-scatter temporarily appended to every non-relax depset's append_flags, then reverted that config change. Nothing was hand-edited, and no config change is included. Both the source requirements and the constraints pin torch-scatter exactly, so --upgrade-package can only move hashes.

Testing

  • bazel run //ci/raydepsets:raydepsets -- build --all-configs --check: Lock files are up to date. (exit 0)
  • uv pip install --no-deps --require-hashes of the torch-scatter block from core-build-ci_depset_py3.10.lock (cpu) and core-gpubuild-ci_depset_py3.10.lock (cu128): both install.
  • Checked the added and removed hashes against the live Astral JSON index (20/20 present and 20/20 absent, respectively).

Not a duplicate

The only open PR touching torch-scatter is #65931, which removes it entirely (SAGE example → NeighborLoader + pyg-lib). That's the long-term fix. This PR is the minimal unblock until it lands. Note that pyg-lib also comes from Astral, so the same in-place re-publish can hit it: Astral's index doesn't keep artifacts immutable the way PyPI does.

AI assistance (Claude Code) was used to diagnose this and regenerate the locks.

🤖 Generated with Claude Code

… torch 2.10 wheels

wheels.astral.sh replaced the torch-scatter 2.1.2+cpu.torch.2.10 and
2.1.2+cu.12.8.torch.2.10 wheels in place on 2026-10-03 (~18:35 UTC): same
filenames and versions, new contents. Every lock that pins them now fails
with "Hash mismatch for torch-scatter", breaking the core/data/doc/ml wanda
image builds in premerge and postmerge.

Regenerated with raydepsets. uv reuses hashes from an existing output file,
so a plain `raydepsets build --all-configs` is a no-op here; the locks were
compiled once with `--upgrade-package torch-scatter` temporarily appended
to every non-relax depset, and the config change was then reverted. The
only diff is torch-scatter hash lines (20 old hashes out, 20 current
Astral hashes in, across 29 locks); no versions change.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Signed-off-by: elliot-barn <[email protected]>

@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 SHA-256 hashes for the torch-scatter dependency across various Python dependency lock files (.lock) used in CI and documentation. I have no feedback to provide as there are no review comments.

@elliot-barn elliot-barn added the go add ONLY when ready to merge, run all tests label Oct 5, 2026
@elliot-barn
elliot-barn merged commit cd7636d into master Oct 5, 2026
4 of 6 checks passed
@elliot-barn
elliot-barn deleted the elliot-barn/torch-scatter-astral-rehash branch October 5, 2026 04:51
sxxaysq added a commit to sxxaysq/ray that referenced this pull request Oct 5, 2026
…repair

The premerge corebuild/docgpubuild image jobs failed before Serve tests because
Astral re-published the torch 2.10 wheels under unchanged version names. This
branch inherits the old lock hashes. Upstream PR ray-project#66713 regenerated and verified
the hashes, and was merged as cd7636d.

Merge the current upstream master without manually changing hashes or disabling
verification. The ASGI feature diff remains exactly the same two files.

Test Plan:
Compare the feature patch before and after the merge; confirm the upstream
lock hashes match the CPU and CUDA artifacts reported in the failed jobs.
Run the repository commit hooks normally.

Co-authored-by: OpenAI Codex
Signed-off-by: sxxaysq <[email protected]>
nadongjun pushed a commit to nadongjun/ray that referenced this pull request Oct 6, 2026
… torch 2.10 wheels (ray-project#66713)

## Why

Premerge and postmerge wanda image builds are failing on master (for
example `corebuild`, `docgpubuild`, `datalbuild`, `data17build`,
`datamongobuild`, `mlgpubuild`; premerge #74324, postmerge ray-project#20108):

```
× Failed to download `torch-scatter==2.1.2+cpu.torch.2.10`
╰─▶ Hash mismatch for `torch-scatter==2.1.2+cpu.torch.2.10`
```

The same happens for `2.1.2+cu.12.8.torch.2.10`. Astral's index
(`wheels.astral.sh/simple/{cpu,cu128}/torch-scatter/`) re-published the
torch 2.10 wheels in place on **2026-10-03 at about 18:35 UTC**: same
filenames and versions, new contents. None of the hashes locked in
ray-project#65909 match what the index serves now.

## What

Regenerated hashes only, for the 29 locks that pin `torch-scatter`. **No
version changes.** All 290 added and 290 removed lines are `--hash`
lines under `torch-scatter`: the 20 previous hashes are gone from
Astral, and the 20 new ones are exactly what Astral serves now.

How it was generated: uv reuses hashes from an existing `-o` output
file, so a plain `raydepsets build --all-configs` reproduces the stale
hashes. I compiled once with `--upgrade-package torch-scatter`
temporarily appended to every non-`relax` depset's `append_flags`, then
reverted that config change. Nothing was hand-edited, and no config
change is included. Both the source requirements and the constraints pin
`torch-scatter` exactly, so `--upgrade-package` can only move hashes.

## Testing

- `bazel run //ci/raydepsets:raydepsets -- build --all-configs --check`:
`Lock files are up to date.` (exit 0)
- `uv pip install --no-deps --require-hashes` of the `torch-scatter`
block from `core-build-ci_depset_py3.10.lock` (cpu) and
`core-gpubuild-ci_depset_py3.10.lock` (cu128): both install.
- Checked the added and removed hashes against the live Astral JSON
index (20/20 present and 20/20 absent, respectively).

## Not a duplicate

The only open PR touching `torch-scatter` is ray-project#65931, which removes it
entirely (SAGE example → `NeighborLoader` + `pyg-lib`). That's the
long-term fix. This PR is the minimal unblock until it lands. Note that
`pyg-lib` also comes from Astral, so the same in-place re-publish can
hit it: Astral's index doesn't keep artifacts immutable the way PyPI
does.

AI assistance (Claude Code) was used to diagnose this and regenerate the
locks.

🤖 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]>
elliot-barn added a commit that referenced this pull request Oct 8, 2026
…tral re-published its torch 2.9 wheels (#66713) (#66868)

Cherry-pick of #66713 onto `releases/2.60.0`.

## Why

Astral re-published every `torch-scatter` wheel in place on 2026-10-03
(same filenames and versions, new contents). This branch is still on
torch 2.9, so its pins (`2.1.2+cpu.torch.2.9` and
`2.1.2+cu.12.8.torch.2.9`) fail any wanda image build that can't reuse a
cached image:

```
× Failed to download `torch-scatter==2.1.2+cpu.torch.2.9`
╰─▶ Hash mismatch for `torch-scatter==2.1.2+cpu.torch.2.9`
```

Seen in `wanda: corebuild-py3.10` on microcheck
[55867](https://buildkite.com/ray-project/microcheck/builds/55867), the
build for #66858. That PR doesn't touch these locks.

## Conflict resolution

All 29 locks conflicted, because master's hashes are for the torch 2.10
wheels. I reset them to this branch's content and re-locked here with
the same method as #66713:
1. Temporarily add `--upgrade-package torch-scatter`.
2. Run `raydepsets build --all-configs`.
3. Revert the flag.

## Testing

- `bazel run //ci/raydepsets:raydepsets -- build --all-configs --check`:
`Lock files are up to date.`
- The diff is only `--hash` lines under `torch-scatter`, in the same 29
locks as #66713. No version changes.
- I checked it against Astral's live JSON index (`cpu` and `cu128`):
  - All 232 added hashes are files Astral serves now.
  - None of the 290 removed hashes is still served.
- Each `torch-scatter` block now matches exactly the file set Astral
publishes for that version (8 files, previously 10).

🤖 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]>
jackylee-ch added a commit to jackylee-ch/ray that referenced this pull request Oct 29, 2026
Sync through upstream commit cd7636d, including the torch-scatter
lock refresh in PR ray-project#66713. The original partitioning patch is unchanged
relative to upstream.

Signed-off-by: jackylee-ch <[email protected]>
johntaylor-cell added a commit to johntaylor-cell/ray that referenced this pull request Oct 29, 2026
The branch base 98f3e0a predates ray-project#66713, so the corebuild and docgpubuild images failed premerge on a torch-scatter hash mismatch.

Co-Authored-By: Claude <[email protected]>
Signed-off-by: john.taylor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant