Skip to content

Bug: uv tool upgrade --all reports Nothing to upgrade despite outdated tools #22497

Closed

Description

@pygarap

Summary

On uv 0.13.0, uv tool list --outdated identifies newer package versions, but uv tool upgrade --all reports Nothing to upgrade without updating them.

This behavior was previously reported in #18522 and #19704, both closed as completed, but it still occurs.

Steps to reproduce

  1. Install a tool using @latest, without any version constraints such as < or <=:

    $ uv tool install tombi@latest
  2. Once a newer version becomes available, check for outdated tools:

    $ uv tool list --outdated
    tombi v1.8.1 [latest: 1.8.4]
    - tombi
  3. Attempt to upgrade all installed tools:

    $ uv tool upgrade --all
    Nothing to upgrade

Additional context:

  • The tool was installed using uv tool install tombi@latest, without any upper-bound version constraints.
  • No exclude-newer setting is configured.
  • The installed version remains outdated despite a newer version being available.

Expected behavior

uv tool upgrade --all should upgrade outdated tools to the latest versions allowed by their installation constraints and effective configuration.

If an upgrade is prevented by a version constraint or another setting, uv should explain why rather than reporting Nothing to upgrade.

Actual behavior

uv tool list --outdated identifies tombi 1.8.4 as available, but uv tool upgrade --all reports Nothing to upgrade and leaves version 1.8.1 installed, despite having no version constraints or exclude-newer configuration preventing the upgrade.

References

Platform

Darwin 27.0.0 arm64 Darwin

Version

uv 0.13.0 (4ecd0ef 09/10/2026 aarch64-apple-darwin)

Python version

Python 3.15.0

Activity

  1. changed the title [-]`uv tool upgrade --all` reports `Nothing to upgrade` despite outdated tools[/-] [+]Bug: `uv tool upgrade --all` reports `Nothing to upgrade` despite outdated tools[/+] on Oct 12, 2026
  2. zanieb commented on Oct 12, 2026

    @zanieb
    Member

    Do you have a global config?

  3. pygarap commented on Oct 12, 2026

    @pygarap
    Author

    @zanieb

    ~/.config/uv/uv.toml:

    required-version = ">=0.13.0"
    
    python-preference = "only-managed"
    
    preview-features = true
    
    exclude-newer = false
    
    [audit]
    malware-check = true
    
    [pip]
    strict = true
  4. charliermarsh commented on Oct 12, 2026

    @charliermarsh
    Member

    I think this is because you're in preview. I'll look into it.

  5. added
    bug
    preview
    on Oct 12, 2026
  6. added a commit that references this issue on Oct 12, 2026
    f55ed82
  7. pygarap commented on Oct 12, 2026

    @pygarap
    Author

    @charliermar Could you please take a look at #22468 when you have a moment? Thanks! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugpreview

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions