[proto] Swap pip → uv in CI workflow#92
Merged
Merged
Conversation
Replace pip with uv in the python-package job: install `build` via `uv tool install` (wrapped in a 3-attempt retry with UV_HTTP_TIMEOUT=120 to absorb transient PyPI flakes), invoke it as `pyproject-build`, and use `uv pip install` for the smoke-test wheel install. Drops `--user` and the `pip install -U pip` self-upgrades. Pattern mirrors evalops/maestro-internal#1492. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
PR SummaryLow Risk Overview Adds Reviewed by Cursor Bugbot for commit d4767e7. Bugbot is set up for automated code reviews on this repo. Configure here. |
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
pipwithuvin thepython-packagejob of.github/workflows/ci.yml.buildis now installed viaastral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0+uv tool install build, wrapped in a 3-attempt retry withUV_HTTP_TIMEOUT=120. Invoke it aspyproject-build(the CLI shimbuildexposes).uv pip install dist/*.whlinside the existing.venv-smokevenv.python -m pip install --upgrade pipself-upgrades; no--userwas in use.Why
Mirrors the pattern from evalops/maestro-internal#1492, where
pipstalled on a partial-read timeout anduv(with its resume + retry semantics, plus an explicit 3-attempt wrapper) eliminated the flake. Same shape applied here soprotoCI doesn't trip on the same class of PyPI hiccup.Files changed
.github/workflows/ci.yml— only file in.github/withpip install/python -m piphits.Test plan
python-packagejob passes on this PR (build wheel + smoke install + import-all check).build(uv resolves latest, matching prior behavior — no version was previously pinned).lint,breaking,generate,go-test,ts-package) unaffected.🤖 Generated with Claude Code