Skip to content

[CI] release-pypi-nightly: install protoc before building wheel#23750

Merged
Kangyan-Zhou merged 1 commit intomainfrom
fix_nightly_pypi
Apr 26, 2026
Merged

[CI] release-pypi-nightly: install protoc before building wheel#23750
Kangyan-Zhou merged 1 commit intomainfrom
fix_nightly_pypi

Conversation

@Kangyan-Zhou
Copy link
Copy Markdown
Collaborator

Summary

The nightly PyPI wheel build has been failing (e.g. run 24702019647) with:

Error: Custom { kind: NotFound, error: "Could not find `protoc`. ..." }
error: failed to run custom build command for `sglang-grpc v0.1.0`

python -m build --wheel invokes setuptools-rust (configured at python/pyproject.toml:220-223) to build the bundled rust/sglang-grpc extension, whose build script (prost-build) requires protoc. The ubuntu-latest runner has Rust preinstalled but not protoc.

This adds an Install protoc step before the build, using the existing scripts/ci/utils/install_protoc.sh helper — same pattern already used in pr-test.yml.

Test plan

  • Trigger the workflow on this PR branch via workflow_dispatch and confirm the wheel build succeeds.

🤖 Generated with Claude Code

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>
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@Kangyan-Zhou Kangyan-Zhou merged commit 8efa177 into main Apr 26, 2026
45 checks passed
@Kangyan-Zhou Kangyan-Zhou deleted the fix_nightly_pypi branch April 26, 2026 05:37
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant