Skip to content
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

Remove pbr version pinning #623

Closed
twig opened this issue Sep 14, 2017 · 4 comments
Closed

Remove pbr version pinning #623

twig opened this issue Sep 14, 2017 · 4 comments

Comments

@twig
Copy link

twig commented Sep 14, 2017

#238 refers to an old issue. Wondering if it's ok to upgrade it to a more compatible version.

Using https://github.com/jazzband/pip-tools/ and pyrax 1.9.8 as the ONLY requirement, I'm seeing that the dependencies are self-conflicting.

The most informative line is Could not find a version that matches pbr!=2.1.0,<2.0,>=0.11,>=1.6,>=2.0.0.

Verbose log:

pip-compile -v
Using indexes:
  https://pypi.python.org/simple

                          ROUND 1
Current constraints:
  pyrax==1.9.8

Finding the best candidates:
  found candidate pyrax==1.9.8 (constraint was ==1.9.8)

Finding secondary dependencies:
  pyrax==1.9.8              requires keyring, mock, python-novaclient==2.27.0, rackspace-novaclient, requests<3,>=2.2.1, six<2,>=1.9.0

New dependencies found in this round:
  adding [u'keyring', '', '[]']
  adding [u'mock', '', '[]']
  adding [u'python-novaclient', '==2.27.0', '[]']
  adding [u'rackspace-novaclient', '', '[]']
  adding [u'requests', '<3,>=2.2.1', '[]']
  adding [u'six', '<2,>=1.9.0', '[]']
Removed dependencies in this round:
------------------------------------------------------------
Result of round 1: not stable

                          ROUND 2
Current constraints:
  keyring
  mock
  pyrax==1.9.8
  python-novaclient==2.27.0
  rackspace-novaclient
  requests<3,>=2.2.1
  six<2,>=1.9.0

Finding the best candidates:
  found candidate keyring==10.4.0 (constraint was <any>)
  found candidate mock==2.0.0 (constraint was <any>)
  found candidate pyrax==1.9.8 (constraint was ==1.9.8)
  found candidate python-novaclient==2.27.0 (constraint was ==2.27.0)
  found candidate rackspace-novaclient==2.1 (constraint was <any>)
  found candidate requests==2.9.0 (constraint was >=2.2.1,<3)
  found candidate six==1.10.0 (constraint was >=1.9.0,<2)

Finding secondary dependencies:
  mock==2.0.0               requires funcsigs>=1; python_version < "3.3", pbr>=0.11, six>=1.9
  pyrax==1.9.8              requires keyring, mock, python-novaclient==2.27.0, rackspace-novaclient, requests<3,>=2.2.1, six<2,>=1.9.0
  python-novaclient==2.27.0 requires argparse, Babel>=1.3, iso8601>=0.1.9, oslo.i18n>=1.5.0, oslo.serialization>=1.4.0, oslo.utils>=2.0.0, pbr<2.0,>=1.6, PrettyTable<0.8,>=0.7, python-keystoneclient>=1.6.0, requests>=2.5.2, simplejson>=2.2.0, six>=1.9.0
  six==1.10.0               requires -
  requests==2.9.0           requires -
  rackspace-novaclient==2.1 requires ip_associations_python_novaclient_ext, os_diskconfig_python_novaclient_ext, os_networksv2_python_novaclient_ext, os_virtual_interfacesv2_python_novaclient_ext, python-novaclient, rackspace-auth-openstack, rax_default_network_flags_python_novaclient_ext, rax_scheduled_images_python_novaclient_ext
  keyring==10.4.0           requires secretstorage; sys_platform == "linux2" or sys_platform == "linux"

New dependencies found in this round:
  adding [u'argparse', '', '[]']
  adding [u'babel', '>=1.3', '[]']
  adding [u'funcsigs', '>=1', '[]']
  adding [u'ip-associations-python-novaclient-ext', '', '[]']
  adding [u'iso8601', '>=0.1.9', '[]']
  adding [u'os-diskconfig-python-novaclient-ext', '', '[]']
  adding [u'os-networksv2-python-novaclient-ext', '', '[]']
  adding [u'os-virtual-interfacesv2-python-novaclient-ext', '', '[]']
  adding [u'oslo.i18n', '>=1.5.0', '[]']
  adding [u'oslo.serialization', '>=1.4.0', '[]']
  adding [u'oslo.utils', '>=2.0.0', '[]']
  adding [u'pbr', '<2.0,>=0.11,>=1.6', '[]']
  adding [u'prettytable', '<0.8,>=0.7', '[]']
  adding [u'python-keystoneclient', '>=1.6.0', '[]']
  adding [u'rackspace-auth-openstack', '', '[]']
  adding [u'rax-default-network-flags-python-novaclient-ext', '', '[]']
  adding [u'rax-scheduled-images-python-novaclient-ext', '', '[]']
  adding [u'requests', '<3,>=2.2.1,>=2.5.2', '[]']
  adding [u'secretstorage', '', '[]']
  adding [u'simplejson', '>=2.2.0', '[]']
  adding [u'six', '<2,>=1.9,>=1.9.0', '[]']
Removed dependencies in this round:
  removing [u'requests', '<3,>=2.2.1', '[]']
  removing [u'six', '<2,>=1.9.0', '[]']
------------------------------------------------------------
Result of round 2: not stable

                          ROUND 3
Current constraints:
  argparse
  Babel>=1.3
  funcsigs>=1
  ip_associations_python_novaclient_ext
  iso8601>=0.1.9
  keyring
  mock
  os_diskconfig_python_novaclient_ext
  os_networksv2_python_novaclient_ext
  os_virtual_interfacesv2_python_novaclient_ext
  oslo.i18n>=1.5.0
  oslo.serialization>=1.4.0
  oslo.utils>=2.0.0
  pbr<2.0,>=0.11,>=1.6
  PrettyTable<0.8,>=0.7
  pyrax==1.9.8
  python-keystoneclient>=1.6.0
  python-novaclient==2.27.0
  rackspace-auth-openstack
  rackspace-novaclient
  rax_default_network_flags_python_novaclient_ext
  rax_scheduled_images_python_novaclient_ext
  requests<3,>=2.2.1,>=2.5.2
  secretstorage
  simplejson>=2.2.0
  six<2,>=1.9,>=1.9.0

Finding the best candidates:
  found candidate argparse==1.4.0 (constraint was <any>)
  found candidate babel==2.5.1 (constraint was >=1.3)
  found candidate funcsigs==1.0.2 (constraint was >=1)
  found candidate ip-associations-python-novaclient-ext==0.2 (constraint was <any>)
  found candidate iso8601==0.1.12 (constraint was >=0.1.9)
  found candidate keyring==10.4.0 (constraint was <any>)
  found candidate mock==2.0.0 (constraint was <any>)
  found candidate os-diskconfig-python-novaclient-ext==0.1.3 (constraint was <any>)
  found candidate os-networksv2-python-novaclient-ext==0.26 (constraint was <any>)
  found candidate os-virtual-interfacesv2-python-novaclient-ext==0.20 (constraint was <any>)
  found candidate oslo.i18n==3.17.0 (constraint was >=1.5.0)
  found candidate oslo.serialization==2.20.0 (constraint was >=1.4.0)
  found candidate oslo.utils==3.29.0 (constraint was >=2.0.0)
  found candidate pbr==1.10.0 (constraint was >=0.11,>=1.6,<2.0)
  found candidate prettytable==0.7.2 (constraint was >=0.7,<0.8)
  found candidate pyrax==1.9.8 (constraint was ==1.9.8)
  found candidate python-keystoneclient==3.13.0 (constraint was >=1.6.0)
  found candidate python-novaclient==2.27.0 (constraint was ==2.27.0)
  found candidate rackspace-auth-openstack==1.3 (constraint was <any>)
  found candidate rackspace-novaclient==2.1 (constraint was <any>)
  found candidate rax-default-network-flags-python-novaclient-ext==0.4.0 (constraint was <any>)
  found candidate rax-scheduled-images-python-novaclient-ext==0.3.1 (constraint was <any>)
  found candidate requests==2.9.0 (constraint was >=2.2.1,>=2.5.2,<3)
  found candidate secretstorage==2.3.1 (constraint was <any>)
  found candidate simplejson==3.11.1 (constraint was >=2.2.0)
  found candidate six==1.10.0 (constraint was >=1.9,>=1.9.0,<2)

Finding secondary dependencies:
  oslo.serialization==2.20.0 requires msgpack-python>=0.4.0, oslo.utils>=3.20.0, pbr!=2.1.0,>=2.0.0, pytz>=2013.6, six>=1.9.0
  pyrax==1.9.8              requires keyring, mock, python-novaclient==2.27.0, rackspace-novaclient, requests<3,>=2.2.1, six<2,>=1.9.0
  pbr==1.10.0               requires -
  babel==2.5.1              requires pytz>=0a
  rax-default-network-flags-python-novaclient-ext==0.4.0 requires python-novaclient
  mock==2.0.0               requires funcsigs>=1; python_version < "3.3", pbr>=0.11, six>=1.9
  python-novaclient==2.27.0 requires argparse, Babel>=1.3, iso8601>=0.1.9, oslo.i18n>=1.5.0, oslo.serialization>=1.4.0, oslo.utils>=2.0.0, pbr<2.0,>=1.6, PrettyTable<0.8,>=0.7, python-keystoneclient>=1.6.0, requests>=2.5.2, simplejson>=2.2.0, six>=1.9.0
  funcsigs==1.0.2           requires -
  os-networksv2-python-novaclient-ext==0.26 requires python-novaclient
  prettytable==0.7.2        requires -
  oslo.utils==3.29.0        requires debtcollector>=1.2.0, funcsigs>=0.4; python_version == "2.7" or python_version == "2.6", iso8601>=0.1.11, monotonic>=0.6, netaddr!=0.7.16,>=0.7.13, netifaces>=0.10.4, oslo.i18n!=3.15.2,>=2.1.0, pbr!=2.1.0,>=2.0.0, pyparsing>=2.1.0, pytz>=2013.6, six>=1.9.0
  ip-associations-python-novaclient-ext==0.2 requires python-novaclient
  six==1.10.0               requires -
  python-keystoneclient==3.13.0 requires debtcollector>=1.2.0, keystoneauth1>=3.0.1, oslo.config!=4.3.0,!=4.4.0,>=4.0.0, oslo.i18n!=3.15.2,>=2.1.0, oslo.serialization!=2.19.1,>=1.10.0, oslo.utils>=3.20.0, pbr!=2.1.0,>=2.0.0, positional>=1.1.1, requests>=2.14.2, six>=1.9.0, stevedore>=1.20.0
  iso8601==0.1.12           requires -
  argparse==1.4.0           requires -
  requests==2.9.0           requires -
  rackspace-novaclient==2.1 requires ip_associations_python_novaclient_ext, os_diskconfig_python_novaclient_ext, os_networksv2_python_novaclient_ext, os_virtual_interfacesv2_python_novaclient_ext, python-novaclient, rackspace-auth-openstack, rax_default_network_flags_python_novaclient_ext, rax_scheduled_images_python_novaclient_ext
  os-diskconfig-python-novaclient-ext==0.1.3 requires python-novaclient
  keyring==10.4.0           requires secretstorage; sys_platform == "linux2" or sys_platform == "linux"
  os-virtual-interfacesv2-python-novaclient-ext==0.20 requires python-novaclient
  rackspace-auth-openstack==1.3 requires python-novaclient
  simplejson==3.11.1        requires -
  rax-scheduled-images-python-novaclient-ext==0.3.1 requires python-novaclient
  secretstorage==2.3.1      requires cryptography
  oslo.i18n==3.17.0         requires Babel!=2.4.0,>=2.3.4, pbr!=2.1.0,>=2.0.0, six>=1.9.0

New dependencies found in this round:
  adding [u'babel', '!=2.4.0,>=1.3,>=2.3.4', '[]']
  adding [u'cryptography', '', '[]']
  adding [u'debtcollector', '>=1.2.0', '[]']
  adding [u'funcsigs', '>=0.4,>=1', '[]']
  adding [u'iso8601', '>=0.1.11,>=0.1.9', '[]']
  adding [u'keystoneauth1', '>=3.0.1', '[]']
  adding [u'monotonic', '>=0.6', '[]']
  adding [u'msgpack-python', '>=0.4.0', '[]']
  adding [u'netaddr', '!=0.7.16,>=0.7.13', '[]']
  adding [u'netifaces', '>=0.10.4', '[]']
  adding [u'oslo.config', '!=4.3.0,!=4.4.0,>=4.0.0', '[]']
  adding [u'oslo.i18n', '!=3.15.2,>=1.5.0,>=2.1.0', '[]']
  adding [u'oslo.serialization', '!=2.19.1,>=1.10.0,>=1.4.0', '[]']
  adding [u'oslo.utils', '>=2.0.0,>=3.20.0', '[]']
  adding [u'pbr', '!=2.1.0,<2.0,>=0.11,>=1.6,>=2.0.0', '[]']
  adding [u'positional', '>=1.1.1', '[]']
  adding [u'pyparsing', '>=2.1.0', '[]']
  adding [u'pytz', '>=0a,>=2013.6', '[]']
  adding [u'requests', '<3,>=2.14.2,>=2.2.1,>=2.5.2', '[]']
  adding [u'stevedore', '>=1.20.0', '[]']
Removed dependencies in this round:
  removing [u'babel', '>=1.3', '[]']
  removing [u'funcsigs', '>=1', '[]']
  removing [u'iso8601', '>=0.1.9', '[]']
  removing [u'oslo.i18n', '>=1.5.0', '[]']
  removing [u'oslo.serialization', '>=1.4.0', '[]']
  removing [u'oslo.utils', '>=2.0.0', '[]']
  removing [u'pbr', '<2.0,>=0.11,>=1.6', '[]']
  removing [u'requests', '<3,>=2.2.1,>=2.5.2', '[]']
------------------------------------------------------------
Result of round 3: not stable

                          ROUND 4
Current constraints:
  argparse
  Babel!=2.4.0,>=1.3,>=2.3.4
  cryptography
  debtcollector>=1.2.0
  funcsigs>=0.4,>=1
  ip_associations_python_novaclient_ext
  iso8601>=0.1.11,>=0.1.9
  keyring
  keystoneauth1>=3.0.1
  mock
  monotonic>=0.6
  msgpack-python>=0.4.0
  netaddr!=0.7.16,>=0.7.13
  netifaces>=0.10.4
  os_diskconfig_python_novaclient_ext
  os_networksv2_python_novaclient_ext
  os_virtual_interfacesv2_python_novaclient_ext
  oslo.config!=4.3.0,!=4.4.0,>=4.0.0
  oslo.i18n!=3.15.2,>=1.5.0,>=2.1.0
  oslo.serialization!=2.19.1,>=1.10.0,>=1.4.0
  oslo.utils>=2.0.0,>=3.20.0
  pbr!=2.1.0,<2.0,>=0.11,>=1.6,>=2.0.0
  positional>=1.1.1
  PrettyTable<0.8,>=0.7
  pyparsing>=2.1.0
  pyrax==1.9.8
  python-keystoneclient>=1.6.0
  python-novaclient==2.27.0
  pytz>=0a,>=2013.6
  rackspace-auth-openstack
  rackspace-novaclient
  rax_default_network_flags_python_novaclient_ext
  rax_scheduled_images_python_novaclient_ext
  requests<3,>=2.14.2,>=2.2.1,>=2.5.2
  secretstorage
  simplejson>=2.2.0
  six<2,>=1.9,>=1.9.0
  stevedore>=1.20.0

Finding the best candidates:
  found candidate argparse==1.4.0 (constraint was <any>)
  found candidate babel==2.5.1 (constraint was >=1.3,>=2.3.4,!=2.4.0)
  found candidate cryptography==2.0.3 (constraint was <any>)
  found candidate debtcollector==1.17.0 (constraint was >=1.2.0)
  found candidate funcsigs==1.0.2 (constraint was >=0.4,>=1)
  found candidate ip-associations-python-novaclient-ext==0.2 (constraint was <any>)
  found candidate iso8601==0.1.12 (constraint was >=0.1.11,>=0.1.9)
  found candidate keyring==10.4.0 (constraint was <any>)
  found candidate keystoneauth1==3.2.0 (constraint was >=3.0.1)
  found candidate mock==2.0.0 (constraint was <any>)
  found candidate monotonic==1.3 (constraint was >=0.6)
  found candidate msgpack-python==0.4.8 (constraint was >=0.4.0)
  found candidate netaddr==0.7.19 (constraint was >=0.7.13,!=0.7.16)
  found candidate netifaces==0.10.6 (constraint was >=0.10.4)
  found candidate os-diskconfig-python-novaclient-ext==0.1.3 (constraint was <any>)
  found candidate os-networksv2-python-novaclient-ext==0.26 (constraint was <any>)
  found candidate os-virtual-interfacesv2-python-novaclient-ext==0.20 (constraint was <any>)
  found candidate oslo.config==4.12.0 (constraint was >=4.0.0,!=4.3.0,!=4.4.0)
  found candidate oslo.i18n==3.17.0 (constraint was >=1.5.0,>=2.1.0,!=3.15.2)
  found candidate oslo.serialization==2.20.0 (constraint was >=1.10.0,>=1.4.0,!=2.19.1)
  found candidate oslo.utils==3.29.0 (constraint was >=2.0.0,>=3.20.0)
Could not find a version that matches pbr!=2.1.0,<2.0,>=0.11,>=1.6,>=2.0.0
Tried: 0.5.2.5.g5b3e942, 0.5.0, 0.5.1, 0.5.2, 0.5.4, 0.5.5, 0.5.6, 0.5.7, 0.5.8, 0.5.10, 0.5.11, 0.5.12, 0.5.13, 0.5.14, 0.5.15, 0.5.16, 0.5.17, 0.5.18, 0.5.19, 0.5.20, 0.5.21, 0.5.22, 0.5.23, 0.6, 0.7.0, 0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.9.0, 0.10.0, 0.10.0, 0.10.1, 0.10.1, 0.10.2, 0.10.2, 0.10.3, 0.10.3, 0.10.4, 0.10.4, 0.10.5, 0.10.5, 0.10.6, 0.10.6, 0.10.7, 0.10.7, 0.10.8, 0.10.8, 0.11.0, 0.11.0, 0.11.1, 0.11.1, 1.0.0, 1.0.0, 1.0.1, 1.0.1, 1.1.0, 1.1.0, 1.1.1, 1.1.1, 1.2.0, 1.2.0, 1.3.0, 1.3.0, 1.4.0, 1.4.0, 1.5.0, 1.5.0, 1.6.0, 1.6.0, 1.7.0, 1.7.0, 1.8.0, 1.8.0, 1.8.1, 1.8.1, 1.9.0, 1.9.0, 1.9.1, 1.9.1, 1.10.0, 1.10.0, 2.0.0, 2.0.0, 2.1.0, 2.1.0, 3.0.0, 3.0.0, 3.0.1, 3.0.1, 3.1.0, 3.1.0, 3.1.1, 3.1.1
@briancurtin
Copy link
Contributor

Just to set some expectations: I doubt anything is going to happen here.

  1. Rackspace doesn't support pyrax anymore.
  2. I'm still waiting to hear from @ssbarnea about transitioning ownership of the project away from this repo and into something else. See Support for specific python-novaclient version #616 (comment) about that. pyrax may exist, but it'll be outside of this repo.
  3. I don't trust pyrax to function properly given such a change, so that loops back to points 1 and 2.

@twig
Copy link
Author

twig commented Sep 15, 2017

Thanks for the prompt reply @briancurtin

@sivel
Copy link
Contributor

sivel commented Sep 15, 2017

As of my last need to perform a pyrax install, I created the following constraints.txt file to allow successful installation of pyrax and it's dependencies:

oslo.serialization==1.6.0
oslo.utils==2.0.0
oslo.i18n==1.7.0
debtcollector==0.5.0
python-keystoneclient==1.6.0
oslo.config==1.12.0
stevedore==1.5.0
six==1.10.0

Testing with the above constraints file, I can confirm that pyrax and it's dependencies install without issue.

pip install -c constraints.txt pyrax

@twig
Copy link
Author

twig commented Sep 17, 2017

awesome! pinning those libraries (didn't seem to need six) did the trick

much appreciated @sivel

@twig twig closed this as completed Sep 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants