[Distutils] setuptools 8 changes are great, but ...

Marius Gedminas marius at pov.lt
Tue Dec 16 13:02:15 CET 2014

On Mon, Dec 15, 2014 at 01:45:28PM -0500, Donald Stufft wrote:
> > On Dec 15, 2014, at 1:27 PM, Jim Fulton <jim at zope.com> wrote:
> > I think the changes in version management in setuptools 8 are a
> > great step forward, but I think the transition is going to hurt a
> > lot.
> > 
> > For buildout, I'm thinking of of releasing 2.3.1 that reverts the
> > changes in 2.3 and adds a requirement for setuptools <8 to give more
> > time to respond to these  changes.
> Is there something I’m not aware that is broken currently? I thought the
> transition was going pretty smoothly overall considering that a core piece
> of code inside of setuptools was touched.

~80 zope.* test builds are currently failing, for mysterious reasons due
to setuptools 8.0.x not interacting well with zc.buildout:

Here's a summary of the various errors:

Newer builds also added a bunch of warnings of the form
RuntimeWarning: 'zc.recipe.testrunner-1.0.5 ()' is being parsed as a
legacy, non PEP 440, version. You may find odd behavior and sort order.
In particular it will be sorted as less than 0.0. It is recommend to
migrate to PEP 440 compatible versions.

Recent threads on distutils-sig@ help explain some of what's happening.
E.g. the 'zope.app.wsgi<3.11,<4.0dev,>=3.12' probably used to be
interpreted as an "<3.11 or >=3.12" and just needs to be hunted down and
replaced with "!=3.11.*", or something like that.

(It's painful when you get requirement conflict errors with no
indication about the source of those requirements.)

Marius Gedminas
The difference between Microsoft and 'Jurassic Parc':
In one, a mad businessman makes a lot of money with beasts that should be
The other is a film.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20141216/c877fb0b/attachment.sig>

More information about the Distutils-SIG mailing list