Skip to content

Panicking when directories do not exist #9875

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bepri opened this issue Dec 13, 2024 · 0 comments · Fixed by #9876
Closed

Panicking when directories do not exist #9875

bepri opened this issue Dec 13, 2024 · 0 comments · Fixed by #9876
Labels
bug Something isn't working

Comments

@bepri
Copy link
Contributor

bepri commented Dec 13, 2024

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!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants