fix: Use venv in CI test step to avoid --break-system-packages issue #13
No reviewers
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/basketball-api!13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "12-fix-ci-test-step-fails-due-to-missing-ve"
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?
Summary
pip install .[dev]in a barepython:3.12-slimcontainer is blocked by PEP 668 (externally managed environment)--break-system-packagesChanges
.woodpecker.yaml: Changed the test step to create a venv at/tmp/venvand run all commands (pip install,ruff check,ruff format,pytest) through the venv's Python/pip. The build-and-push step is unchanged.Test Plan
Review Checklist
Related