On Wed, Dec 17, 2014 at 09:15:45PM +0100, Maurits van Rees wrote:
Marius Gedminas schreef op 17-12-14 10:14:
The variety of errors has decreased somewhat. Most of the builds fail with
Error: Couldn't find a distribution for 'zc.recipe.egg<2dev,==1.3.0,>1.3.0'.
setuptools version 8 is used, which complains about this stuff. Initial solution would be to make sure setuptools 7.0 or earlier is used.
That's a valid short-term solution, but eventually we want to have working builds with setuptools 8 as well.
Running bootstrap.py in this buildout (zope.traversing) will give you a bin/buildout with zc.buildout 1.7.1 and the latest setuptools version, which currently is 8.0.4. I suppose this is true for most or all ztk packages.
Some solutions are thinkable:
- Pin setuptools to 7.0 or earlier. This gives bin/buildout a chance to downgrade from the 8.0.4 that bootstrap is currently giving. I have done that on zope.traversing now. Let's see.
The build succeeds: http://winbot.zope.org/builders/zope.traversing_py_265_32/builds/1436
and one
Error: Couldn't find a distribution for 'zope.app.wsgi<3.11,<4.0dev,>=3.12'.
Presumably the errors will disappear when using setuptools 7.0 or earlier. Maybe some will disappear with future 8.x versions. This last one definitely needs an actual fix at some point though. Some package has
"Some package" is zope.app.publication: https://github.com/zopefoundation/zope.app.publication/blob/011f6dddd42e6c70...
'<3.11,>=3.12' as version restriction, which is apparently meant to blacklist the 3.11 version. This should become '!=3.11'. See http://legacy.python.org/dev/peps/pep-0440/#version-specifiers
I worry that '!=3.11' means a different thing for setuptools < 8.0. Oh well, the only zope.app.wsgi 3.11.x release on PyPI is 3.11.0. I think '!= 3.11.0' would work with all versions of setuptools. And if not, we can bite the bullet and require zope.app.wsgi >= 3.12 for people who want a recent zope.app.publication. Marius Gedminas -- http://pov.lt/ -- Zope 3/BlueBream consulting and development