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

Add uv tool list --outdated to show outdated tools #9636

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

j178
Copy link
Contributor

@j178 j178 commented Dec 4, 2024

Summary

Add uv tool list --outdated, similar to uv tree --outdated and uv pip list --outdated, to display only outdated tools.

cargo run -- tool list --outdated
ipython v8.29.0 (latest: v8.30.0)
- ipython
- ipython3
maturin v1.7.4 (latest: v1.7.7)
- maturin
ruff v0.8.0 (latest: v0.8.1)
- ruff
yt-dlp v2024.11.18 (latest: v2024.12.3)
- yt-dlp

Closes #9309

@konstin konstin requested a review from zanieb December 4, 2024 11:33
Comment on lines +314 to +321
Err(err) => {
warn!(
"Failed to find a Python interpreter for tool `{name}` by request `{python_request}`, use current tool interpreter instead: {err}",
);
RequiresPython::greater_than_equal_version(
&interpreter.python_minor_version(),
)
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not quite sure how to address this error, this approach might be incorrect.

@zanieb
Copy link
Member

zanieb commented Dec 10, 2024

@charliermarsh I think you have more context on the --outdated implementations — but let me know if you'd prefer that I review.

@charliermarsh
Copy link
Member

👍 No worries, I can take this.

@charliermarsh charliermarsh self-assigned this Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

List available upgrades for tools with uv tool list --outdated
3 participants