feat(python): add --all-variants flag to python list#18881
Open
renezander030 wants to merge 2 commits intoastral-sh:mainfrom
Open
feat(python): add --all-variants flag to python list#18881renezander030 wants to merge 2 commits intoastral-sh:mainfrom
renezander030 wants to merge 2 commits intoastral-sh:mainfrom
Conversation
Add `--all-variants` option to `uv python list` that shows debug builds which are hidden by default. Debug builds are also shown when explicitly requested via the version specifier (e.g., `uv python list 3.13+debug`). Fixes astral-sh#15983
Extract allows_debug() check before base_download_request is moved into the match arms, fixing E0382 borrow checker error.
Member
|
Can you add a test case? |
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.
Summary
--all-variantsCLI flag touv python listthat includes debug builds in the output (hidden by default)uv python list 3.13+debug)--all-platforms,--all-arches, and--all-versionsflagsFixes #15983
Test plan
uv python list-- debug builds remain hidden (no behavior change)uv python list --all-variants-- debug builds are included in the outputuv python list 3.13+debug-- debug builds for 3.13 are shown without needing--all-variants