PYTHON-6084 Rework Evergreen Python interpreter selection for uv - #26
Draft
blink1073 wants to merge 1 commit into
Draft
PYTHON-6084 Rework Evergreen Python interpreter selection for uv#26blink1073 wants to merge 1 commit into
blink1073 wants to merge 1 commit into
Conversation
blink1073
commented
Sep 10, 2026
blink1073
commented
Sep 11, 2026
blink1073
commented
Sep 11, 2026
blink1073
commented
Sep 11, 2026
blink1073
commented
Sep 11, 2026
blink1073
commented
Sep 11, 2026
blink1073
commented
Sep 11, 2026
blink1073
force-pushed
the
PYTHON-6084
branch
from
September 11, 2026 11:52
e162d83 to
5b3f8b1
Compare
blink1073
force-pushed
the
PYTHON-6084
branch
7 times, most recently
from
September 11, 2026 23:15
7912a7e to
b5412d1
Compare
blink1073
force-pushed
the
PYTHON-6084
branch
from
September 11, 2026 23:24
b5412d1 to
1e0222c
Compare
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.
Rework how Evergreen selects the Python interpreter for uv tasks. Task config now sets
UV_PYTHONdirectly (a version like3.10/3.14t, an implementation likepypy3.11, or an absolute path) instead of aTOOLCHAIN_VERSIONexpansion that a script translated per host, so the interpreter lookup happens on the host.UV_PYTHONdirectly; removedTOOLCHAIN_VERSIONand regenerated the Evergreen task and variant configs.setup-uv-python.shresolves the interpreter on the host, settingUV_PYTHON_SEARCH_PATH/UV_PYTHON_PREFERENCEagainst a matching toolchain Python, and defaults to CPython 3.10 when a task does not pin one.setup_tests.py/utils.py/run-tests.shpropagate and scrub theUV_PYTHONsearch-path vars; the perf task clears them so its exact-patch interpreter resolves normally.PYTHON-6084
Changes in this PR
Test Plan
Checklist
Checklist for Author
Checklist for Reviewer