Skip to content

[fixup] Wkrd networkcache dist name ./- mismatch

Completes !41 (merged)

This issue still comes from PEP625 ultimately: setuptools does not correctly normalize . in project names for internal indexing and comparison, but does correctly (according to PEP625) normalize . in project names to _ in sdist filenames, and then correctly parses a normalized project name back from the sdist filename by parsing _ in the sdist filename to - in the normalized project name.

But due to the incomplete normalization in internal representations, setuptools fails to identify project names containing . as being the same project as the normalized form derived from an sdist filename.

Since sdist filenames end up in networkcache, this also affects networkcache entries.

Edited by Xavier Thompson

Merge request reports