Skip to content

uv python upgrade adds python3.x symlinks to ~/.local/bin #15178

@geofft

Description

@geofft

Summary

$ ls ~/.local/bin/python3.*
ls: cannot access '/home/ubuntu/.local/bin/python3.*': No such file or directory
$ uv python upgrade
warning: `uv python upgrade` is experimental and may change without warning. Pass `--preview-features python-upgrade` to disable this warning
Installed 7 versions in 69ms
 + cpython-3.8.20-linux-x86_64-gnu (python3.8)
 + cpython-3.9.23-linux-x86_64-gnu (python3.9)
 + cpython-3.10.18-linux-x86_64-gnu (python3.10)
 + cpython-3.11.13-linux-x86_64-gnu (python3.11)
 + cpython-3.12.11-linux-x86_64-gnu (python3.12)
 + cpython-3.13.6-linux-x86_64-gnu (python3.13)
 + cpython-3.14.0rc1-linux-x86_64-gnu (python3.14)
$ ls ~/.local/bin/python3.*
/home/ubuntu/.local/bin/python3.10  /home/ubuntu/.local/bin/python3.13  /home/ubuntu/.local/bin/python3.9
/home/ubuntu/.local/bin/python3.11  /home/ubuntu/.local/bin/python3.14
/home/ubuntu/.local/bin/python3.12  /home/ubuntu/.local/bin/python3.8

uv python upgrade --no-bin doesn't exist, and UV_PYTHON_INSTALL_BIN=0 doesn't affect its behavior. But to be clear I think this should not be the default behavior at all.

Platform

Linux

Version

uv 0.8.7

Python version

Apparently, Python 3.8, who knew

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions