← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1930750] Re: pyroute2 >= 0.6.2 fails in pep8 import analysis

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/794668
Committed: https://opendev.org/openstack/neutron/commit/074c131b570adb60150ea25d7cec2367ee963ac2
Submitter: "Zuul (22348)"
Branch:    master

commit 074c131b570adb60150ea25d7cec2367ee963ac2
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Thu Jun 3 19:11:11 2021 +0000

    Disable pep8 import check for pyroute2 library
    
    Since version 0.6.2, pyroute2 library dynamically imports the needed
    modules when loaded. A static analysis will fail when checking the
    import references.
    
    Change-Id: I5aaf9494a2d5c2533199e6b92d4df8fe785f83a3
    Closes-Bug: #1930750


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  pyroute2 >= 0.6.2 fails in pep8 import analysis

Status in neutron:
  Fix Released

Bug description:
  Since version 0.6.2, pyroute2 library dynamically imports the needed
  modules when loaded. A static analysis will fail when checking the
  import references.

  Example: https://c918cbae52d07f0b694c-
  87cfb8a8e579ae39cc41214d7e8b69d2.ssl.cf1.rackcdn.com/793735/2/check
  /openstack-tox-pep8/62e482e/job-output.txt

  Snippet: http://paste.openstack.org/show/806340/

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


References