Files
aitbc/.gitea/workflows
aitbc1 70d5e7bc83
Some checks failed
audit / audit (push) Failing after 44s
ci-cd / build (push) Failing after 5s
ci / build (push) Failing after 3s
autofix / fix (push) Failing after 17s
security-scanning / audit (push) Failing after 17s
test / test (push) Successful in 1s
ci-cd / deploy (push) Has been skipped
fix: use venv pip explicitly to avoid system pip restrictions
ISSUE: Still hitting externally-managed-environment despite venv
Root cause: Poetry installation using system pip instead of venv pip
Solution: Use venv/bin/pip explicitly for all package installations

Changes:
- Use venv/bin/pip install poetry instead of pip install poetry
- Use venv/bin/pip install safety bandit for security tools
- Use venv/bin/safety and venv/bin/bandit for execution
- Maintain source venv/bin/activate for environment context
- Ensure all Python commands use isolated venv environment

Updated workflows:
- audit.yml: venv pip for poetry installation
- fix.yml: venv pip for poetry + safety tools
- security-scanning.yml: venv pip for poetry + security tools

Expected results:
- Poetry installed in virtual environment without system restrictions
- Security tools installed and executed in venv
- All Python dependencies managed in isolated environment
- No more externally-managed-environment errors

This ensures complete isolation from system Python and follows
PEP 668 requirements while maintaining the nuclear fix approach.
2026-03-27 13:01:40 +01:00
..