[openstack-dev] Broken dependencies

Johannes Erdfelt johannes at erdfelt.com
Wed Feb 20 22:41:50 UTC 2013


On Tue, Feb 19, 2013, Gary Kotton <gkotton at redhat.com> wrote:
> We have a problem with the devstack gating:
> 
> 013-02-19 16:01:38.951 | 2013-02-19 16:01:38 Installed /usr/local/lib/python2.7/dist-packages/requests-0.14.2-py2.7.egg
> 2013-02-19 16:01:38.952 | 2013-02-19 16:01:38 error: Installed distribution prettytable 0.7 conflicts with requirement prettytable>=0.6,<0.7
> 
> This may be due to https://review.openstack.org/#/c/22151/

The problem is that while quantumclient was updated to stricter version,
cinderclient and keystoneclient haven't:

https://github.com/openstack/python-cinderclient/blob/master/tools/pip-requires
https://github.com/openstack/python-keystoneclient/blob/master/tools/pip-requires

In my case, pip installs cinderclient before quantumclient and since
cinderclient installs the latest version, it will install 0.7. Then pip
fails later when quantumclient needs an older version.

glanceclient has already been updated as well:

https://github.com/openstack/python-glanceclient/blob/master/tools/pip-requires

This is causing me problems right now trying to create a virtualenv from
scratch. I worked around it be ensuring that prettytable 0.6 gets
installed first (by installing python-glanceclient first).

JE




More information about the OpenStack-dev mailing list