-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
cliRelated to the command line interfaceRelated to the command line interfacegood first issueGood for newcomersGood for newcomershelp wantedContribution especially encouragedContribution especially encouraged
Description
Currently (uv v0.3.5) if a constraint is used with uv tool install the version/restriction is pinned and subsequent uv tool upgrade commands might not update to a newer release. E.g. `uv tool install "pyinfra<3.0".
Over time I imagine it's easy to forget that a tool was installed this way. And as a result one might start wondering why e.g. uv tool upgrade --all misses newer versions for some tools.
I think it would help if the output from uv tool list shows what specifier was used to install a tool (which is stored in $(uv tool dir)/${package_name}/uv-receipt.toml).
Example (mockup):
$ uv tool install "pyinfra<3.0"
$ uv tool list
pyinfra v2.9.2 (specifier: "<3.0")
- pyinfra
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cliRelated to the command line interfaceRelated to the command line interfacegood first issueGood for newcomersGood for newcomershelp wantedContribution especially encouragedContribution especially encouraged