Repository navigation
fix(deps): remove the Python ignore rule that never worked - #54
Merged
Merged
Conversation
#39 added an ignore holding Python at 3.12, because yara-python (via SkillSpector) had no 3.13/3.14 wheel and the slim image ships no C toolchain to build it from source. Five days later #49 bumped 3.12 to 3.14 straight through it. Two things were wrong with the rule, in opposite directions. It did not block what it was written for: these images pin by digest, so Dependabot raises digest updates that a `version-update:semver-minor|major` ignore never matches. And the premise expired anyway, since a wheel had landed and the toolbox has been building on 3.14 since 2026-07-24, including the skill-audit image and a passing SkillSpector job. So it sat there blocking future minor and major bumps for a reason that no longer held, while failing at the job it was added for. Removing it rather than repairing it, because the protection already exists and is stronger: `Build toolbox and scan this repo` builds every image from source on every Dependabot PR and Trivy-scans the result, so a runtime bump that breaks the build fails the PR instead of reaching main. That is a real gate on the actual failure, not a guess encoded as a version predicate. Also corrects a comment claiming domain images have no upstream OS-image dependency. toolbox/gha pins python directly in its downloader stage, which is why it has its own config entry, added later without the comment above being updated.
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.
The bug
#39(2026-07-19) added a Dependabotignoreholding Python at 3.12, because yara-python (pulled in by SkillSpector) had no 3.13/3.14 wheel and the slim image ships no C toolchain to build it from source.#49(2026-07-24) bumped 3.12 to 3.14 anyway, five days later, straight through the guard.Two failures, in opposite directions
It did not block what it was written for. These images pin by digest (
python:3.14-slim-bookworm@sha256:…), so Dependabot raises digest updates that aversion-update:semver-minor|majorignore never matches.Its premise had expired. A wheel landed, and the toolbox has been building on 3.14 since 2026-07-24 — including the skill-audit image, with the SkillSpector job passing. So the rule sat there blocking legitimate future bumps for a reason that no longer held, while failing at the job it was added for.
Why remove rather than repair
The protection already exists and is stronger.
Build toolbox and scan this repobuilds every image from source on every Dependabot PR and Trivy-scans the result, so a runtime bump that breaks the build fails the PR instead of reaching main. That gates on the actual failure rather than on a guess encoded as a version predicate.Repairing the ignore would mean maintaining a hand-written version constraint that duplicates what CI already proves empirically, and that has now been wrong in both directions once.
Also fixed
A comment above the
/toolbox/baseentry claimed domain images have no upstream OS-image dependency.toolbox/ghapins python directly in its downloader stage, which is why it has its own config entry — added later, without correcting the comment above it.Verification
github-actions:/,docker:/toolbox/base,docker:/toolbox/gha), zero ignore rules remainingpython:3.14-slim-bookworm@sha256:86f975a…with builds greenMG <[email protected]>Merged alongside this: the three open Dependabot PRs (#51, #52, #53), all green.