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

Nick Coghlan ncoghlan at gmail.com
Thu Feb 27 13:16:56 CET 2014


On 27 February 2014 18:16, Vinay Sajip <vinay_sajip at yahoo.co.uk> wrote:
>> but my question was what are you adding, if anything,
>> that warranted it having "Metadata-Version: 2.0"?
>
> I believe that the fields 'Private-Version', 'Obsoleted-By',
> 'Setup-Requires-Dist',
> 'Extension' and 'Provides-Extra' were added on top of the 1.2 metadata in an
> early version of PEP 426, before the move to JSON.

For the record,
http://hg.python.org/peps/file/3b67372b39ba/pep-0426.txt is the last
version prior to the switch to JSON, and the summary of differences is
at http://hg.python.org/peps/file/3b67372b39ba/pep-0426.txt#l1263

At that time, I think wheel still had a dependency on PEP 426 -
changing wheels to work with the setuptools metadata was a relatively
late change after we realised it made sense to decouple the two
activities.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Distutils-SIG mailing list