Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve 'any' search message during uv python install #4940

Merged
merged 2 commits into from
Jul 10, 2024
Merged

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Jul 9, 2024

Special cases the Any request in output

e.g.,

❯ cargo run -q -- python install --isolated
warning: `uv python install` is experimental and may change without warning.
Searching for Python installations
Found existing installation: cpython-3.12.3-macos-aarch64-none
Python is already available. Use `uv python install <request>` to install a specific version.

instead of

❯ cargo run -q -- python install --isolated
warning: `uv python install` is experimental and may change without warning.
Searching for Python versions matching: any Python
Found existing installation for any Python: cpython-3.12.3-macos-aarch64-none
Python is already available. Use `uv python install <request>` to install a specific version.

@zanieb zanieb added the cli Related to the command line interface label Jul 9, 2024
@zanieb zanieb changed the title Improve any search message during uv python install Improve 'any' search message during uv python install Jul 9, 2024
@zanieb
Copy link
Member Author

zanieb commented Jul 9, 2024

Loosely considering keeping the existing messages when --verbose is used.

@zanieb zanieb added the preview Experimental behavior label Jul 9, 2024
@zanieb zanieb enabled auto-merge (squash) July 10, 2024 14:43
@zanieb zanieb merged commit d497ada into main Jul 10, 2024
49 checks passed
@zanieb zanieb deleted the zb/install-search branch July 10, 2024 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to the command line interface preview Experimental behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants