uv/crates/uv
liam 77fecc5c27
Improve `uv init` error for invalid directory names (#16554)
Resolves https://github.com/astral-sh/uv/issues/16433

When `uv init` infers a project name from the working directory,
directories with characters outside the PEP 503 rules produced the
generic “Not a valid package or extra name” message that didn’t explain
the source of the problem. This change intercepts that failure, reports
whether the current or explicit target directory caused it, and tells
the user to supply an explicit `--name`.
2025-11-02 19:26:09 -05:00
..
src Improve `uv init` error for invalid directory names (#16554) 2025-11-02 19:26:09 -05:00
tests/it Improve `uv init` error for invalid directory names (#16554) 2025-11-02 19:26:09 -05:00
Cargo.toml Bump version to 0.9.7 (#16524) 2025-10-30 16:47:51 -05:00