Files
aitbc/.gitea
aitbc1 5a19951c56
Some checks failed
audit / audit (push) Failing after 6s
ci-cd / build (push) Failing after 4s
ci / build (push) Failing after 2s
autofix / fix (push) Failing after 9s
test / test (push) Successful in 4s
ci-cd / deploy (push) Has been skipped
security-scanning / audit (push) Failing after 7s
fix: resolve poetry PATH issues with full path fallback
PROGRESS: Poetry installed via pipx but not in PATH during workflow execution

Issue: 'poetry: command not found' despite pipx installation
Root cause: PATH not updated in workflow execution context
Solution: Use full poetry path as fallback + PATH export

Changes:
- Add /root/.local/bin to PATH in workflows
- Use full poetry path as fallback: /root/.local/share/pipx/venvs/poetry/bin/poetry
- Install poetry on gitea-runner server for system availability
- Add path detection and fallback logic
- Maintain both PATH and full path approaches

Updated workflows:
- audit.yml: Poetry path resolution + dependency installation
- fix.yml: Poetry path resolution + dependency installation + safety
- security-scanning.yml: Poetry path resolution + dependency installation + security

Expected results:
- Poetry found via PATH or full path fallback
- Project dependencies installed successfully
- Security tools working in project venv
- All workflows completing successfully
- Complete PEP 668 compliance maintained

This should resolve the 'command not found' issue and enable
proper poetry execution for dependency management.
2026-03-27 13:21:46 +01:00
..