imp module is deprecated

Bug #1937904 reported by Takashi Kajinami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Unassigned
os-win
Fix Released
Undecided
Takashi Kajinami
python-novaclient
Fix Released
Undecided
Takashi Kajinami
tripleo
New
Low
Unassigned

Bug Description

The imp module is deprecated since Python 3.4 and should be replaced by the importlib module.
Now usage of the imp module shows the following deprecation warning.
~~~
DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
~~~

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

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/os-win/+/802149

Changed in os-win:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-win (master)

Reviewed: https://review.opendev.org/c/openstack/os-win/+/802149
Committed: https://opendev.org/openstack/os-win/commit/d571260d41bfe309412570785665a9afd8d8eef2
Submitter: "Zuul (22348)"
Branch: master

commit d571260d41bfe309412570785665a9afd8d8eef2
Author: Takashi Kajinami <email address hidden>
Date: Sat Jul 24 22:41:25 2021 +0900

    Use importlib instead of imp

    ... because the imp module is deprecated since Python 3.4 .

    Closes-Bug: #1937904
    Change-Id: Ib8f06ee629753faec73cf3a2f41e7c743b6e0b04

Changed in os-win:
status: In Progress → Fix Released
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/c/openstack/neutron/+/804596

Changed in neutron:
status: New → In Progress
Changed in os-win:
assignee: nobody → Takashi Kajinami (kajinamit)
Changed in neutron:
assignee: nobody → Takashi Kajinami (kajinamit)
Changed in python-novaclient:
assignee: nobody → Takashi Kajinami (kajinamit)
Changed in python-novaclient:
status: New → In Progress
Changed in tripleo:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-novaclient (master)

Reviewed: https://review.opendev.org/c/openstack/python-novaclient/+/804597
Committed: https://opendev.org/openstack/python-novaclient/commit/bff8d4137057c9bc37436b8df29d86a3c2584938
Submitter: "Zuul (22348)"
Branch: master

commit bff8d4137057c9bc37436b8df29d86a3c2584938
Author: Takashi Kajinami <email address hidden>
Date: Mon Aug 16 09:54:06 2021 +0900

    Use importlib instead of imp

    ... because the imp module is deprecated since Python 3.4 .

    Closes-Bug: #1937904
    Change-Id: Ia3f83df336fd243c25f7471d56a44370c11bb5e1

Changed in python-novaclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/os-win 5.5.0

This issue was fixed in the openstack/os-win 5.5.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-novaclient 17.6.0

This issue was fixed in the openstack/python-novaclient 17.6.0 release.

Revision history for this message
Slawek Kaplonski (slaweq) wrote : auto-abandon-script

This bug has had a related patch abandoned and has been automatically un-assigned due to inactivity. Please re-assign yourself if you are continuing work or adjust the state as appropriate if it is no longer valid.

Changed in neutron:
assignee: Takashi Kajinami (kajinamit) → nobody
status: In Progress → New
tags: added: timeout-abandon
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by "Slawek Kaplonski <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/804596
Reason: This review is > 4 weeks without comment, and failed Zuul jobs the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Revision history for this message
Takashi Kajinami (kajinamit) wrote :
Changed in neutron:
status: New → Fix Released
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.