Re: [Distutils] RFC: PEP 566 - Metadata for Python Software Packages 1.3

2017-12-11 Thread Wes Turner
On Monday, December 11, 2017, Dustin Ingram wrote: > After working a bit on an implementation of the "JSON-compatible > Metadata" section in this PEP, I'm noticing that it might be more > useful if it had the following step instead for canonicalizing the > field names: > > > #. All transformed ke

Re: [Distutils] RFC: PEP 566 - Metadata for Python Software Packages 1.3

2017-12-11 Thread Dustin Ingram
After working a bit on an implementation of the "JSON-compatible Metadata" section in this PEP, I'm noticing that it might be more useful if it had the following step instead for canonicalizing the field names: > #. All transformed keys should be reduced to lower case. Hyphens should be >repla

Re: [Distutils] RFC: PEP 566 - Metadata for Python Software Packages 1.3

2017-12-09 Thread Daniel Holth
I don't know why the parentheses were included in the older pep. They are widely deployed. We probably can get rid of them or make them optional in a practical parser. On Sat, Dec 9, 2017, 02:03 Nick Coghlan wrote: > On 9 December 2017 at 02:42, Thomas Kluyver wrote: > > Dustin asked me to brin

Re: [Distutils] RFC: PEP 566 - Metadata for Python Software Packages 1.3

2017-12-08 Thread Nick Coghlan
On 9 December 2017 at 02:42, Thomas Kluyver wrote: > Dustin asked me to bring this issue to this thread: > > Metadata version 1.2 (PEP 345) says that version specifiers within a > Requires-Dist field should go in parentheses: "zope.interface (>3.5.0)". > The metadata spec on PyPUG repeats this. >

Re: [Distutils] RFC: PEP 566 - Metadata for Python Software Packages 1.3

2017-12-08 Thread Thomas Kluyver
Dustin asked me to bring this issue to this thread: Metadata version 1.2 (PEP 345) says that version specifiers within a Requires-Dist field should go in parentheses: "zope.interface (>3.5.0)". The metadata spec on PyPUG repeats this. However, PEP 508 says that the parentheses are not needed, and

Re: [Distutils] RFC: PEP 566 - Metadata for Python Software Packages 1.3

2017-12-07 Thread Wes Turner
>From "[distutils] Multiple package authors" [1] - How should multiple author-email and maintainer-email addresses be specified? - Should we add security-email and/or security-disclosure-instructions? [1] http://markmail.org/thread/xmwfktnsbmpakv6b On Wednesday, December 6, 2017, Nick Coghlan

Re: [Distutils] RFC: PEP 566 - Metadata for Python Software Packages 1.3

2017-12-06 Thread Nick Coghlan
On 6 December 2017 at 02:39, Dustin Ingram wrote: > Hi all, > > I'd appreciate your feedback on the following Metadata 1.3 PEP. > > The goal here is not to provide a full specification for all fields as > in previous PEPs, but to: > > * Motivate and describe the addition of the new fields or chang

Re: [Distutils] RFC: PEP 566 - Metadata for Python Software Packages 1.3

2017-12-05 Thread Nick Coghlan
On 6 December 2017 at 07:02, Nathaniel Smith wrote: > On Dec 5, 2017 08:42, "Dustin Ingram" wrote: > > > Provides-Extra (optional, multiple use) > ::: > > A string containing the name of an optional feature. Must be a valid Python > identifier. May be used to m

Re: [Distutils] RFC: PEP 566 - Metadata for Python Software Packages 1.3

2017-12-05 Thread Donald Stufft
> On Dec 5, 2017, at 4:02 PM, Nathaniel Smith wrote: > > I haven't followed this so sorry if this is an annoying comment, but having > read this description I still don't really understand what Provides-Extra is > doing. Don't packages already include extra information? What problem > motiva

Re: [Distutils] RFC: PEP 566 - Metadata for Python Software Packages 1.3

2017-12-05 Thread Paul Moore
On 5 December 2017 at 20:34, Dustin Ingram wrote: > Ah, I see, by "other two" I thought you meant the other two new fields. > > Looking at https://www.python.org/dev/peps/pep-0566/ might make it > more clear that I originally intended the "New in Version 1.3" and > "Changed in Version 1.3" heading

Re: [Distutils] RFC: PEP 566 - Metadata for Python Software Packages 1.3

2017-12-05 Thread Nathaniel Smith
On Dec 5, 2017 08:42, "Dustin Ingram" wrote: Provides-Extra (optional, multiple use) ::: A string containing the name of an optional feature. Must be a valid Python identifier. May be used to make a dependency conditional on whether the optional feature has b

Re: [Distutils] RFC: PEP 566 - Metadata for Python Software Packages 1.3

2017-12-05 Thread Dustin Ingram
Ah, I see, by "other two" I thought you meant the other two new fields. Looking at https://www.python.org/dev/peps/pep-0566/ might make it more clear that I originally intended the "New in Version 1.3" and "Changed in Version 1.3" headings to only be under the "Fields" heading, so the outline woul

Re: [Distutils] RFC: PEP 566 - Metadata for Python Software Packages 1.3

2017-12-05 Thread Paul Moore
On 5 December 2017 at 18:11, Dustin Ingram wrote: >> I was a bit confused at first by the fact that you describe >> environment markers but not where they are allowed. On checking, I >> find that this is defined in version 1.2 (PEP 345). It might be worth >> a small clarification that this (and na

Re: [Distutils] RFC: PEP 566 - Metadata for Python Software Packages 1.3

2017-12-05 Thread Dustin Ingram
> I was a bit confused at first by the fact that you describe > environment markers but not where they are allowed. On checking, I > find that this is defined in version 1.2 (PEP 345). It might be worth > a small clarification that this (and name and version specifiers) are > still used in the same

Re: [Distutils] RFC: PEP 566 - Metadata for Python Software Packages 1.3

2017-12-05 Thread Paul Moore
LGTM. I was a bit confused at first by the fact that you describe environment markers but not where they are allowed. On checking, I find that this is defined in version 1.2 (PEP 345). It might be worth a small clarification that this (and name and version specifiers) are still used in the same wa

Re: [Distutils] RFC: PEP 566 - Metadata for Python Software Packages 1.3

2017-12-05 Thread Tres Seaver
On 12/05/2017 11:39 AM, Dustin Ingram wrote: > Hi all, > > I'd appreciate your feedback on the following Metadata 1.3 PEP. > > The goal here is not to provide a full specification for all fields as > in previous PEPs, but to: > > * Motivate and describe the addition of the new fields or changes

[Distutils] RFC: PEP 566 - Metadata for Python Software Packages 1.3

2017-12-05 Thread Dustin Ingram
Hi all, I'd appreciate your feedback on the following Metadata 1.3 PEP. The goal here is not to provide a full specification for all fields as in previous PEPs, but to: * Motivate and describe the addition of the new fields or changes to existing fields; * Point to the Core Metadata Specificatio