Repository navigation
python: show environment name before version in the interpreter picker - #17061
isabelizimm wants to merge 3 commits into
Conversation
The interpreter picker now labels Python rows with their tool or env name and shows the version as gray text, next to "not supported". Co-Authored-By: Claude <noreply@anthropic.com>
|
E2E Tests 🚀 Why these tags?
More on automatic tags from changed files. Test count: Linux: 312 tests across 2 shards. |
|
Interested in folks thoughts on how this looks/feels!! 👀 |
|
🔎 Exploratory testing 60d3bbd 2 minor
|
|
hmmmmm some things are bugging me a bit after all:
...maybe I did like the original better? |
|
The ordering is by Python version within groups, so I think it's okay to break that up if there's something else that is more ergonomic! We could try out grouping by manager within each project/global/external group, then secondary sort via version? If that still doesn't feel right, happy to keep noodling around on this branch to find something that seems scannable for a variety of tasks! |
Within each picker group, Python rows now sort alphabetically by the tool that manages them (no tool last), then by version, newest first. Unsupported rows still follow all supported ones. Co-Authored-By: Claude <noreply@anthropic.com>
Base interpreters share the Global environments header; they now share its groupOrder too, so unsupported Global rows no longer sit between the supported Global rows and the Base rows. Co-Authored-By: Claude <noreply@anthropic.com>

Fixes #17022
Summary
Python rows in the interpreter picker now lead with the tool or environment name, and the Python version moves to the gray text. The version now sits right next to "not supported", so it no longer reads as if the environment manager is unsupported.
uv: myprojectPython 3.12.4HomebrewPython 3.13.2pyenvPython 3.13.1 · not supportedPython 3.8.10not supported(if applicable)Rows with only a tool name (several
Homebrewrows, for example) repeat the label. The version in the gray text and the group header tell them apart. When there is no tool or env name, the version stays as the label so the row is never blank.Within each group, rows sort alphabetically by environment manager (no known manager last), then by version, newest first. Unsupported rows still come after all supported ones.
The e2e helpers find picker rows by aria-label ("label, gray text, path"), so they are updated for the new order:
selectQuickInputElementContainingalso accepts a list of substrings, and a row must contain all of them.3.12.10 (Conda)) matches the version and the source separately.Screenshots
new behavior
Screen.Recording.2026-11-02.at.1.06.13.PM.mov
Release Notes
New Features
Bug Fixes
Validation Steps
@:sessions @:interpreter @:environment-modules @:notebooks @:positron-notebooks
Python X.Y.Zas gray text, and that unsupported rows readPython X.Y.Z · not supported.Python 3.12) in the picker and verify the matching rows still appear.