[Distutils] The PEP 426 defined metadata version will be metadata 3.0

Donald Stufft donald at stufft.io
Wed Feb 26 19:00:47 CET 2014


On Feb 23, 2014, at 4:49 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:

> Vinay brought to my attention that bdist_wheel currently publishes
> pydist.json files that claim to contain content in the metadata 2.0
> format. I was aware that Daniel had been experimenting with generating
> pydist.json files, but I didn't realise that bdist_wheel did it by
> default, nor that it used the real file name from the PEP rather than
> a separate implementation specific file.
> 
> That's broken: it means that metadata format 2.0 can now never be well
> defined, because we already have these experimental (and ultimately
> non-conformant, since there have been backwards incompatible changes
> to the draft spec) files floating around.
> 
> I will accordingly be updating the defined metadata version in PEP 426
> to 3.0, and including an explicit admonition to *never* include
> experimental metadata (whether in the base format or as part of an
> experimental extension) in the main pydist.json file. Experimental
> metadata should only ever appear in tool-specific files (which don't
> need to guarantee any kind of interoperability with other tools).
> 
> In the meantime: please don't publish pydist.json files, use some
> other filename if you want to experiment with JSON based metadata in
> advance of the acceptance of PEP 426.
> 
> Regards,
> Nick.
> 
> -- 
> Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig

This shouldn’t matter. Tools shouldn’t be trusting a pydist.json just because
one exists and the Wheel format should have a version bump before you
can start trusting them anyways.

-----------------
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20140226/7d5e12c1/attachment.sig>


More information about the Distutils-SIG mailing list