Read this if your buildout stopped working right now (crash after Got astroid 1.3.7)

Vincent Fretin <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <CAD=kyd-WVbDO4BLD+v=pyFLwee=o65Og1ygb+dquHLrC+q_XkA@mail.gmail.com>
Hi,

https://pypi.python.org/pypi/astroid/1.3.7 (a dependency of pylint) was
released today (2015-07-27) and just break my buildouts which are using
https://raw.github.com/plone/buildout.jenkins/master/jenkins.cfg

Short version : To fix the problem, just pin logilab-common = 0.63.0 in
your versions.cfg

Long version :
The error is the following

Got astroid 1.3.7.
Traceback (most recent call last):
  File "bin/buildout", line 12, in <module>
    sys.exit(zc.buildout.buildout.main())
  File
"/var/lib/jenkins/.buildout/eggs/zc.buildout-2.2.1-py2.7.egg/zc/buildout/buildout.py",
line 1950, in main
    _doing()
  File
"/var/lib/jenkins/.buildout/eggs/zc.buildout-2.2.1-py2.7.egg/zc/buildout/buildout.py",
line 1687, in _doing
    message = str(v)
  File
"/var/lib/jenkins/.buildout/eggs/zc.buildout-2.2.1-py2.7.egg/zc/buildout/easy_install.py",
line 1304, in __str__
    existing_dist, req = self.err.args
ValueError: need more than 1 value to unpack

The error is hidden, this was fixed in zc.buildout 2.4.0. I upgraded my
toolchain to:
Products.GenericSetup =
1.7.6
setuptools =
18.0.1
zc.buildout =
2.4.0
zc.recipe.egg = 2.0.2

and the error is the following:

Updating jenkins-csslint.
Updating jenkins-utf8-header.
Updating jenkins-code-analysis.
Installing pylint.
While:
  Installing pylint.
Error: There is a version conflict.
We already have: logilab-common 1.0.2
but astroid 1.3.7 requires 'logilab-common<=0.63.0'.

With verbose mode (-vvvvv) I get this:
We have the best distribution that satisfies 'astroid>=1.3.6'.
Picked: astroid = 1.3.7
Getting required 'logilab-common>=0.53.0'
  required by pylint 1.4.4.
We have the best distribution that satisfies 'logilab-common>=0.53.0'.
Picked: logilab-common = 1.0.2
While:
  Installing pylint.
Error: There is a version conflict.
We already have: logilab-common 1.0.2
but astroid 1.3.7 requires 'logilab-common<=0.63.0'.

To fix the issue I pinned logilab-common = 0.63.0 in my versions.cfg

Vincent Fretin
Ecreall
http://www.ecreall.com

------------------------------------------------------------------------------

_______________________________________________
Plone-developers mailing list
Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/plone-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.