uv sync --active was honoring .python-version (3.12) and replacing the
system-site-packages venv, so python3-gi from Ubuntu's interpreter was
no longer importable.
Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
setup_linux.sh used command -v python3, which with an activated .venv or
uv on PATH resolved to ~/.local/share/uv/python/... and failed the gi
preflight even though apt python3-gi was installed. Always use
/usr/bin/python3 for the native-window venv.
Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
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>
Provide desktop/setup_linux.sh for apt + system-site-packages uv venv,
point docs at it, and print Python version plus the real gi/typelib error
when falling back to the browser.
Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>