You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: AppSetup and app/README still say make dev-init uses whatever python3 resolves to #22079
make dev-init builds backend/.venv from whatever python3 resolves to, and the backend requires Python 3.11 — make sure that's what you get, or the harness fails later with import errors.
What actually happens
Since #21413, scripts/dev-harness/dev-init.sh resolves a pinned 3.11 on its own (dev_harness_backend_pinned_python in _resolve_python.sh): python3.11 on PATH, then the Homebrew [email protected] prefixes, then a uv-managed 3.11, installing one with uv if needed. If nothing is found it refuses up front:
dev-init: no Python 3.11 could be provisioned for backend/.venv.
The backend pylock requires >=3.11,<3.12 (mobile_doctor rejects any other version).
Fix: install Python 3.11 (e.g. 'brew install [email protected]' or 'uv python install 3.11'), then re-run dev-init.
Verified on a Mac where python3 is 3.10: make dev-init built a 3.11 venv without any manual step.
Why it matters
A new contributor with a 3.10 or 3.12 default python3 reads the note and goes looking for a way to switch their default interpreter before running the one command that already handles it.
Fix
Replace the sentence in both files with what dev-init does now. Docs only, no code change.
Activity
docs(dev-harness): document Python 3.11 auto-provisioning in AppSetup…
docs: describe dev-init's actual Python 3.11 resolution, not bare pyt…