← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1493270] [NEW] The dependency of pbr in ryu does not match neutron

 

Public bug reported:

I want to use neutron with latest code. In the [1], ryu was added as
dependency for neutron. However, when I want to install ryu.  I got this
error.

[root@test]# pip install ryu
Downloading/unpacking ryu
  Downloading ryu-3.25.tar.gz (1.3MB): 1.3MB downloaded
  Running setup.py egg_info for package ryu
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/tmp/pip_build_root/ryu/setup.py", line 30, in <module>
        pbr=True)
      File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup
        _setup_distribution = dist = klass(attrs)
      File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 265, in __init__
        self.fetch_build_eggs(attrs.pop('setup_requires'))
      File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 289, in fetch_build_eggs
        parse_requirements(requires), installer=self.fetch_build_egg
      File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 630, in resolve
        raise VersionConflict(dist,req) # XXX put more info here
    pkg_resources.VersionConflict: (pbr 1.6.0 (/usr/lib/python2.7/site-packages), Requirement.parse('pbr<1.0'))

And I can find from [2] that ryu will need pbr < 1.0
But in my env, the pbr was installed with a newer version. According to [3]. 


[1] https://review.openstack.org/#/c/153946/136/requirements.txt
[2] https://github.com/osrg/ryu/blob/master/setup.py#L29
[3] https://github.com/openstack/neutron/blob/master/requirements.txt#L4

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1493270

Title:
  The dependency of pbr in ryu does not match neutron

Status in neutron:
  New

Bug description:
  I want to use neutron with latest code. In the [1], ryu was added as
  dependency for neutron. However, when I want to install ryu.  I got
  this error.

  [root@test]# pip install ryu
  Downloading/unpacking ryu
    Downloading ryu-3.25.tar.gz (1.3MB): 1.3MB downloaded
    Running setup.py egg_info for package ryu
      Traceback (most recent call last):
        File "<string>", line 16, in <module>
        File "/tmp/pip_build_root/ryu/setup.py", line 30, in <module>
          pbr=True)
        File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup
          _setup_distribution = dist = klass(attrs)
        File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 265, in __init__
          self.fetch_build_eggs(attrs.pop('setup_requires'))
        File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 289, in fetch_build_eggs
          parse_requirements(requires), installer=self.fetch_build_egg
        File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 630, in resolve
          raise VersionConflict(dist,req) # XXX put more info here
      pkg_resources.VersionConflict: (pbr 1.6.0 (/usr/lib/python2.7/site-packages), Requirement.parse('pbr<1.0'))

  And I can find from [2] that ryu will need pbr < 1.0
  But in my env, the pbr was installed with a newer version. According to [3]. 


  [1] https://review.openstack.org/#/c/153946/136/requirements.txt
  [2] https://github.com/osrg/ryu/blob/master/setup.py#L29
  [3] https://github.com/openstack/neutron/blob/master/requirements.txt#L4

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1493270/+subscriptions


Follow ups