Skip to content

python: reclassify base uv interpreters as Global#14921

Draft
austin3dickey wants to merge 1 commit into
mainfrom
aus/uv-standalone-classification
Draft

python: reclassify base uv interpreters as Global#14921
austin3dickey wants to merge 1 commit into
mainfrom
aus/uv-standalone-classification

Conversation

@austin3dickey

@austin3dickey austin3dickey commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Fixes #14912. Reclassifies the uv base interpreters to Global.

This aligns their treatment in the interpreter picker, recommendation ranking, (upcoming) health check, and venv-base selection with every other standalone Python, and gives downstream code a clean way to distinguish externally-managed interpreters from virtual environments.

uv-created virtual environments are unchanged; they stay classified as (uv: parent_dir).

Release Notes

New Features

  • N/A

Bug Fixes

Validation Steps

To verify manually:

  1. Install a uv-managed standalone Python that is not on your $PATH:
    uv python install 3.12
  2. Create a uv virtual environment somewhere so both kinds are present:
    uv venv /tmp/uv-demo-venv
  3. Cold-start Positron and open the interpreter picker; wait for discovery to finish.
  4. Confirm the uv-managed standalone Python (under uv python dir) is listed as a Global interpreter -- no "(uv)" label -- and is grouped/ranked like other standalone Pythons.
  5. After opening the venv's parent as a workspace, confirm the uv virtual environment still shows as a uv environment.

@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown

E2E Tests 🚀
This PR will run tests tagged with: @:critical @:interpreter @:console @:modal

Why these tags?
Tag Source
@:critical Always runs (required)
@:interpreter Changed files
@:console Changed files
@:modal Touched test file

More on automatic tags from changed files.

readme  valid tags

@austin3dickey
austin3dickey force-pushed the aus/uv-standalone-classification branch from e43aa4d to ee35190 Compare July 17, 2026 02:44
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.

python: classify standalone uv Python installs as "Global", not "uv"

1 participant