Skip to content

Panicking when directories do not exist #9875

@bepri

Description

@bepri

uv can panic from any command if your current directory no longer exists.

To reproduce:

mkdir ./tmp && cd ./tmp
# open a second shell and run...
rm -r ./tmp
# back to the first shell
uv version # panic!

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