Skip to content

fix(toolbox): pin base image Python to 3.12 (unbreak yara-python build) - #39

Merged
garymike merged 1 commit into
mainfrom
fix/pin-base-python-3.12
Jul 20, 2026
Merged

garymike merged 1 commit into
mainfrom
fix/pin-base-python-3.12

Conversation

@garymike

Copy link
Copy Markdown
Owner

main's build broke when Dependabot bumped the toolbox base image to Python 3.14.

Cause

Fix

  • Pin toolbox/base and toolbox/gha back to the known-good python:3.12-slim-bookworm digest.
  • Hold Dependabot at 3.12 for both docker directories (ignore semver-minor and semver-major for python; patch updates still flow) until a yara-python wheel for a newer Python ships upstream.

No behavior change. Restores the green build so the docs PR (#38) can merge on passing checks.

Dependabot bumped the toolbox base image from python:3.12-slim-bookworm to 3.14
(#9, plus the gha downloader in #14). yara-python, pulled in by SkillSpector, has
no wheel for 3.14, so pip compiles it from source and the slim image has no gcc.
That failed the skill-audit-toolbox build and turned dogfood-scan red on main.

Pin toolbox/base and toolbox/gha back to the known-good python:3.12-slim-bookworm
digest, and hold Dependabot at 3.12 (ignore minor and major python bumps; patch
updates still flow) until a yara-python wheel for a newer Python ships upstream.

No behavior change. Restores the green build.
@garymike
garymike merged commit 9ec6752 into main Jul 20, 2026
9 checks passed
@garymike
garymike deleted the fix/pin-base-python-3.12 branch July 20, 2026 01:38
garymike added a commit that referenced this pull request Jul 31, 2026
The ignore added in #39 to hold Python at 3.12 was bypassed by #49 five days later (digest pins do not match a semver ignore), and its premise expired when a yara-python wheel landed. Removed rather than repaired: the build-every-image-on-every-PR CI gate already catches a breaking runtime bump empirically.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant