feature: Manage package versions from sidebar - #1511
Merged
Eduardo Villalpando Mello (edvilme) merged 44 commits intoJun 19, 2026
Merged
feature: Manage package versions from sidebar#1511Eduardo Villalpando Mello (edvilme) merged 44 commits into
Eduardo Villalpando Mello (edvilme) merged 44 commits into
Conversation
Eduardo Villalpando Mello (edvilme)
marked this pull request as draft
May 8, 2026 03:19
Contributor
Author
|
The end goal is to have a version picker list all the available versions package in the feed (may or may not be PyPI) which requires further design discusisons. |
Copilot started reviewing on behalf of
Eduardo Villalpando Mello (edvilme)
May 11, 2026 20:17
View session
Copilot started reviewing on behalf of
Eduardo Villalpando Mello (edvilme)
May 11, 2026 21:29
View session
Copilot started reviewing on behalf of
Eduardo Villalpando Mello (edvilme)
May 11, 2026 23:08
View session
Eduardo Villalpando Mello (edvilme)
force-pushed
the
vscode-python-environments-package-versions
branch
2 times, most recently
from
May 12, 2026 00:07
05f44f3 to
f47f4f3
Compare
Eduardo Villalpando Mello (edvilme)
marked this pull request as ready for review
May 12, 2026 16:29
Copilot started reviewing on behalf of
Eduardo Villalpando Mello (edvilme)
May 12, 2026 16:33
View session
Eleanor Boyd (eleanorjboyd)
left a comment
Member
There was a problem hiding this comment.
super excited! just a few nits
Eduardo Villalpando Mello (edvilme)
force-pushed
the
vscode-python-environments-package-versions
branch
from
May 20, 2026 17:01
5bd59f5 to
c9e5dea
Compare
Copilot started reviewing on behalf of
Eduardo Villalpando Mello (edvilme)
May 20, 2026 22:55
View session
Copilot started reviewing on behalf of
Eduardo Villalpando Mello (edvilme)
May 21, 2026 16:40
View session
Eduardo Villalpando Mello (edvilme)
force-pushed
the
vscode-python-environments-package-versions
branch
from
June 2, 2026 20:45
823a724 to
2bafb18
Compare
…ssCaptureAll - Remove fetchPackages method from PackageManager interface in src/api.ts, api/src/main.ts, and examples/sample1/src/api.ts - Remove fetchPackages implementation from internal.api.ts - Remove runProcessCaptureAll function and ProcessResult interface from helpers.ts - Remove pip <= 20.3.4 fallback code path that used runProcessCaptureAll - Clean up unused import in pipPackageManager.ts Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Warn users that changing the version of a transitive dependency may cause unexpected behavior in packages that depend on it, following the same pattern used in handlePackageUninstall. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Remove setPackages from PackageManager interface in src/api.ts, api/src/main.ts, and examples/sample1/src/api.ts, and its wrapper implementation in internal.api.ts. No managers implemented this method. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The function was only used by the pip <= 20.3.4 fallback code path which was previously removed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Eduardo Villalpando Mello (edvilme)
requested review from
Copilot and
Eleanor Boyd (eleanorjboyd)
June 16, 2026 21:50
Copilot started reviewing on behalf of
Eduardo Villalpando Mello (edvilme)
June 17, 2026 16:48
View session
- Guard against undefined from parse(environment.version) by extracting base_version into a variable and returning early if null, instead of using non-null assertion (!) - Fix published API package: rename getAvailableVersions to getPackageAvailableVersions with correct parameter order (environment, packageName) to match internal PackageManager interface Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…/github.com/microsoft/vscode-python-environments into vscode-python-environments-package-versions
Eduardo Villalpando Mello (edvilme)
requested a review
from Eleanor Boyd (eleanorjboyd)
June 18, 2026 18:58
Eleanor Boyd (eleanorjboyd)
approved these changes
Jun 19, 2026
Eduardo Villalpando Mello (edvilme)
deleted the
vscode-python-environments-package-versions
branch
June 19, 2026 16:30
This was referenced Jun 19, 2026
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.
Feature: Manage package versions from sidebar
This pull request adds a new "Manage Package Version" command to the Python Envs extension, allowing users to update the version of an installed package via the UI.
1. Select "Manage Package Version" in packages view.
2a. Select the desired version
For package managers that support it (conda, uv, pip >= 21.2.0), the extension fetches all available versions from the index and displays them in a picker.

2b. Type the desired version
If the package versions cannot be fetched, the extension prompts the user to type in the desired version

User is warned if input is not a correct version number.
Fixes #1368
Fixes #512