New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pbr 1.0 breaks pyrax #561
Comments
See also problem description at pycontribs/pyrax#561
This is not pyrax itself, but several of its dependencies. The following outlines the version requirements and the packages that specify the version:
|
no but it is a serious problem for pyrax. I already tried to make a PR for a two line change in openstack/python-novaclient but they want me to sign a contributor agreement and get used to gerrit which is a littlebit much for a two lines change IMHO. Either you pin a version range in your library or somebody else may contribute that changes to python-novaclient or the oslo libraries. It's a shame that a simple |
We have the same issue. Only now it's pbr 1.0.1. Things were fine for weeks. Deployed tonight, have this issue popping up. Does pinning pbr to 0.11 actually provide a usable work-around here? |
@petersanchez yes pinning the pbr version to the last version 0.11.0 before 1.0 is exactly what we have done at PyBossa to keep pyrax working. Look here in our setup.py Scifabric/pybossa@73179e7 |
I've submitted a bug report upstream to python-novaclient at https://bugs.launchpad.net/python-novaclient/+bug/1457100 |
FWIW, there were several upstream issues with pbr 1.0, too: http://lists.openstack.org/pipermail/openstack-dev/2015-May/064362.html |
I was confounded by the OpenStack git repo until I found the GitHub mirror. Sharing my code snip for checkout and install of the 0.11.0 version:
|
Thanks @dandye, the code snippet you shared sorted the problem for me perfectly! |
An easy solution via pip is to just I'm still following up with the python-novaclient project to see about getting this fixed. The error is actually triggered when you have a novaclient extension installed, causing pbr to trigger a dependency check. |
A commit[1] has just been merged into python-novaclient that addresses the issue. A release has not been cut yet. I will follow up once a new release of python-novaclient has been released with this fix. [1] https://bugs.launchpad.net/python-novaclient/+bug/1457100/comments/9 |
As of about 30 minutes ago, python-novaclient 2.26.0 was released that includes the fix for this issue. As such I am closing this issue. |
Yesterday (March 18) pbr 1.0 was released. When doing a normal
pip install pyrax
with latest pip 6.1.1 it installs 1.0 which is conflicting with pyrax underlying libraries like'oslo.i18n', 'python-keystoneclient', 'oslo.serialization', 'oslo.utils'
.Full error log we got on our system with a new virtualenv today:
We had to pin pbr to a version like 0.11 which is below <1.0 to keep pyrax running.
The text was updated successfully, but these errors were encountered: