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

Feature Request: uv tool install/uninstall/upgrade supports multiple packages #6571

Closed
pplmx opened this issue Aug 24, 2024 · 5 comments · Fixed by #7037
Closed

Feature Request: uv tool install/uninstall/upgrade supports multiple packages #6571

pplmx opened this issue Aug 24, 2024 · 5 comments · Fixed by #7037
Labels
enhancement New feature or improvement to existing functionality help wanted Contribution especially encouraged uv tool Related to the uv tool interface

Comments

@pplmx
Copy link

pplmx commented Aug 24, 2024

As title

@zanieb
Copy link
Member

zanieb commented Aug 26, 2024

And what do you expect to happen if you do uv tool install --with foo black httpx?

@zanieb zanieb added enhancement New feature or improvement to existing functionality uv tool Related to the uv tool interface labels Aug 26, 2024
@pplmx
Copy link
Author

pplmx commented Aug 26, 2024

Why not run uv tool install ruff commitizen pre-commit? I hope these three can be installed.

@zanieb
Copy link
Member

zanieb commented Aug 26, 2024

Sorry that's not answering my question — what do you expect ot happen when you use --with or other flags with multiple install targets?

@pplmx
Copy link
Author

pplmx commented Aug 26, 2024

It seems that --with is intended for managing executables that require additional dependencies, whereas the aforementioned feature request focuses on installing, upgrading, or uninstalling multiple independent executables at the same time.
(Maybe the FR desc is not very clear, I'm sorry ><)

@zanieb
Copy link
Member

zanieb commented Aug 26, 2024

So the problem here is uv tool install tool1 tool2 is fine but once other flags are included, e.g., --with plugin1 it doesn't make sense if plugin1 should be applied to both tools or what. We're not excited about complicating the install interface to support multiple packages in this way.

However, I think uv tool uninstall and uv tool upgrade could definitely support multiple names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement to existing functionality help wanted Contribution especially encouraged uv tool Related to the uv tool interface
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants