[Bug 1947425] Re: Use of deprecated 'imp' module
Benjamin Drung
1947425 at bugs.launchpad.net
Mon Jun 27 10:12:58 UTC 2022
** Changed in: apport
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1947425
Title:
Use of deprecated 'imp' module
Status in Apport:
Fix Released
Status in apport package in Ubuntu:
New
Bug description:
Code using apport/report.py will see the following warning:
$ python3 -Wonce -c "import apport.report"
/usr/lib/python3/dist-packages/apport/report.py:13
/usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import fnmatch, glob, traceback, errno, sys, atexit, locale, imp, stat
The 'imp' module is slated for removal in Python 3.12.
https://github.com/python/cpython/blob/main/Lib/imp.py#L31
To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/1947425/+subscriptions
More information about the foundations-bugs
mailing list