Repository navigation
refactor(image): evict redundant CPython 3.13 via gitMinimal and unwrapped actionlint - #1126
Merged
Merged
Conversation
…apped actionlint Swap the image's full git for gitMinimal and drop actionlint's optional python3.13-pyflakes wrapper. With bandit (#1105) and criu (#1106) already gone, these were the last two anchors of the redundant python3-3.13.13 interpreter; the image closure drops ~149 MiB (interpreter + git-doc). Both swaps are image-only (builtins.filter in imageTools) — the dev-shell keeps full git and stock actionlint via devTools. gettext stays (linked by gitMinimal). Corrects the .vulnixignore perl provenance (now anchored by neovim -> wl-clipboard -> xdg-utils, not git). Refs: #1107
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.
Summary
The image carried a second CPython interpreter (
python3-3.13.13, 127 MiB) thatthe chosen 3.14 toolchain never uses, held by four anchors. #1105 (bandit) and
#1106 (criu) removed two; this PR removes the last two and completes the
eviction:
git→gitMinimal(stock nixpkgs attr, cached — the exactderivation bandit's gitpython used to pull). Drops the git-p4/python-helper
anchor plus
git-doc. Losessend-email/svn/p4/gitk/git helpmanpages — declared non-contract in [EPIC] Slim the devcontainer image (~680 MiB, mode-neutral cuts) #1103 (
semver:minor). Builtin-C porcelain(
log,commit,rebase -i,add -p, worktrees) and SSH signing unaffected.actionlint→overrideAttrswithout thepyflakeswrapper (.overrideonly exposes
python3Packages, so the wrapper'spostInstallis rewritten towrap with
shellcheckonly). Loses inline-python lint on workflowrun:steps; shellcheck-backed lint and the man page stay.
Both swaps follow the image-scoped filter pattern from #1106 —
devTools(theSSoT) is untouched, so the dev-shell keeps full git and stock actionlint.
Also fixes the now-false provenance notes in
.vulnixignore: the perl 5.42entries claimed perl is in-closure "via git's perl-based subcommands"; after this
PR its sole anchor is
neovim → wl-clipboard → xdg-utils(the #1108 chain). CVEignore lines themselves unchanged (perl is still present until #1108).
Evidence (independently re-verified)
nix path-info -r | grep -E 'python3-3.13|python3.13-'→ EMPTY — theissue's hard gate
git-minimal-2.54.0in the closure;git version 2.54.0;git-p4present only as the upstream "not built with python" stub.github/workflows/ci.ymlclean; its closurecontains
shellcheckand zero python pathsgettextstays (still linked by gitMinimal for i18n) — the changelog statesthis honestly rather than claiming it dropped
test_image.pyasserts onlygit version(identicalstring for gitMinimal); no send-email/pyflakes assertions exist
prek run --all-files, exit 0)Part of epic #1103 (sub-issue 4/5). Unblocks #1108 (perl eviction — git no
longer anchors perl; only the neovim chain remains).
Closes #1107