Repository navigation
docs: describe dev-init's actual Python 3.11 resolution, not bare python3 - #22185
Merged
kodjima33 merged 2 commits intoOct 19, 2026
Merged
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
kodjima33
deleted the
issues-improver/22079-dev-init-python-resolution
branch
October 19, 2026 14:42
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What / why
docs/doc/developer/AppSetup.mdxandapp/README.mdboth saymake dev-initbuildsbackend/.venvfrom "whateverpython3resolves to," and tell the reader to make sure their defaultpython3is 3.11.That hasn't been true since #21413:
scripts/dev-harness/dev-init.shsources_resolve_python.sh, whosedev_harness_backend_pinned_python()resolves a pinned Python 3.11 on its own —python3.11onPATH, then Homebrew's[email protected]prefixes, then auv-managed 3.11 (installing one viauvif needed) — and refuses up front with install instructions if none can be provisioned. A contributor whose defaultpython3is 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
python3is 3.10 thatmake dev-initbuilt a 3.11 venv without any manual step — confirmed by reading_resolve_python.shdirectly (lines 50-84:dev_harness_backend_pinned_python).What I tested
scripts/dev-harness/_resolve_python.shanddev-init.shto confirm the resolution order described in the new text matches the actual code.docs/,app/,backend/for any other copy of the stale "whateverpython3resolves to" claim — none found.make preflight— all 13 checks pass.app/README.mdis underapp/) — 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.