Package: gunicorn3 Version: 19.6.0-7 Severity: important Dear Maintainer,
In the latest update to the gunicorn3 package there is ancient code that is not Python 3 compliant: gunicorn3 E: Sub-process /usr/bin/dpkg returned an error code (1) Setting up python3-gunicorn (19.6.0-7) ... File "/usr/lib/python3/dist-packages/gunicorn/util.py", line 179 except OSError, e: ^ SyntaxError: invalid syntax The code should be: except OSError as e: and should be in the Python 2 version as well. The use of comma in this context has been removed from Python for many, many versions. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.7.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages gunicorn3 depends on: ih python3-gunicorn 19.6.0-7 pn python3:any <none> gunicorn3 recommends no packages. Versions of packages gunicorn3 suggests: pn gunicorn-examples <none> ii python3-pastedeploy 1.5.2-4 pn python3-setproctitle <none> ii python3-tornado 4.4.1-2 -- no debconf information