Skip to content

"uv python upgrade" always complains python is not managed by uv #15669

Closed

Description

@ismail

Summary

; uv python upgrade
warning: `uv python upgrade` is experimental and may change without warning. Pass `--preview-features python-upgrade` to disable this warning
warning: Executable already exists at `/home/idoenmez/.local/bin/python3.13` but is not managed by uv; use `uv python install 3.13 --force` to replace it

; ls -al /home/idoenmez/.local/bin/python3.13
lrwxrwxrwx 1 idoenmez amazon 84 Sep  3 22:36 /home/idoenmez/.local/bin/python3.13 -> /home/idoenmez/.local/share/uv/python/cpython-3.13.7-linux-x86_64-gnu/bin/python3.13

; uv python install 3.13 --force
Installed Python 3.13.7 in 14ms
 + cpython-3.13.7-linux-x86_64-gnu (python3.13)

; uv python upgrade
warning: `uv python upgrade` is experimental and may change without warning. Pass `--preview-features python-upgrade` to disable this warning
warning: Executable already exists at `/home/idoenmez/.local/bin/python3.13` but is not managed by uv; use `uv python install 3.13 --force` to replace it

Platform

Linux amd64

Version

uv 0.8.15

Python version

Python 3.13.7

Activity

  1. added
    bug
    on Sep 3, 2025
  2. zanieb commented on Sep 4, 2025

    @zanieb
    Member

    Thanks! We'll look into this.

  3. self-assigned this
    on Sep 4, 2025
  4. zanieb commented on Nov 9, 2025

    @zanieb
    Member

    I can't seem to reproduce this.

  5. ismail commented on Nov 9, 2025

    @ismail
    Author

    Because it's somehow fixed! :-) I didn't have time to find what commit fixed it, but please feel free to close this. Thanks!

  6. zanieb commented on Nov 9, 2025

    @zanieb
    Member

    Awesome :D

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

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions