[Bug 1863195] Re: py3compile should not emit python runtime warnings during dist-upgrade

Brian Murray brian at ubuntu.com
Thu Feb 20 16:54:33 UTC 2020


** Also affects: dh-python (Ubuntu Focal)
   Importance: Undecided
       Status: Confirmed

** Tags removed: champagne

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dh-python in Ubuntu.
https://bugs.launchpad.net/bugs/1863195

Title:
  py3compile should not emit python runtime warnings during dist-upgrade

Status in dh-python package in Ubuntu:
  Confirmed
Status in dh-python source package in Focal:
  Confirmed

Bug description:
  py3compile should compile without emitting python runtime warnings

  on dist-upgrade from bionic to focal a tonne of RuntimeWarnings are
  emitted during apt upgrade, due to buffering=1 being deprecated.

  We will not fix all the packages, and these warnings are not helpful
  to the users, as they cannot and shouldn't need to do anything about
  them, as they come from packages that are maintained by the distro.

  Imho py3compile should execute python interpreter with -W ignore

  Or maybe set PYTHONWARNINGS=ignore in the environment during the
  upgrade?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dh-python/+bug/1863195/+subscriptions



More information about the foundations-bugs mailing list