PEP 621: Fix missing schemes in example project.urls#2621
PEP 621: Fix missing schemes in example project.urls#2621brettcannon merged 1 commit intopython:mainfrom
Conversation
PyPI seems to reject these as-is (probably expectedly).
|
This seems correct based on an error I got from PyPI when emulating this verbatim, but apologies if I've missed something of course. |
|
Core metadata says "A string containing a browsable URL for the project and a label for it, separated by a comma.". As such it seems the scheme is required, although the language could be tighter. A |
|
Thanks! |
|
Just to note, the canonical living spec is on the PyPUG PyPA specifications page, but it (perhaps unfortunately) doesn't include the examples.
For completeness, that's core metadata; PEP 621 could specify a deterministic transform between the URLs in the project source metadata and the values in the output core metadata fields (as is true for other entries)—it doesn't, so its a moot point, but what matters is what is specified in PEP 621 rather than necessarily core metadata. |
PyPI seems to reject these as-is (probably expectedly).