fix(scripts): ./infra and common-vault.sh scripts use the repo's .venv without activating it #189
Loading…
Reference in a new issue
No description provided.
Delete branch "jfraeys/fix/scripts-use-repo-venv"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Several scripts run a bare
python3 -c 'import yaml ...'(rotate-ovh-s3-credentials.sh, init-secrets.sh, rotate-secret.sh's diff step) and relied on the operator having activated .venv; with the Homebrew python3 first on PATH they die withModuleNotFoundError: No module named 'yaml'../infraand anything sourcingscripts/lib/common-vault.shnow put.venv/binfirst on PATH when it exists. Test: scripts/tests/test-venv-path.sh (in lint.yml).🤖 Generated with Claude Code
https://claude.ai/code/session_01Ge5tovcwdEUBtPwUktsZZZ