← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1904854] Re: "packaging.version" must be explicitly imported

 

Reviewed:  https://review.opendev.org/763334
Committed: https://opendev.org/openstack/neutron/commit/fd335b40373c4b5e7f9ddac3e02dcd9a9917118a
Submitter: Zuul
Branch:    master

commit fd335b40373c4b5e7f9ddac3e02dcd9a9917118a
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Thu Nov 19 10:02:34 2020 +0000

    Import packaging.version explicitly
    
    "packaging.version" should be imported explicitly to avoid the
    following error:
      >>> import packaging
      >>> packaging.version
      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
      AttributeError: module 'packaging' has no attribute 'version'
    
    This patch also inclues "packaging" in the requirements file.
    
    Change-Id: Ibd277e2fcc152fcf7c81ef7470e3beb0c668575c
    Closes-Bug: #1904854


** 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/1904854

Title:
  "packaging.version" must be explicitly imported

Status in neutron:
  Fix Released

Bug description:
  "packaging.version" must be explicitly imported. Also this module
  should be added to the requirements file. It was added to Neutron in
  https://review.opendev.org/#/c/757620/.

  Error: http://paste.openstack.org/show/800200/

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


References