Repository navigation
Pin pip tooling version in CI - #204
Merged
Merged
Conversation
… on it Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Contributor
|
No rebuild needed after merge: CI and release workflows use the pinned pip on their next run. |
capy-ai
Bot
requested review from
mogery
and removed request for
tomsideguide
October 23, 2026 07:54
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.
Installs pip from a hash-pinned bootstrap file (
.github/pip-bootstrap.txt, pip 26.2.2,--require-hashesand--only-binary=:all:) before the first pip command in:ci.ymlPython bindings job (beforepip install maturin)release.ymlwheel build job on non-Linux runners (Linux builds run inside the maturin container)release.ymlPyPI dry-run check, which previously usedpipx run twine check: it now sets up Python, bootstraps pip, installs twine and runspython -m twine checkThe wheel test jobs install with
--no-indexfrom local artifacts and make no network requests, so they are unchanged.Verified in a
python:3.13-slimcontainer: the bootstrap file yieldspip 26.2.2andpython -m twine --versionruns afterwards. No image or deployment is affected; the change takes effect on the next workflow run.Summary by cubic
Pins CI pip to a hash-verified bootstrap file (
.github/pip-bootstrap.txt, pip 26.2.2 with--require-hashesand--only-binary=:all:) so every pip invocation runs on a known-good version.pip install maturinin the CI Python bindings job.python -m twine checkinstead ofpipx run twine check, gaining checkout and Python setup steps for manual runs.--no-indexand make no network requests.Written for commit c03ccaa. Summary will update on new commits.