feature: Manage package versions from sidebar#1511
Open
edvilme wants to merge 40 commits into
Open
Conversation
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. |
edvilme
commented
May 11, 2026
05f44f3 to
f47f4f3
Compare
eleanorjboyd
left a comment
Member
There was a problem hiding this comment.
super excited! just a few nits
5bd59f5 to
c9e5dea
Compare
edvilme
commented
May 27, 2026
823a724 to
2bafb18
Compare
…rent package managers
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…mport - Replace semver.SemVer with Pep440Version in pythonApi.ts to match API interface - Fix test import path: pipManager -> pipPackageManager - Remove unused semver dependency Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
4ab6678 to
f1aa37c
Compare
edvilme
commented
Jun 16, 2026
edvilme
commented
Jun 16, 2026
…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>
- 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>
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