Repository navigation
Track Python base image with Dependabot, pinned to 3.14 - #416
Conversation
Use a literal tag in a base stage so Dependabot can read it; drop the unused PYTHON_IMAGE ARG. Ignore python major/minor bumps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🟢 All clear: Claude of Duty review passedMission: Review the code. Protect the branch. Deploy the future. Tip No findings. This review found no reason to block. Nothing to do for this review.
Run 45215034399, attempt 1 for head Claude of Duty never approves a PR. A human reviewer gives the final approval. 📋 Full review record: reasons, checks, signals, finding details, model summaries, token usageReviewed snapshot
Reasons the gate failed None. No reason applies. Checks (code, no model)
Signals (context only, never block)
Dependency changes None. Finding details
Blocking is decided by code from category and severity, never by the model. A finding in a blocking category blocks only at high or critical severity. No findings. All three passes completed. Model summaries
Token usage
|
|
Compared this with the same fix in operationcode-pybot (OperationCode/operationcode-pybot#470). Two gaps here, and one thing we took from this PR:
Not verified: I did not build this image, so point 2 is inferred from the Dockerfile. |
Python constraint is now >=3.14,<3.15 to match the Dependabot ignore. Runtime already uninstalled pip; also delete the ensurepip bundled wheels, which carry the same vendored CVEs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| python -m pip uninstall -y -q pip && \ | ||
| /usr/local/bin/python -m pip uninstall -y -q pip | ||
| /usr/local/bin/python -m pip uninstall -y -q pip && \ | ||
| rm -f /usr/local/lib/python3.14/ensurepip/_bundled/*.whl |
There was a problem hiding this comment.
low bug, confidence low, pass review
Hard-coded python3.14 path in ensurepip wheel removal
The path hard-codes python3.14. With rm -f, a future minor bump of the base image would silently skip the removal and leave the vulnerable bundled wheels. The pin and Dependabot ignore rules currently keep the image on 3.14, so impact is low.
Model output from untrusted input. Check it before you act on it.
…4 path Add grouped pip and github-actions updates with a 7-day cooldown. Use python3.* in the ensurepip wheel cleanup so a base image bump keeps it working. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Summary
Dependabot never opened Docker base image PRs for this repo, unlike operationcode-pybot. Two causes:
.github/dependabot.ymlexisted onmain.ARG PYTHON_IMAGE+FROM ${PYTHON_IMAGE}. Dependabot does not resolve ARG variables inFROM, so it could not see the image.Changes
.github/dependabot.ymlwith a weeklydockerentry.semver-minorandsemver-majorupdates forpython. We stay on Python 3.14; Dependabot will only propose 3.14.x patch bumps. Remove the rule when we move to 3.15.basestage with the literal tagpython:3.14.10-slim-trixie. Other stages useFROM base. Same image, same stage names.PYTHON_IMAGEwas not used anywhere else (CI and compose use onlytarget:).Verification
docker build --target developmentand--target runtimepass.docker scouton theruntimeimage: 0 critical, 4 high.mainhas the same 4 high. All are in Debianopenssl 3.5.9-1~deb13u1, with no fix yet. Future 3.14.x patch PRs from Dependabot should pick up the fix.🤖 Generated with Claude Code