fix: ci poetry installs into system python

poetry.toml sets virtualenvs.create=false, so pipx poetry installed into
the runner's system Python 3.12 and failed uninstalling Debian packages.
Force venv creation in CI via POETRY_VIRTUALENVS_CREATE. Drop the poetry
cache from release, which never creates a venv.
This commit is contained in:
Alexander Myasoedov committed 2026-09-22 16:58:07 +03:00
1 parent bdf2208f6b
commit f43472cc9b
3 files changed
+2 -1

No files matched your search

+1
View File
@@ -2,6 +2,7 @@ name: Pre-Commit Checks
env:
POETRY_VERSION: "2.4.1"
POETRY_VIRTUALENVS_CREATE: "true"
on: