Setuptools 8 seems to break all buildout

setuptools 8.0 has been released today and it seems to break all buildouts although setuptools
is pinned within the buildout configuration.

bin/python bootstrap.py
Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-8.0.zip
Extracting in /tmp/tmpkEgN8Z
Now working in /tmp/tmpkEgN8Z/setuptools-8.0
Building a Setuptools egg in /tmp/tmpUZ9Gox
/tmp/tmpUZ9Gox/setuptools-8.0-py2.7.egg
Traceback (most recent call last):
File "bootstrap.py", line 145, in
if _final_version(distv):
File "bootstrap.py", line 131, in _final_version
for part in parsed_version:
TypeError: 'Version' object is not iterable

Any idea how to fix this problem?

-aj

Reading setuptools changelog they added support for PEP 440 so until all plone packages are working with that version system we need to pin setuptools to 7.0.

That or override all dependency pins to use the triple equals notation:

i.e.
zope.component === 3.7.0

Pinning has no effect here (as Tom Gross explained in this blog).

However setuptools 8.0.1 fixes the problem.

https://bitbucket.org/pypa/setuptools/issue/296

Andreas

8.0.1 is only a part of the solution. A later installation of mr.developer fails.

I ended up putting a local modified copy of ez_setup.py with setuptools 7.0 pinned inside ez_setupt.py
on my own server and pointing the ez_setup.py URL inside bootstrap.py to my server.

Andreas