← Back to team overview

touch-packages team mailing list archive

[Bug 1478262] [NEW] python3-waitress fails to install with python3-all from -proposed

 

Public bug reported:

To trigger this issue, run `sudo apt install python3-all
python3-waitress`. On an up to date wily, I have no problems. However,
if I enable -proposed and do the same thing, python3-waitress fails to
install.

Note that I discovered this issue when investigating why python-pecan
failed to build (https://launchpadlibrarian.net/212621587
/buildlog_ubuntu-wily-amd64.python-pecan_0.8.2-1ubuntu2_BUILDING.txt.gz)
I wasn't sure whether to file a separate issue on that or not since this
is the underlying reason.

$ sudo apt install python3-all python3-waitress
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libpython3-stdlib python3 python3-minimal
Suggested packages:
  python3-doc python3-tk python3-venv python-waitress-doc
The following NEW packages will be installed:
  python3-all python3-waitress
The following packages will be upgraded:
  libpython3-stdlib python3 python3-minimal
3 upgraded, 2 newly installed, 0 to remove and 63 not upgraded.
Need to get 40,3 kB/93,6 kB of archives.
After this operation, 386 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://no.archive.ubuntu.com/ubuntu/ wily-proposed/main python3-minimal amd64 3.4.3-4ubuntu1 [23,5 kB]
Get:2 http://no.archive.ubuntu.com/ubuntu/ wily-proposed/main python3 amd64 3.4.3-4ubuntu1 [8 810 B]
Get:3 http://no.archive.ubuntu.com/ubuntu/ wily-proposed/main libpython3-stdlib amd64 3.4.3-4ubuntu1 [7 014 B]
Get:4 http://no.archive.ubuntu.com/ubuntu/ wily-proposed/main python3-all amd64 3.4.3-4ubuntu1 [1 044 B]
Fetched 40,3 kB in 4s (8 888 B/s)
(Reading database ... 205785 files and directories currently installed.)
Preparing to unpack .../python3-minimal_3.4.3-4ubuntu1_amd64.deb ...
Unpacking python3-minimal (3.4.3-4ubuntu1) over (3.4.3-4) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up python3-minimal (3.4.3-4ubuntu1) ...
(Reading database ... 205785 files and directories currently installed.)
Preparing to unpack .../python3_3.4.3-4ubuntu1_amd64.deb ...
running python pre-rtupdate hooks for python3.4...
Unpacking python3 (3.4.3-4ubuntu1) over (3.4.3-4) ...
Preparing to unpack .../libpython3-stdlib_3.4.3-4ubuntu1_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.4.3-4ubuntu1) over (3.4.3-4) ...
Selecting previously unselected package python3-all.
Preparing to unpack .../python3-all_3.4.3-4ubuntu1_amd64.deb ...
Unpacking python3-all (3.4.3-4ubuntu1) ...
Selecting previously unselected package python3-waitress.
Preparing to unpack .../python3-waitress_0.8.9-2_all.deb ...
Unpacking python3-waitress (0.8.9-2) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libpython3-stdlib:amd64 (3.4.3-4ubuntu1) ...
Setting up python3 (3.4.3-4ubuntu1) ...
running python rtupdate hooks for python3.4...
running python post-rtupdate hooks for python3.4...
Setting up python3-all (3.4.3-4ubuntu1) ...
Setting up python3-waitress (0.8.9-2) ...
update-alternatives: using /usr/bin/waitress-serve-python3 to provide /usr/bin/waitress-serve (waitress-serve) in auto mode
  File "/usr/lib/python3/dist-packages/waitress/__init__.py", line 36
    stats.sort_stats(*sort_order or ('cumulative', 'calls', 'time'))
                                  ^
SyntaxError: invalid syntax

dpkg: error processing package python3-waitress (--configure):
 subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: python3-waitress 0.8.9-2
ProcVersionSignature: Ubuntu 4.1.0-2.2-generic 4.1.3
Uname: Linux 4.1.0-2-generic x86_64
ApportVersion: 2.18-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Jul 25 20:00:19 2015
InstallationDate: Installed on 2015-05-10 (76 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150510)
PackageArchitecture: all
SourcePackage: waitress
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: python-pecan (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: python3-defaults (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: waitress (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug ftbfs wily

** Description changed:

  To trigger this issue, run `sudo apt install python3-all
  python3-waitress`. On an up to date wily, I have no problems. However,
  if I enable -proposed and do the same thing, python3-waitress fails to
  install.
  
+ Note that I discovered this issue when investigating why python-pecan
+ failed to build (https://launchpadlibrarian.net/212621587
+ /buildlog_ubuntu-wily-amd64.python-pecan_0.8.2-1ubuntu2_BUILDING.txt.gz)
+ 
  $ sudo apt install python3-all python3-waitress
  Reading package lists... Done
- Building dependency tree       
+ Building dependency tree
  Reading state information... Done
  The following extra packages will be installed:
-   libpython3-stdlib python3 python3-minimal
+   libpython3-stdlib python3 python3-minimal
  Suggested packages:
-   python3-doc python3-tk python3-venv python-waitress-doc
+   python3-doc python3-tk python3-venv python-waitress-doc
  The following NEW packages will be installed:
-   python3-all python3-waitress
+   python3-all python3-waitress
  The following packages will be upgraded:
-   libpython3-stdlib python3 python3-minimal
+   libpython3-stdlib python3 python3-minimal
  3 upgraded, 2 newly installed, 0 to remove and 63 not upgraded.
  Need to get 40,3 kB/93,6 kB of archives.
  After this operation, 386 kB of additional disk space will be used.
- Do you want to continue? [Y/n] 
+ Do you want to continue? [Y/n]
  Get:1 http://no.archive.ubuntu.com/ubuntu/ wily-proposed/main python3-minimal amd64 3.4.3-4ubuntu1 [23,5 kB]
  Get:2 http://no.archive.ubuntu.com/ubuntu/ wily-proposed/main python3 amd64 3.4.3-4ubuntu1 [8 810 B]
  Get:3 http://no.archive.ubuntu.com/ubuntu/ wily-proposed/main libpython3-stdlib amd64 3.4.3-4ubuntu1 [7 014 B]
  Get:4 http://no.archive.ubuntu.com/ubuntu/ wily-proposed/main python3-all amd64 3.4.3-4ubuntu1 [1 044 B]
- Fetched 40,3 kB in 4s (8 888 B/s)  
+ Fetched 40,3 kB in 4s (8 888 B/s)
  (Reading database ... 205785 files and directories currently installed.)
  Preparing to unpack .../python3-minimal_3.4.3-4ubuntu1_amd64.deb ...
  Unpacking python3-minimal (3.4.3-4ubuntu1) over (3.4.3-4) ...
  Processing triggers for man-db (2.7.0.2-5) ...
  Setting up python3-minimal (3.4.3-4ubuntu1) ...
  (Reading database ... 205785 files and directories currently installed.)
  Preparing to unpack .../python3_3.4.3-4ubuntu1_amd64.deb ...
  running python pre-rtupdate hooks for python3.4...
  Unpacking python3 (3.4.3-4ubuntu1) over (3.4.3-4) ...
  Preparing to unpack .../libpython3-stdlib_3.4.3-4ubuntu1_amd64.deb ...
  Unpacking libpython3-stdlib:amd64 (3.4.3-4ubuntu1) over (3.4.3-4) ...
  Selecting previously unselected package python3-all.
  Preparing to unpack .../python3-all_3.4.3-4ubuntu1_amd64.deb ...
  Unpacking python3-all (3.4.3-4ubuntu1) ...
  Selecting previously unselected package python3-waitress.
  Preparing to unpack .../python3-waitress_0.8.9-2_all.deb ...
  Unpacking python3-waitress (0.8.9-2) ...
  Processing triggers for man-db (2.7.0.2-5) ...
  Setting up libpython3-stdlib:amd64 (3.4.3-4ubuntu1) ...
  Setting up python3 (3.4.3-4ubuntu1) ...
  running python rtupdate hooks for python3.4...
  running python post-rtupdate hooks for python3.4...
  Setting up python3-all (3.4.3-4ubuntu1) ...
  Setting up python3-waitress (0.8.9-2) ...
  update-alternatives: using /usr/bin/waitress-serve-python3 to provide /usr/bin/waitress-serve (waitress-serve) in auto mode
-   File "/usr/lib/python3/dist-packages/waitress/__init__.py", line 36
-     stats.sort_stats(*sort_order or ('cumulative', 'calls', 'time'))
-                                   ^
+   File "/usr/lib/python3/dist-packages/waitress/__init__.py", line 36
+     stats.sort_stats(*sort_order or ('cumulative', 'calls', 'time'))
+                                   ^
  SyntaxError: invalid syntax
  
  dpkg: error processing package python3-waitress (--configure):
-  subprocess installed post-installation script returned error exit status 1
+  subprocess installed post-installation script returned error exit status 1
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  
  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: python3-waitress 0.8.9-2
  ProcVersionSignature: Ubuntu 4.1.0-2.2-generic 4.1.3
  Uname: Linux 4.1.0-2-generic x86_64
  ApportVersion: 2.18-0ubuntu5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat Jul 25 20:00:19 2015
  InstallationDate: Installed on 2015-05-10 (76 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150510)
  PackageArchitecture: all
  SourcePackage: waitress
  UpgradeStatus: No upgrade log present (probably fresh install)

** Also affects: python3-defaults (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: python-pecan (Ubuntu)
   Importance: Undecided
       Status: New

** Tags added: ftbfs

** Description changed:

  To trigger this issue, run `sudo apt install python3-all
  python3-waitress`. On an up to date wily, I have no problems. However,
  if I enable -proposed and do the same thing, python3-waitress fails to
  install.
  
  Note that I discovered this issue when investigating why python-pecan
  failed to build (https://launchpadlibrarian.net/212621587
  /buildlog_ubuntu-wily-amd64.python-pecan_0.8.2-1ubuntu2_BUILDING.txt.gz)
+ I wasn't sure whether to file a separate issue on that or not since this
+ is the underlying reason.
  
  $ sudo apt install python3-all python3-waitress
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  The following extra packages will be installed:
    libpython3-stdlib python3 python3-minimal
  Suggested packages:
    python3-doc python3-tk python3-venv python-waitress-doc
  The following NEW packages will be installed:
    python3-all python3-waitress
  The following packages will be upgraded:
    libpython3-stdlib python3 python3-minimal
  3 upgraded, 2 newly installed, 0 to remove and 63 not upgraded.
  Need to get 40,3 kB/93,6 kB of archives.
  After this operation, 386 kB of additional disk space will be used.
  Do you want to continue? [Y/n]
  Get:1 http://no.archive.ubuntu.com/ubuntu/ wily-proposed/main python3-minimal amd64 3.4.3-4ubuntu1 [23,5 kB]
  Get:2 http://no.archive.ubuntu.com/ubuntu/ wily-proposed/main python3 amd64 3.4.3-4ubuntu1 [8 810 B]
  Get:3 http://no.archive.ubuntu.com/ubuntu/ wily-proposed/main libpython3-stdlib amd64 3.4.3-4ubuntu1 [7 014 B]
  Get:4 http://no.archive.ubuntu.com/ubuntu/ wily-proposed/main python3-all amd64 3.4.3-4ubuntu1 [1 044 B]
  Fetched 40,3 kB in 4s (8 888 B/s)
  (Reading database ... 205785 files and directories currently installed.)
  Preparing to unpack .../python3-minimal_3.4.3-4ubuntu1_amd64.deb ...
  Unpacking python3-minimal (3.4.3-4ubuntu1) over (3.4.3-4) ...
  Processing triggers for man-db (2.7.0.2-5) ...
  Setting up python3-minimal (3.4.3-4ubuntu1) ...
  (Reading database ... 205785 files and directories currently installed.)
  Preparing to unpack .../python3_3.4.3-4ubuntu1_amd64.deb ...
  running python pre-rtupdate hooks for python3.4...
  Unpacking python3 (3.4.3-4ubuntu1) over (3.4.3-4) ...
  Preparing to unpack .../libpython3-stdlib_3.4.3-4ubuntu1_amd64.deb ...
  Unpacking libpython3-stdlib:amd64 (3.4.3-4ubuntu1) over (3.4.3-4) ...
  Selecting previously unselected package python3-all.
  Preparing to unpack .../python3-all_3.4.3-4ubuntu1_amd64.deb ...
  Unpacking python3-all (3.4.3-4ubuntu1) ...
  Selecting previously unselected package python3-waitress.
  Preparing to unpack .../python3-waitress_0.8.9-2_all.deb ...
  Unpacking python3-waitress (0.8.9-2) ...
  Processing triggers for man-db (2.7.0.2-5) ...
  Setting up libpython3-stdlib:amd64 (3.4.3-4ubuntu1) ...
  Setting up python3 (3.4.3-4ubuntu1) ...
  running python rtupdate hooks for python3.4...
  running python post-rtupdate hooks for python3.4...
  Setting up python3-all (3.4.3-4ubuntu1) ...
  Setting up python3-waitress (0.8.9-2) ...
  update-alternatives: using /usr/bin/waitress-serve-python3 to provide /usr/bin/waitress-serve (waitress-serve) in auto mode
    File "/usr/lib/python3/dist-packages/waitress/__init__.py", line 36
      stats.sort_stats(*sort_order or ('cumulative', 'calls', 'time'))
                                    ^
  SyntaxError: invalid syntax
  
  dpkg: error processing package python3-waitress (--configure):
   subprocess installed post-installation script returned error exit status 1
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  
  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: python3-waitress 0.8.9-2
  ProcVersionSignature: Ubuntu 4.1.0-2.2-generic 4.1.3
  Uname: Linux 4.1.0-2-generic x86_64
  ApportVersion: 2.18-0ubuntu5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat Jul 25 20:00:19 2015
  InstallationDate: Installed on 2015-05-10 (76 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150510)
  PackageArchitecture: all
  SourcePackage: waitress
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python3-defaults in
Ubuntu.
https://bugs.launchpad.net/bugs/1478262

Title:
  python3-waitress fails to install with python3-all from -proposed

Status in python-pecan package in Ubuntu:
  New
Status in python3-defaults package in Ubuntu:
  New
Status in waitress package in Ubuntu:
  New

Bug description:
  To trigger this issue, run `sudo apt install python3-all
  python3-waitress`. On an up to date wily, I have no problems. However,
  if I enable -proposed and do the same thing, python3-waitress fails to
  install.

  Note that I discovered this issue when investigating why python-pecan
  failed to build (https://launchpadlibrarian.net/212621587
  /buildlog_ubuntu-wily-amd64.python-
  pecan_0.8.2-1ubuntu2_BUILDING.txt.gz) I wasn't sure whether to file a
  separate issue on that or not since this is the underlying reason.

  $ sudo apt install python3-all python3-waitress
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  The following extra packages will be installed:
    libpython3-stdlib python3 python3-minimal
  Suggested packages:
    python3-doc python3-tk python3-venv python-waitress-doc
  The following NEW packages will be installed:
    python3-all python3-waitress
  The following packages will be upgraded:
    libpython3-stdlib python3 python3-minimal
  3 upgraded, 2 newly installed, 0 to remove and 63 not upgraded.
  Need to get 40,3 kB/93,6 kB of archives.
  After this operation, 386 kB of additional disk space will be used.
  Do you want to continue? [Y/n]
  Get:1 http://no.archive.ubuntu.com/ubuntu/ wily-proposed/main python3-minimal amd64 3.4.3-4ubuntu1 [23,5 kB]
  Get:2 http://no.archive.ubuntu.com/ubuntu/ wily-proposed/main python3 amd64 3.4.3-4ubuntu1 [8 810 B]
  Get:3 http://no.archive.ubuntu.com/ubuntu/ wily-proposed/main libpython3-stdlib amd64 3.4.3-4ubuntu1 [7 014 B]
  Get:4 http://no.archive.ubuntu.com/ubuntu/ wily-proposed/main python3-all amd64 3.4.3-4ubuntu1 [1 044 B]
  Fetched 40,3 kB in 4s (8 888 B/s)
  (Reading database ... 205785 files and directories currently installed.)
  Preparing to unpack .../python3-minimal_3.4.3-4ubuntu1_amd64.deb ...
  Unpacking python3-minimal (3.4.3-4ubuntu1) over (3.4.3-4) ...
  Processing triggers for man-db (2.7.0.2-5) ...
  Setting up python3-minimal (3.4.3-4ubuntu1) ...
  (Reading database ... 205785 files and directories currently installed.)
  Preparing to unpack .../python3_3.4.3-4ubuntu1_amd64.deb ...
  running python pre-rtupdate hooks for python3.4...
  Unpacking python3 (3.4.3-4ubuntu1) over (3.4.3-4) ...
  Preparing to unpack .../libpython3-stdlib_3.4.3-4ubuntu1_amd64.deb ...
  Unpacking libpython3-stdlib:amd64 (3.4.3-4ubuntu1) over (3.4.3-4) ...
  Selecting previously unselected package python3-all.
  Preparing to unpack .../python3-all_3.4.3-4ubuntu1_amd64.deb ...
  Unpacking python3-all (3.4.3-4ubuntu1) ...
  Selecting previously unselected package python3-waitress.
  Preparing to unpack .../python3-waitress_0.8.9-2_all.deb ...
  Unpacking python3-waitress (0.8.9-2) ...
  Processing triggers for man-db (2.7.0.2-5) ...
  Setting up libpython3-stdlib:amd64 (3.4.3-4ubuntu1) ...
  Setting up python3 (3.4.3-4ubuntu1) ...
  running python rtupdate hooks for python3.4...
  running python post-rtupdate hooks for python3.4...
  Setting up python3-all (3.4.3-4ubuntu1) ...
  Setting up python3-waitress (0.8.9-2) ...
  update-alternatives: using /usr/bin/waitress-serve-python3 to provide /usr/bin/waitress-serve (waitress-serve) in auto mode
    File "/usr/lib/python3/dist-packages/waitress/__init__.py", line 36
      stats.sort_stats(*sort_order or ('cumulative', 'calls', 'time'))
                                    ^
  SyntaxError: invalid syntax

  dpkg: error processing package python3-waitress (--configure):
   subprocess installed post-installation script returned error exit status 1
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: python3-waitress 0.8.9-2
  ProcVersionSignature: Ubuntu 4.1.0-2.2-generic 4.1.3
  Uname: Linux 4.1.0-2-generic x86_64
  ApportVersion: 2.18-0ubuntu5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat Jul 25 20:00:19 2015
  InstallationDate: Installed on 2015-05-10 (76 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150510)
  PackageArchitecture: all
  SourcePackage: waitress
  UpgradeStatus: No upgrade log present (probably fresh install)

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


Follow ups