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

uv tool should install the latest version of the tool #4689

Open
konstin opened this issue Jul 1, 2024 · 2 comments
Open

uv tool should install the latest version of the tool #4689

konstin opened this issue Jul 1, 2024 · 2 comments
Labels
needs-decision Undecided if this should be done preview Experimental behavior

Comments

@konstin
Copy link
Member

konstin commented Jul 1, 2024

In #4685, the installation of azure-cli failed because the latest version was incompatible. Should uv tool force to installing the latest version of a tool instead? I wouldn't know when i'd want uv tool install foo to install an older version of foo.

@konstin konstin added needs-decision Undecided if this should be done preview Experimental behavior labels Jul 1, 2024
@zanieb
Copy link
Member

zanieb commented Jul 1, 2024

Can you clarify what you mean here? I'm kind of confused.

@konstin
Copy link
Member Author

konstin commented Jul 2, 2024

In #4685, uv tool install azure-cli was backtracking from azure-cli 2.61.0 to 2.0.67, with no indication that we're not installing the latest version. When i install a cli tool by name, i'd expect it to install the latest version of that tool, not backtrack through the versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-decision Undecided if this should be done preview Experimental behavior
Projects
None yet
Development

No branches or pull requests

2 participants