[Python-modules-team] Bug#902646: python3-pexpect: Failure to install with Python 3.7

Austin Roach ahroach at gmail.com
Fri Jun 29 04:28:12 BST 2018


Package: python3-pexpect
Version: 4.2.1-1
Severity: serious

Installation fails with python3.7 installed:

Setting up python3-pexpect (4.2.1-1) ...
  File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py"
    def expect(self, pattern, timeout=-1, searchwindowsize=-1, async=False):
SyntaxError: invalid syntax

'async' is a reserved keyword in Python 3.7. This issue has been
previously reported upstream, and was fixed in version 4.3 of
pexpect.[1] The current upstream version is 4.6.

[1] https://github.com/pexpect/pexpect/issues/453



More information about the Python-modules-team mailing list