[Distutils] Proposing PEP 386 - a standard version scheme

Tarek Ziadé ziade.tarek at gmail.com
Mon Dec 7 23:26:23 CET 2009


On Mon, Dec 7, 2009 at 11:16 PM, Darren Dale <dsdale24 at gmail.com> wrote:
> Hi Tarek,
>
> On Mon, Dec 7, 2009 at 4:53 PM, Tarek Ziadé <ziade.tarek at gmail.com> wrote:
>> (This is the email I will send to python-dev, so everyone can review
>> it before it is sent)
>>
>> On behalf of the Distutils-SIG, I would like to propose PEP 386 for
>> inclusion in the sdtlib, and have a final discussion here on
>> Python-dev.
>>
>> http://www.python.org/dev/peps/pep-0386
>
> How does the "Requires-Dist" metadata differ from the current
> "requires" metadata? The syntax looks the same, why not use
> "requires"? Should this be explained in the PEP?

The "requires" metadata was not referring to distributions at PyPI,
but to any module
or package.

This is explained in PEP 345, but we can add a note in PEP 386, I'll do it

>
> I think there is a missing bit of information in the PEP:
>
> "A class method called from_parts is available if you want to create
> an instance by providing the parts that composes the version.
>
> Each part is a tuple and there are three parts:
>
> * the main version part
> * the pre-release part"
>
> What is the third part?

Good catch, a bit is missing (the third part is the dev marker), I'll
fix it in the PEP,

You can read the API here:
http://bitbucket.org/tarek/distutilsversion/src/tip/verlib.py

Thanks for the feedback

Tarek


More information about the Distutils-SIG mailing list