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

2021-10-19 Thread Stefano Rivera
> 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


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

2020-03-13 Thread Francis Ginther
** Tags added: id-5e4eb9bd8595f13168db02d2

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


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

2020-02-20 Thread Brian Murray
** 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
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


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

2020-02-20 Thread Brian Murray
** Changed in: dh-python (Ubuntu)
   Status: New => Confirmed

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

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


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

2020-02-13 Thread Dimitri John Ledkov
Setting up printer-driver-hpcups (3.19.12+dfsg0-3ubuntu1) ...
Setting up gir1.2-freedesktop:amd64 (1.62.0-4ubuntu3) ...
Setting up ubuntu-drivers-common (1:0.7.7) ...
/usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering 
(buffering=1) isn't supported in binary mode, the default buffer size will be 
used
  self.stdin = io.open(p2cwrite, 'wb', bufsize)
/usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering 
(buffering=1) isn't supported in binary mode, the default buffer size will be 
used
  self.stdin = io.open(p2cwrite, 'wb', bufsize)
Setting up linux-generic (5.4.0.14.17) ...
Setting up python3-talloc:amd64 (2.3.0-3ubuntu1) ...
Setting up hplip-data (3.19.12+dfsg0-3ubuntu1) ...
/usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering 
(buffering=1) isn't supported in binary mode, the default buffer size will be 
used
  self.stdin = io.open(p2cwrite, 'wb', bufsize)
/usr/share/hplip/base/utils.py:2063: SyntaxWarning: "is" with a literal. Did 
you mean "=="?
  if weburl is "" or weburl is None:
/usr/share/hplip/check-plugin.py:116: SyntaxWarning: "is" with a literal. Did 
you mean "=="?
  if log_level is 'debug':
/usr/share/hplip/check.py:685: SyntaxWarning: "is not" with a literal. Did you 
mean "!="?
  if 'getfacl' not in g and '' is not g and 'file' not in g:
/usr/share/hplip/installer/core_install.py:2037: SyntaxWarning: "is" with a 
literal. Did you mean "=="?
  if home_dir is "":
/usr/share/hplip/ui5/devmgr_ext.py:15: SyntaxWarning: "is not" with a literal. 
Did you mean "!="?
  if self.latest_available_version is not "":
/usr/share/hplip/ui5/devmgr_ext.py:37: SyntaxWarning: "is not" with a literal. 
Did you mean "!="?
  if self.latest_available_version is not "":
Setting up samba-libs:amd64 (2:4.11.1+dfsg-3ubuntu4) ...
Setting up libswresample3:amd64 (7:4.2.2-1build1) ...

and similar.

We cannot, and will not fix them all.

-- 
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:
  New

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