← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1829239] Re: pyroute2 version conflict

 

** Changed in: networking-midonet
       Status: New => Fix Released

** Changed in: networking-midonet
    Milestone: None => 9.0.0

** Changed in: networking-midonet
     Assignee: (unassigned) => YAMAMOTO Takashi (yamamoto)

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

Title:
  pyroute2 version conflict

Status in networking-midonet:
  Fix Released
Status in neutron:
  Fix Released

Bug description:
  eg. http://logs.openstack.org/90/659090/3/check/openstack-tox-
  pep8/57bd295/job-output.txt.gz

  2019-05-14 15:02:52.604303 | ubuntu-bionic | pep8 run-test: commands[0] | flake8
  2019-05-14 15:02:52.604442 | ubuntu-bionic | setting PATH=/home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
  2019-05-14 15:02:52.605409 | ubuntu-bionic | [5702] /home/zuul/src/opendev.org/openstack/networking-midonet$ /home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/bin/flake8
  2019-05-14 15:02:54.158191 | ubuntu-bionic | /home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/lib/python3.6/site-packages/pep8.py:1186: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()
  2019-05-14 15:02:54.158425 | ubuntu-bionic |   args = inspect.getargspec(check)[0]
  2019-05-14 15:02:54.158624 | ubuntu-bionic | /home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/lib/python3.6/site-packages/setuptools/depends.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  2019-05-14 15:02:54.158656 | ubuntu-bionic |   import imp
  2019-05-14 15:02:54.158854 | ubuntu-bionic | /home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/lib/python3.6/site-packages/pep8.py:1192: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()
  2019-05-14 15:02:54.158929 | ubuntu-bionic |   if inspect.getargspec(check.__init__)[0][:2] == ['self', 'tree']:
  2019-05-14 15:02:54.159102 | ubuntu-bionic | /home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/lib/python3.6/site-packages/pep8.py:1192: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()
  2019-05-14 15:02:54.159214 | ubuntu-bionic |   if inspect.getargspec(check.__init__)[0][:2] == ['self', 'tree']:
  2019-05-14 15:02:54.159391 | ubuntu-bionic | /home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/lib/python3.6/site-packages/pep8.py:1186: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()
  2019-05-14 15:02:54.159438 | ubuntu-bionic |   args = inspect.getargspec(check)[0]
  2019-05-14 15:02:54.159604 | ubuntu-bionic | /home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/lib/python3.6/site-packages/pep8.py:1186: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()
  2019-05-14 15:02:54.159650 | ubuntu-bionic |   args = inspect.getargspec(check)[0]
  2019-05-14 15:02:54.355548 | ubuntu-bionic | Traceback (most recent call last):
  2019-05-14 15:02:54.355851 | ubuntu-bionic |   File "/home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/bin/flake8", line 10, in <module>
  2019-05-14 15:02:54.355933 | ubuntu-bionic |     sys.exit(main())
  2019-05-14 15:02:54.356133 | ubuntu-bionic |   File "/home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/lib/python3.6/site-packages/flake8/main.py", line 36, in main
  2019-05-14 15:02:54.356237 | ubuntu-bionic |     report = flake8_style.check_files()
  2019-05-14 15:02:54.356464 | ubuntu-bionic |   File "/home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/lib/python3.6/site-packages/flake8/engine.py", line 181, in check_files
  2019-05-14 15:02:54.356602 | ubuntu-bionic |     return self._retry_serial(self._styleguide.check_files, paths=paths)
  2019-05-14 15:02:54.356827 | ubuntu-bionic |   File "/home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/lib/python3.6/site-packages/flake8/engine.py", line 172, in _retry_serial
  2019-05-14 15:02:54.356921 | ubuntu-bionic |     return func(*args, **kwargs)
  2019-05-14 15:02:54.357134 | ubuntu-bionic |   File "/home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/lib/python3.6/site-packages/pep8.py", line 1670, in check_files
  2019-05-14 15:02:54.357212 | ubuntu-bionic |     self.input_dir(path)
  2019-05-14 15:02:54.357413 | ubuntu-bionic |   File "/home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/lib/python3.6/site-packages/pep8.py", line 1706, in input_dir
  2019-05-14 15:02:54.357512 | ubuntu-bionic |     runner(os.path.join(root, filename))
  2019-05-14 15:02:54.357727 | ubuntu-bionic |   File "/home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/lib/python3.6/site-packages/flake8/engine.py", line 126, in input_file
  2019-05-14 15:02:54.357916 | ubuntu-bionic |     return fchecker.check_all(expected=expected, line_offset=line_offset)
  2019-05-14 15:02:54.358126 | ubuntu-bionic |   File "/home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/lib/python3.6/site-packages/pep8.py", line 1412, in check_all
  2019-05-14 15:02:54.358199 | ubuntu-bionic |     self.check_ast()
  2019-05-14 15:02:54.358403 | ubuntu-bionic |   File "/home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/lib/python3.6/site-packages/pep8.py", line 1359, in check_ast
  2019-05-14 15:02:54.358509 | ubuntu-bionic |     for lineno, offset, text, check in checker.run():
  2019-05-14 15:02:54.358723 | ubuntu-bionic |   File "/home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/lib/python3.6/site-packages/flake8_import_order/flake8_linter.py", line 91, in run
  2019-05-14 15:02:54.358855 | ubuntu-bionic |     for error in self.check_order():
  2019-05-14 15:02:54.359099 | ubuntu-bionic |   File "/home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/lib/python3.6/site-packages/flake8_import_order/checker.py", line 61, in check_order
  2019-05-14 15:02:54.359189 | ubuntu-bionic |     style_cls = style_entry_point.load()
  2019-05-14 15:02:54.359391 | ubuntu-bionic |   File "/home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2433, in load
  2019-05-14 15:02:54.359473 | ubuntu-bionic |     self.require(*args, **kwargs)
  2019-05-14 15:02:54.359691 | ubuntu-bionic |   File "/home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2456, in require
  2019-05-14 15:02:54.359845 | ubuntu-bionic |     items = working_set.resolve(reqs, env, installer, extras=self.extras)
  2019-05-14 15:02:54.360070 | ubuntu-bionic |   File "/home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/lib/python3.6/site-packages/pkg_resources/__init__.py", line 791, in resolve
  2019-05-14 15:02:54.360205 | ubuntu-bionic |     raise VersionConflict(dist, req).with_context(dependent_req)
  2019-05-14 15:02:54.360494 | ubuntu-bionic | pkg_resources.ContextualVersionConflict: (pyroute2 0.5.3 (/home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/lib/python3.6/site-packages), Requirement.parse('pyroute2>=0.5.5; sys_platform != "win32"'), {'neutron'})
  2019-05-14 15:02:54.555100 | ubuntu-bionic | ERROR: InvocationError for command /home/zuul/src/opendev.org/openstack/networking-midonet/.tox/pep8/bin/flake8 (exited with code 1)
  2019-05-14 15:02:54.555230 | ubuntu-bionic | pep8 finish: run-test  after 1.95 seconds
  2019-05-14 15:02:54.555953 | ubuntu-bionic | pep8 start: run-test-post
  2019-05-14 15:02:54.556032 | ubuntu-bionic | pep8 finish: run-test-post  after 0.00 seconds

To manage notifications about this bug go to:
https://bugs.launchpad.net/networking-midonet/+bug/1829239/+subscriptions