[Python-modules-team] Bug#902766: python3-twisted fails in the post-installation script when doing a first-time install

Gert Wollny gw.fossdev at gmail.com
Sat Jun 30 18:31:38 BST 2018


Package: python3-twisted
Version: 18.4.0-1
Severity: serious
Justification: Policy 5.2 (package remains in unconfigured state)

Dear Maintainer,

When doing a fresh install the post-installation script fails with 

Setting up python3-twisted (18.4.0-1) ...
  File "/usr/lib/python3/dist-packages/twisted/conch/manhole.py", line
154
    def write(self, data, async=False):
                              ^
SyntaxError: invalid syntax

  File "/usr/lib/python3/dist-packages/twisted/mail/imap4.py", line
1093
    def sendUntaggedResponse(self, message, async=False
                                                ^
SyntaxError: invalid syntax

dpkg: error processing package python3-twisted (--configure):
 installed python3-twisted package post-installation script subprocess
returned error exit status 1

This leaves the package itself and dependend packages un-configured. 

Apparently with the latest python-3.6 "async" can no longer be used as
a variable name because it is a keyword. 

Best, 
Gert

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.44-gentoo (SMP w/6 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages python3-twisted depends on:
ii  python3                   3.6.6-1
ii  python3-automat           0.6.0-1
ii  python3-constantly        15.1.0-1
ii  python3-hyperlink         17.3.1-2
ii  python3-incremental       16.10.1-3
ii  python3-openssl           18.0.0-1
ii  python3-service-identity  16.0.0-2
ii  python3-twisted-bin       18.4.0-1
ii  python3-zope.interface    4.3.2-1+b2

Versions of packages python3-twisted recommends:
pn  python3-pam     <none>
ii  python3-serial  3.4-3
-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.44-gentoo (SMP w/6 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages python3-twisted depends on:
ii  python3                   3.6.6-1
ii  python3-automat           0.6.0-1
ii  python3-constantly        15.1.0-1
ii  python3-hyperlink         17.3.1-2
ii  python3-incremental       16.10.1-3
ii  python3-openssl           18.0.0-1
ii  python3-service-identity  16.0.0-2
ii  python3-twisted-bin       18.4.0-1
ii  python3-zope.interface    4.3.2-1+b2

Versions of packages python3-twisted recommends:
pn  python3-pam     <none>
ii  python3-serial  3.4-3

Versions of packages python3-twisted suggests:
pn  python3-glade2    <none>
pn  python3-gtk2      <none>
pn  python3-qt4       <none>
ii  python3-tk        3.6.6-1
pn  python3-wxgtk2.8  <none>

-- no debconf information
Versions of packages python3-twisted suggests:
pn  python3-glade2    <none>
pn  python3-gtk2      <none>
pn  python3-qt4       <none>
ii  python3-tk        3.6.6-1
pn  python3-wxgtk2.8  <none>

-- no debconf information



More information about the Python-modules-team mailing list