[openstack-dev] python-simplejson 2.0.0 errors

Bhuvan Arumugam bhuvan at apache.org
Mon Sep 16 14:41:29 UTC 2013


On Sun, Sep 15, 2013 at 8:50 AM, Thomas Goirand <zigo at debian.org> wrote:

> Hi,
>
> There's jsonschema 2.0.0 in Sid, and when I build some of the OpenStack
> packages, I get a huge list of requirement parsing errors:
>
> 2013-09-12 17:05:55.720 26018 ERROR stevedore.extension [-] Could not
> load 'file': (jsonschema 2.0.0 (/usr/lib/python2.7/dist-packages),
> Requirement.parse('jsonschema>=0.7,<2'))
> 2013-09-12 17:05:55.720 26018 ERROR stevedore.extension [-] (jsonschema
> 2.0.0 (/usr/lib/python2.7/dist-packages),
> Requirement.parse('jsonschema>=0.7,<2'))
>


It's fun out of inter dependencies. Nova depends on python-glanceclient;
python-glanceclient depends on warlock>=1.0.1,<2. warlock depends on
jsonschema>=0.7,<2 (warlock 1.0.0). The latest warlock depends on newer
jsonschema release (>=0.7,<3). To fix your issue, you may do one of
following workaround:

1. upgrade warlock to latest (sudo pip install warlock --upgrade)
2. downgrade jsonschema to earlier release v1.3.0 (sudo pip uninstall
jsonschema; sudo pip install jsonschema==1.3.0)
3. install newer python-glanceclient. It depends on newer warlock (sudo pip
install python-glanceclient --upgrade)

References:
https://github.com/openstack/python-glanceclient/blob/master/requirements.txt
https://github.com/bcwaldon/warlock/blob/master/requirements.txt

Thank you,
Bhuvan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130916/c9d69ff6/attachment.html>


More information about the OpenStack-dev mailing list