Skip to content
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

uv init fails with dot as path argument #5329

Closed
eth3lbert opened this issue Jul 23, 2024 · 0 comments · Fixed by #5330
Closed

uv init fails with dot as path argument #5329

eth3lbert opened this issue Jul 23, 2024 · 0 comments · Fixed by #5330
Labels
bug Something isn't working

Comments

@eth3lbert
Copy link
Contributor

/tmp                                                                                                                                                                                           13:41:13
:) mkdir example
/tmp                                                                                                                                                                                           13:41:19
:) cd example
/tmp/example                                                                                                                                                                                   13:41:20
:) uv init .    
warning: `uv init` is experimental and may change without warning
thread 'main' panicked at /Users/eth/workspace/astral-sh/uv/crates/uv/src/commands/project/init.rs:44:18:
Invalid package name
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Since this is a fairly common valid init argument, I believe it should not panic due to an Invalid package name error.

@konstin konstin added the bug Something isn't working label Jul 23, 2024
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