[CI] release-pypi-nightly: install protoc before building wheel#23750
Merged
Kangyan-Zhou merged 1 commit intomainfrom Apr 26, 2026
Merged
[CI] release-pypi-nightly: install protoc before building wheel#23750Kangyan-Zhou merged 1 commit intomainfrom
Kangyan-Zhou merged 1 commit intomainfrom
Conversation
The nightly wheel build fails with "Could not find `protoc`" because `python -m build` invokes setuptools-rust to build the bundled rust/sglang-grpc extension, whose build script (prost-build) requires protoc. Install protoc via the existing CI helper before the build, matching the pattern already used in pr-test.yml. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
vguduruTT
pushed a commit
to vguduruTT/sglang
that referenced
this pull request
May 2, 2026
…project#23750) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The nightly PyPI wheel build has been failing (e.g. run 24702019647) with:
python -m build --wheelinvokessetuptools-rust(configured atpython/pyproject.toml:220-223) to build the bundledrust/sglang-grpcextension, whose build script (prost-build) requiresprotoc. Theubuntu-latestrunner has Rust preinstalled but notprotoc.This adds an
Install protocstep before the build, using the existingscripts/ci/utils/install_protoc.shhelper — same pattern already used inpr-test.yml.Test plan
workflow_dispatchand confirm the wheel build succeeds.🤖 Generated with Claude Code