uv
e31851fb - Avoid erroneous version warning for .dist-info (#7444)

Commit
1 year ago
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.
Author
Parents
Loading