Skip to content

uv tool uninstall errors if UV_TOOL_DIR is subdirectory of current directory #11877

@charliermarsh

Description

@charliermarsh
❯ export UV_TOOL_DIR=foo
❯ uv tool install flask
Resolved 7 packages in 3ms
Installed 7 packages in 8ms
 + blinker==1.9.0
 + click==8.1.8
 + flask==3.1.0
 + itsdangerous==2.2.0
 + jinja2==3.1.5
 + markupsafe==3.0.2
 + werkzeug==3.1.3
Installed 1 executable: flask
uv on  main [$] is 📦 v0.6.3 via 🐍 v3.11.6 via 🦀 v1.85.0
❯ uv tool uninstall flask
Uninstalled 1 executable: flask
error: failed to remove directory ``: No such file or directory (os error 2)

Metadata

Metadata

Assignees

No one assigned

    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