diff -Nru python3-defaults-3.8.2/debian/changelog python3-defaults-3.8.2/debian/changelog --- python3-defaults-3.8.2/debian/changelog 2020-02-28 13:01:25.000000000 +0000 +++ python3-defaults-3.8.2/debian/changelog 2020-03-13 12:20:20.000000000 +0000 @@ -1,3 +1,17 @@ +python3-defaults (3.8.2-0ubuntu2) focal; urgency=medium + + [ Dimitri John Ledkov ] + * Correct command-not-found XB-Cnf headers LP: #1867157: + - Drop Extra-Commands headers not needed + - Add XB- to ensure Visible-Pkgname actually is included in the binary + package heders + + [ Stuart Prescott ] + * Use unbuffered IO to pass filenames to py_compile (Closes: #953056) + LP: #1863414 + + -- Dimitri John Ledkov Fri, 13 Mar 2020 12:20:20 +0000 + python3-defaults (3.8.2-0ubuntu1) focal; urgency=medium * Bump version to 3.8.2. diff -Nru python3-defaults-3.8.2/debian/control python3-defaults-3.8.2/debian/control --- python3-defaults-3.8.2/debian/control 2020-02-28 13:01:25.000000000 +0000 +++ python3-defaults-3.8.2/debian/control 2020-03-13 12:19:29.000000000 +0000 @@ -32,8 +32,6 @@ . This package is a dependency package, which depends on Debian's default Python 3 version (currently v3.8). -XB-Cnf-Extra-Commands: python -XB-Cnf-Priority-Bonus: 5 Package: python3-venv Architecture: any @@ -58,7 +56,7 @@ in the boot process for some basic tasks. See /usr/share/doc/python3.8-minimal/README.Debian for a list of the modules contained in this package. -Cnf-Visible-Pkgname: python3 +XB-Cnf-Visible-Pkgname: python3 Package: python3-examples Architecture: all diff -Nru python3-defaults-3.8.2/debian/control.in python3-defaults-3.8.2/debian/control.in --- python3-defaults-3.8.2/debian/control.in 2020-02-28 13:01:25.000000000 +0000 +++ python3-defaults-3.8.2/debian/control.in 2020-03-13 12:19:29.000000000 +0000 @@ -31,8 +31,6 @@ . This package is a dependency package, which depends on Debian's default Python 3 version (currently v@VER@). -XB-Cnf-Extra-Commands: python -XB-Cnf-Priority-Bonus: 5 Package: python3-venv Architecture: any @@ -57,7 +55,7 @@ in the boot process for some basic tasks. See /usr/share/doc/python@VER@-minimal/README.Debian for a list of the modules contained in this package. -Cnf-Visible-Pkgname: python3 +XB-Cnf-Visible-Pkgname: python3 Package: python3-examples Architecture: all diff -Nru python3-defaults-3.8.2/py3compile python3-defaults-3.8.2/py3compile --- python3-defaults-3.8.2/py3compile 2018-06-05 21:35:36.000000000 +0000 +++ python3-defaults-3.8.2/py3compile 2020-03-13 12:19:29.000000000 +0000 @@ -129,7 +129,7 @@ version = vrepr(version) cmd = "/usr/bin/python%s%s -m py_compile -" \ % (version, ' -O' if optimize else '') - process = Popen(cmd, bufsize=1, shell=True, + process = Popen(cmd, bufsize=0, shell=True, stdin=PIPE, close_fds=True) workers[version] = process # keep the reference for .communicate() stdin = process.stdin