[Python-Dev] Edits to Metadata 1.2 to add extras (optional dependencies)

"Martin v. Löwis" martin at v.loewis.de
Mon Aug 27 22:29:59 CEST 2012


Am 27.08.12 16:56, schrieb Daniel Holth:
> On Wed, Aug 15, 2012 at 10:49 AM, Daniel Holth<dholth at gmail.com>  wrote:
>> I've drafted some edits to Metadata 1.2 with valuable feedback from
> ...
>> (full changeset on https://bitbucket.org/dholth/python-peps/changeset/537e83bd4068)
>
> Metadata 1.2 is nearly 8 years old and it's Accepted but not Final. Is
> it better to continue editing it, or create a new PEP for Metadata
> 1.3?

You can't add new fields to the format after the fact, unless the format 
had provided for such additions (which it does not - there is
no mention of custom fields anywhere, and no elaboration on how
"unknown" fields should be processed).

So if you want to add new fields, you need to create a new version
of the metadata. Prepare for a ten-year period of acceptance - so it
would be good to be sure that no further additions are desired within
the next ten years before seeking approval for the PEP.

Regards,
Martin


More information about the Python-Dev mailing list