Force Linux venv onto OS Python so apt _gi loads #3

Merged
rhino merged 2 commits from cursor/linux-system-python-gi-b26a into main 2026-07-25 05:59:06 +00:00
Owner

Merge system-Python venv fix for native window on Linux.

Merge system-Python venv fix for native window on Linux.
rhino added 2 commits 2026-07-25 05:59:04 +00:00
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>
Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
rhino merged commit c38d9a93be into main 2026-07-25 05:59:06 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rhino/xlsx-clean#3