[Bug 1955178] Re: Deprecation warning from apport/report.py

Benjamin Drung 1955178 at bugs.launchpad.net
Mon Dec 11 21:20:58 UTC 2023


*** This bug is a duplicate of bug 1947425 ***
    https://bugs.launchpad.net/bugs/1947425

** This bug has been marked a duplicate of bug 1947425
   Use of deprecated 'imp' module

-- 
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/1955178

Title:
  Deprecation warning from apport/report.py

Status in apport package in Ubuntu:
  New

Bug description:
  /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

  -----------------

  I have a custom sys.excepthook installed in a private python3-based
  application.  The above text was prepended to my exception message.
  Just FYI.

  $ lsb_release -rd
  Description:    Ubuntu 20.04.3 LTS
  Release:        20.04

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: apport 2.20.11-0ubuntu27.21
  ProcVersionSignature: Ubuntu 5.4.0-91.102-generic 5.4.151
  Uname: Linux 5.4.0-91-generic x86_64
  ApportLog:
   
  ApportVersion: 2.20.11-0ubuntu27.21
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: KDE
  Date: Fri Dec 17 12:28:27 2021
  InstallationDate: Installed on 2020-12-30 (351 days ago)
  InstallationMedia: Kubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
  PackageArchitecture: all
  SourcePackage: apport
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1955178/+subscriptions




More information about the foundations-bugs mailing list