Force Linux venv onto OS Python so apt _gi loads

uv was recreating .venv with managed CPython 3.12.2 (from .python-version),
which cannot import apt python3-gi's _gi. Pin .python-version to 3.12, create
and sync the venv with --no-managed-python using /usr/bin/python3, fail setup
if GTK is still unusable, and document the ABI mismatch.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-07-25 05:54:59 +00:00
parent cf08d35767
commit b9ea8b2d36
5 changed files with 78 additions and 31 deletions

View File

@@ -1 +1 @@
3.12.2
3.12