An upload of apport to jammy-proposed has been rejected from the upload
queue for the following reason: "contains bugfixes without bug
references or test cases, does not meet SRU policy".

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Fix Released
Status in apport source package in Jammy:
  New

Bug description:
  Impact
  ------

  The deprecation warning is just a warning, but it clutters the output
  and can lead to misattributions in case something does not work as
  expected.

  Test Case
  ---------

  1. Execute following command:
  python3 -Wonce -c "import apport.report"
  2. There should be no output.

  Where problems could occur
  --------------------------

  Except for changes to the test cases, _check_interpreted is the only
  consumer for the changed code. Breakage in this code paths can lead to
  wrongly assume that the crashing Python code is an interpreted script
  or not. This can lead to reports that have only ExecutablePath set
  (and not InterpreterPath).

  Original 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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to