Repository navigation
release tools lock: certifi 2026.7.22 -> 2026.10.23 (GHSA-6q48-6c7w-9gw2), a bounded re-resolve - #109
Conversation
…olve `.github/release-tools-cpython312-linux.txt` locks, by hash, the tools the release job builds with (build, setuptools, twine and what they pull in). It still pinned certifi 2026.7.22, which GHSA-6q48-6c7w-9gw2 covers (critical; fixed in 2026.10.18). 0.1.1 moved the package's own lock, `constraints-cpython312-linux.txt`, and left this one: it feeds only the release job's build tools and is not in the image or the package. The file is re-resolved the way its header says, with uv 0.12.18 and the same platform, but bounded. The file is its own `-o`, so uv keeps every pin it carries, and `--upgrade-package certifi==2026.10.23` is the one upgrade named. Exactly one entry moved, with both of its files' hashes (the wheel and the sdist), taken from PyPI's JSON API and checked against the files downloaded and hashed separately. A control run of the unchanged recipe over the new file changes nothing, and a run under every other pin held as a constraint gives the same body. A full regeneration would also have moved markdown-it-py, more-itertools, nh3 and pycparser, which is not what was asked for. The header's dated note records the re-resolve beside the first one, in its own style. No workflow file changes: `release.yml` installs this file with `--only-binary :all: --require-hashes`, and the new hashes satisfy that. No test reads this file or pins the old value. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days. You can request another review in 4 days and 9 hours by commenting |
Reviewer's GuideLock files and vendored codeUpdate the release-tools lock’s certifi pin and hashes to 2026.10.23, with a dated note documenting the bounded re-resolve.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
@codex review |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |



Moves the one
certifientry in.github/release-tools-cpython312-linux.txtfrom 2026.7.22 to 2026.10.23, with both of its files' hashes. Nothing else in the lock moves.Why
certifi2026.7.22 is inside GHSA-6q48-6c7w-9gw2 (critical; affected "< 2026.10.18"; the bundle carried anemSignroot whose intermediates have compromised keys). 0.1.1 moved the package's own lock,constraints-cpython312-linux.txt, to 2026.10.23 and left this second pin behind on purpose: this file feeds only the release job's build tools (build,setuptools,twineand what they pull in). It is not in the image and not in the package. This pull request moves it too, so that no pinnedcertifiin the repository is on the advisory's affected side any more, and the two locks name the same release.certifireaches this file throughrequests, whichtwinerequires.What changed (one file, +12 / -3)
certifi==2026.7.22->certifi==2026.10.23, hashes for its wheel and its sdist:e9b54de76e530bb6cf0ccd036787103acb58fd42ba930ea8bf948ddbaa2f61d1(certifi-2026.10.23-py3-none-any.whl)a9895e6e2758b371e0545e321a3a8fd1fcfd9829ada8824a936dfb16aaaf36cd(certifi-2026.10.23.tar.gz)No workflow file changes, no test changes.
release.ymlinstalls this file with--only-binary :all: --require-hashes, which the new hashes satisfy; nothing intests/ortests_runtime/reads this file or pins its old value.How it was made
The file's own recipe, with uv 0.12.18 (the version the header records) and the same platform, bounded so it cannot widen:
With the file as its own
-o, uv keeps every pin it already carries, so onlycertifican move.What was checked
certifilines. Three controls agree, the first two apart from uv's own-cannotation lines: the recipe under all 30 old pins held as constraints reproduces the old body; the recipe under the other 29 held as constraints, withcertififree, resolvescertifito 2026.10.23 and gives the new body; and the unchanged recipe over the new file as its own-ochanges nothing. A full regeneration with no pins held would also have movedmarkdown-it-py,more-itertools,nh3andpycparser, which is not what is asked for here.sha256sum: 2 of 2 match.release.ymlinstalls it. In a fresh cpython 3.12 venv:pip install --disable-pip-version-check --only-binary :all: --require-hashes -r .github/release-tools-cpython312-linux.txtexits 0 and installs exactly the file's 30 pins (pip checkclean,certifi2026.10.23). The same command on a copy with a certifi hash altered exits 1 with "THESE PACKAGES DO NOT MATCH THE HASHES", so hash checking was on.python -m build --no-isolationbuilds the sdist and the wheel,twine check --strictpasses both, andrequestscompletes a verified TLS request to the package index with the newcertifibundle.tests/test_release_workflow.py,tests/test_certifi_floor.py,tests/test_triple_pin.pyandtests_runtime/test_deploy_shape.py(250 cases) pass.Left alone on purpose
Not part of this change, only noticed:
setuptools==84.0.0, in this lock and inconstraints-cpython312-linux.txt, is covered by GHSA-xmj3-9gf7-h52w (low severity; Windows-only path escape in setuptools' legacy wheel installation; fixed in 84.1.0). The release job runs on Linux, and the header says a release is built by the samesetuptoolsthe suite's own wheel builds run, so moving it is its own change in both files.🤖 Generated with Claude Code
Summary by Sourcery
Update the release-tools certifi pin and hashes to the patched 2026.10.23 release without changing the remaining dependency set.
Bug Fixes:
Build: