py3compile should not emit python runtime warnings during dist-upgrade
Bug #1863195 reported by
Dimitri John Ledkov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dh-python (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Focal |
Confirmed
|
Undecided
|
Unassigned |
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=
summary: |
- py3compile should compile without emitting python runtime warnings + py3compile should not emit python runtime warnings during dist-upgrade |
Changed in dh-python (Ubuntu): | |
status: | New → Confirmed |
tags: | removed: champagne |
tags: | added: id-5e4eb9bd8595f13168db02d2 |
To post a comment you must log in.
Setting up printer- driver- hpcups (3.19.12+ dfsg0-3ubuntu1) ... freedesktop: amd64 (1.62.0-4ubuntu3) ... drivers- common (1:0.7.7) ... python3. 8/subprocess. py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used python3. 8/subprocess. py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used talloc: amd64 (2.3.0-3ubuntu1) ... dfsg0-3ubuntu1) ... python3. 8/subprocess. py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used hplip/base/ utils.py: 2063: SyntaxWarning: "is" with a literal. Did you mean "=="? hplip/check- plugin. py:116: SyntaxWarning: "is" with a literal. Did you mean "=="? hplip/check. py:685: SyntaxWarning: "is not" with a literal. Did you mean "!="? hplip/installer /core_install. py:2037: SyntaxWarning: "is" with a literal. Did you mean "=="? hplip/ui5/ devmgr_ ext.py: 15: SyntaxWarning: "is not" with a literal. Did you mean "!="? available_ version is not "": hplip/ui5/ devmgr_ ext.py: 37: SyntaxWarning: "is not" with a literal. Did you mean "!="? available_ version is not "": 1+dfsg- 3ubuntu4) ... amd64 (7:4.2.2-1build1) ...
Setting up gir1.2-
Setting up ubuntu-
/usr/lib/
self.stdin = io.open(p2cwrite, 'wb', bufsize)
/usr/lib/
self.stdin = io.open(p2cwrite, 'wb', bufsize)
Setting up linux-generic (5.4.0.14.17) ...
Setting up python3-
Setting up hplip-data (3.19.12+
/usr/lib/
self.stdin = io.open(p2cwrite, 'wb', bufsize)
/usr/share/
if weburl is "" or weburl is None:
/usr/share/
if log_level is 'debug':
/usr/share/
if 'getfacl' not in g and '' is not g and 'file' not in g:
/usr/share/
if home_dir is "":
/usr/share/
if self.latest_
/usr/share/
if self.latest_
Setting up samba-libs:amd64 (2:4.11.
Setting up libswresample3:
and similar.
We cannot, and will not fix them all.