"packaging.version" must be explicitly imported

Bug #1904854 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Rodolfo Alonso

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/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/763334

Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit fd335b40373c4b5e7f9ddac3e02dcd9a9917118a
Author: Rodolfo Alonso Hernandez <email address hidden>
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
tags: added: neutron-proactive-backport-potential
tags: removed: neutron-proactive-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 18.0.0.0rc1

This issue was fixed in the openstack/neutron 18.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.