[Distutils] PEP 426 updated (with more than you ever wanted to know about version schemes)

Donald Stufft donald.stufft at gmail.com
Tue Feb 12 06:36:58 CET 2013


On Tuesday, February 12, 2013 at 12:13 AM, Éric Araujo wrote:
> Le 11/02/2013 13:37, Marcus Smith a écrit :
> > > > Projects which wish to use non-compliant version identifiers must
> > > > restrict themselves to metadata v1.1
> > > >  
> > >  
> >  
> > currently, "Projects" don't have control over this, right?
> > setuptools/distutils just writes 1.0 or 1.1 metadata, period.
> >  
>  
> Yep, but projects can control the version used by distutils and others
> by deliberately not using fields new in a given metadata version. I.e.
> if you don’t have requires nor requires-dist not project-url, you’ll get
> metadata 1.0; if you use setup-requires-dist you get 1.3 (from a tool
> that knows about it, of course).

I think the biggest point of contention here is how does a project
that doesn't _need_ any of those new fields opt into the stricter
version comparisons?  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130212/35dc71db/attachment.html>


More information about the Distutils-SIG mailing list