[Python-Dev] accept the wheel PEPs 425, 426, 427

Ronald Oussoren ronaldoussoren at mac.com
Wed Oct 24 13:04:36 CEST 2012


On 18 Oct, 2012, at 19:29, Daniel Holth <dholth at gmail.com> wrote:

> I'd like to submit the Wheel PEPs 425 (filename metadata), 426
> (Metadata 1.3), and 427 (wheel itself) for acceptance. The format has
> been stable since May and we are preparing a patch to support it in
> pip, but we need to earn consensus before including it in the most
> widely used installer.

PEP 425: 

* "The version is py_version_nodot. CPython gets away with no dot, but if one is needed the underscore _ is used instead"

   I don't particularly like replacing dots by underscores. That needed because you use the dot character in compressed tag sets, but why not use a comma to separate items in the compressed tag set?

* "The platform tag is simply distutils.util.get_platform() with all hyphens - and periods . replaced with underscore _."

   Why the replacement?  The need for replacement could be avoided by using a different separator between elements of a tag (for example "~" or "+"), and furthermore the platform tag is at a know
   location, and hence the use of hyphens in the platform tag is harmless (use "python_tag, abi_tag, platform_tag = tag.split('-', 2)" to split the tag into its elements.

* "compressed tag sets"

   Using '"," instead of "." to separate elements of the tag set takes away the need to replace dots in tag elements, and seems more natural to me (you'd also use comma to separate the elements
   when you write them down in prose or python code.

Ronald


More information about the Python-Dev mailing list