> Or maybe set PYTHONWARNINGS=ignore in the environment during the upgrade?
That sounds more like it. Wouldn't we want to see these in other situations? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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 -- 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