You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
uv python upgrade reports its own bin link as "not managed by uv" when the install path traverses a symlink #23364
When the Python install and bin directories are reached through a symlinked parent directory, uv python upgrade treats the existing python3.X link in the bin directory as foreign. It warns Executable already exists at … but is not managed by uv; use uv python install 3.X --force to replace it and leaves the link alone. This is the default layout on Fedora Atomic desktops (Silverblue, Bazzite, etc.), where /home is a symlink to /var/home, so every patch upgrade prints the warning. It's probably the cause of #15669, which was closed as unreproducible.
Seen with uv 0.13.9 on Linux x86_64. The same steps on a non-symlinked path upgrade the link normally:
mkdir -p /tmp/uvtest/real && ln -s /tmp/uvtest/real /tmp/uvtest/link
export UV_PYTHON_INSTALL_DIR=/tmp/uvtest/link/py UV_PYTHON_BIN_DIR=/tmp/uvtest/link/bin
uv python install 3.11.17
uv python upgrade 3.11 # warns "not managed by uv"; link not repointed
Activity