uv/crates/uv-metadata
Charlie Marsh e31851fb52
Avoid erroneous version warning for .dist-info (#7444)
## Summary

Since https://github.com/astral-sh/uv/pull/7208, this is now _always_
firing, for every directory, because the version gets normalized (e.g.,
`1.2.3` gets normalized to `1-2-3`, which never matches the parsed
version). pip doesn't warn here, I guess we won't either, because I
can't figure out a robust way to do this... We need to get the
non-normalized remainder after stripping the normalized package name,
but we strip the normalized package name from the normalized string, so
we only have a normalized remainder.
2024-09-16 22:32:56 +00:00
..
src Avoid erroneous version warning for .dist-info (#7444) 2024-09-16 22:32:56 +00:00
Cargo.toml Avoid erroneous version warning for .dist-info (#7444) 2024-09-16 22:32:56 +00:00