← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1937904] Re: imp module is deprecated

 

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 <tkajinam@xxxxxxxxxx>
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

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

Title:
  imp module is deprecated

Status in neutron:
  In Progress
Status in os-win:
  Fix Released
Status in python-novaclient:
  Fix Released
Status in tripleo:
  New

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
  ~~~

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