In Source distribution format — Python Packaging User Guide, it says that, “The name and version components of the filename MUST match the values stored in the metadata contained in the file.” A few questions:
- Which “file” is this, is it
- Where it says that the name must match, is that before or after canonicalisation, i.e. are hyphens permitted, and would that be considered a “match” if the filename has underscores?
- Does this requirement apply to sdists not conforming to Core Metadata 2.2?