Skip to content

[ci][deps] Remove grpcio test pin - #67491

Merged
eicherseiji merged 7 commits into
masterfrom
seiji/remove-grpcio-test-pin
Nov 21, 2026
Merged

eicherseiji merged 7 commits into
masterfrom
seiji/remove-grpcio-test-pin

Conversation

@eicherseiji

@eicherseiji eicherseiji commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Description

Remove the test-only grpcio pin and regenerate the compiled requirements and dependency locks. The refreshed locks resolve grpcio 1.85.0 across supported Python versions.

The pin was added to avoid the grpc.aio performance regression tracked by grpc/grpc#43092, but Ray's runtime dependency remained unbounded above. That made CI test a different dependency set from fresh user installations.

Ray #66493 demonstrated the risk: grpcio 1.84 changed registered method handling and broke every Serve gRPC request, while CI continued testing grpcio 1.75/1.76 and missed the regression. The compatibility bug was fixed in #66502, but retaining the test-only pin would preserve the coverage gap that allowed it through.

Removing the pin means dependency lock refreshes exercise the grpcio versions users can actually resolve. The grpcio-tools, grpcio-status, and grpcio-reflection pins remain because they have separate protobuf compatibility constraints.

The refreshed dependency exposed one stale documentation expectation. grpc/grpc#41940 intentionally clears status details for successful RPCs beginning in grpcio 1.81, so the Serve gRPC guide now attaches details only to non-OK statuses.

Related issues

Related to #66493.

Testing

  • ./ci/ci.sh compile_pip_dependencies
  • ./ci/ci.sh compile_pip_dependencies_py314
  • bazel run //ci/raydepsets:raydepsets -- build --all-configs
  • bazel run //ci/raydepsets:raydepsets -- build --all-configs --check
  • Pre-commit hooks
  • Verified grpcio 1.85.0 imports under Python 3.12
  • Verified the only semantic package-version change in generated locks is grpcio
  • Reproduced the successful-RPC status-details behavior across grpcio 1.75 through 1.85 and verified the transition at 1.81
  • Ran the Core namespaces documentation example with this PR's Python 3.12 CI wheel and grpcio 1.85 successfully

Additional information

No duplicate dependency PR was found after searching open Ray PRs for grpcio pin removal or latest-version testing. #66493 is closed and provides the motivating compatibility incident.

AI assistance was used to investigate history and CI failures, regenerate dependency locks, and implement the compatibility update.

@eicherseiji
eicherseiji requested review from a team as code owners October 28, 2026 00:20
@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.

@eicherseiji eicherseiji added the go add ONLY when ready to merge, run all tests label Oct 28, 2026
@eicherseiji
eicherseiji enabled auto-merge (squash) October 28, 2026 00:38
@ray-gardener ray-gardener Bot added core Issues that should be addressed in Ray Core devprod labels Oct 28, 2026
@eicherseiji
eicherseiji requested review from a team as code owners October 28, 2026 01:48
@github-actions
github-actions Bot disabled auto-merge October 28, 2026 01:48
@eicherseiji
eicherseiji enabled auto-merge (squash) October 28, 2026 02:48
@github-actions
github-actions Bot disabled auto-merge November 2, 2026 23:53
@eicherseiji
eicherseiji enabled auto-merge (squash) November 2, 2026 23:53
@github-actions
github-actions Bot disabled auto-merge November 3, 2026 01:16
@eicherseiji
eicherseiji enabled auto-merge (squash) November 3, 2026 01:19
@eicherseiji

Copy link
Copy Markdown
Contributor Author

Blocked by #63202

@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had
any activity for 14 days. It will be closed in another 14 days if no further activity occurs.
Thank you for your contributions.

You can always ask for help on our discussion forum or Ray's public slack channel.

If you'd like to keep this open, just leave any comment, and the stale label will be removed.

@github-actions github-actions Bot added the stale The issue is stale. It will be closed within 7 days unless there are further conversation label Nov 18, 2026
@eicherseiji

Copy link
Copy Markdown
Contributor Author

@copilot resolve the merge conflicts in this pull request

…-test-pin

Co-authored-by: copilot-swe-agent[bot] <[email protected]>

Signed-off-by: GitHub <[email protected]>

Copilot AI commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

Merged the latest master into the PR branch in clean merge commit a57566a; no file conflicts remained.

@github-actions
github-actions Bot disabled auto-merge November 20, 2026 18:44
@eicherseiji
eicherseiji merged commit 784b825 into master Nov 21, 2026
5 checks passed
@eicherseiji
eicherseiji deleted the seiji/remove-grpcio-test-pin branch November 21, 2026 00:22
elliot-barn added a commit that referenced this pull request Nov 22, 2026
…ndency pins (#68360) onto releases/2.61.0 (#68425)

## Why

Ship Ray 2.61.0 with vLLM 0.34.0 instead of 0.33.0.

## What

Two commits on top of `releases/2.61.0`:

1. **#68360** (merged on master as 935cc32): bumps OpenTelemetry to
1.45.2 and filelock to 4.2.4+ on Python 3.12+. vLLM 0.34.0 can't resolve
without it.
2. **#68361** at 4cc6bf6 (by @jeffreywang88, **still open against
master**): bumps `vllm[audio]` to 0.34.0, NIXL to 1.5.2, the ray-llm
Dockerfile refs, and the rayllm locks, and replaces the compile-cache
backport with `VLLM_COMPILE_ON_ONE_RANK`.

Differences from the sources:

- **#68360 conflict**: one comment-only conflict in
`requirements_compiled_py3.14.txt` (the `# via` list for
`sortedcontainers`). Master lists `hypothesis` there, which #68259 added
and this branch doesn't have, so the entry is `# via distributed`.
- **Docs**: the vLLM version tables say 2.61.0 → 0.34.0. #68361 on
master adds that row as 0.33.0, which will need the same fix there if
this pick lands.
- Every other file #68361 touches is identical to its PR head.

grpcio stays at 1.75.0: #68361's locks were generated before #67491
(grpcio 1.85.0), which is not on this branch.

## Testing

- `bazel run //ci/raydepsets:raydepsets -- build --all-configs --check`
passes ("Lock files are up to date").
- No images built and no LLM tests run locally.

This is a draft because #68361 hasn't merged on master. If that PR
changes before it merges, this pick needs to be refreshed to match.

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

---------

Signed-off-by: Jeffrey Wang <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: Jeffrey Wang <[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 devprod go add ONLY when ready to merge, run all tests stale The issue is stale. It will be closed within 7 days unless there are further conversation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants