Skip to content

docs: describe dev-init's actual Python 3.11 resolution, not bare python3 - #22185

Merged
kodjima33 merged 2 commits into
mainfrom
issues-improver/22079-dev-init-python-resolution
Oct 19, 2026
Merged

kodjima33 merged 2 commits into
mainfrom
issues-improver/22079-dev-init-python-resolution

Conversation

@kodjima33

@kodjima33 kodjima33 commented Oct 18, 2026 •

Copy link
Copy Markdown
Collaborator

What / why

docs/doc/developer/AppSetup.mdx and app/README.md both say make dev-init builds backend/.venv from "whatever python3 resolves to," and tell the reader to make sure their default python3 is 3.11.

That hasn't been true since #21413: scripts/dev-harness/dev-init.sh sources _resolve_python.sh, whose dev_harness_backend_pinned_python() resolves a pinned Python 3.11 on its own — python3.11 on PATH, then Homebrew's [email protected] prefixes, then a uv-managed 3.11 (installing one via uv if needed) — and refuses up front with install instructions if none can be provisioned. A contributor whose default python3 is 3.10/3.12 doesn't need to touch it.

Fixes #22079. Docs only, no code change.

Evidence from the issue

Issue author verified on a Mac where python3 is 3.10 that make dev-init built a 3.11 venv without any manual step — confirmed by reading _resolve_python.sh directly (lines 50-84: dev_harness_backend_pinned_python).

What I tested

  • Read scripts/dev-harness/_resolve_python.sh and dev-init.sh to confirm the resolution order described in the new text matches the actual code.
  • Grepped docs/, app/, backend/ for any other copy of the stale "whatever python3 resolves to" claim — none found.
  • make preflight — all 13 checks pass.
  • Pushed through the repo's pre-push gate (14 checks incl. the mobile changelog-fragment contract, since app/README.md is under app/) — all pass; added a {"kind": "none"} changelog fragment for the docs-only README edit.

Auto-generated from issue feedback by the mini issues-improver — tested and merged.

View guided diff Turn on auto-fix

@mintlify

mintlify Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
omi 🟢 Ready View Preview Oct 18, 2026, 3:06 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@kodjima33
kodjima33 merged commit a7e27ae into main Oct 19, 2026
50 checks passed
@kodjima33
kodjima33 deleted the issues-improver/22079-dev-init-python-resolution branch October 19, 2026 14:42

This branch was successfully deployed

1 active deployment
staging - docs — 991d8e0f Deployed Oct 18, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: AppSetup and app/README still say make dev-init uses whatever python3 resolves to

1 participant