Skip to content

fix(brew): add python@3.12 for pip-audit - #71

Merged
fredericrous merged 1 commit into
mainfrom
fix/brew-python312-pip-audit
Nov 21, 2026
Merged

fredericrous merged 1 commit into
mainfrom
fix/brew-python312-pip-audit

Conversation

@fredericrous

Copy link
Copy Markdown
Owner

pip-audit's temp venv copies its interpreter. uv's managed CPython 3.12 binary loads @rpath/libpython3.12.dylib relative to itself, so the copy dies in dyld (ensurepip SIGABRT) and greengate's audit-python reported "NOT checked" for 5 homelab services (decisions follow-up f103).

Adds Homebrew python@3.12 (it survives being copied), with the uv tool install line that puts pip-audit on it.

Checked: greengate run pre-push-audit-python in homelab now audits the services instead of aborting.

🤖 Generated with Claude Code

uv's managed CPython 3.12 cannot be copied into a venv (its binary
loads @rpath/libpython3.12.dylib), so pip-audit's temp venv aborted
in ensurepip and greengate's audit-python checked nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fredericrous
fredericrous merged commit f569e53 into main Nov 21, 2026
2 checks passed
@fredericrous
fredericrous deleted the fix/brew-python312-pip-audit branch November 21, 2026 14:04
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