Fix PEP 668 compliance for bloc installation #29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-pep668-bloc-install"
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?
Fixes CI failure from PR #28.
Problem
Debian 12 (bookworm) has PEP 668 protection that blocks system-wide pip installations with error: "The interpreter at /usr is externally managed".
Solution
Changed bloc installation to use a virtual environment at
/opt/venv(recommended approach per PEP 668).Changes
/opt/venvuv pip install/opt/venv/binto PATH sobloccommand is accessible system-wideTesting
CI will validate the Docker build completes successfully.