Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 678854

Summary: dev-python/pexpect-4.2.1 incorrectly marked Python 3.7 compatible
Product: Gentoo Linux Reporter: Chris Mayo <aklhfex>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: oz.tiram
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Mayo 2019-02-26 19:45:50 UTC
File "/usr/lib/python3.7/site-packages/pexpect/spawnbase.py", line 224
    def expect(self, pattern, timeout=-1, searchwindowsize=-1, async=False):
                                                                   ^
SyntaxError: invalid syntax


Supported from Version 4.3:

    The async= parameter to integrate with asyncio has become async_= (PR #431), as async is becoming a Python keyword from Python 3.6. Pexpect will still recognise async as an alternative spelling.

https://pexpect.readthedocs.io/en/stable/history.html#version-4-3


dev-python/pexpect-4.6.0 working with Python 3.7 without problems.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-07-08 05:51:56 UTC
*** Bug 687948 has been marked as a duplicate of this bug. ***
Comment 2 Larry the Git Cow gentoo-dev 2019-07-08 06:01:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa2bc8d05805b3dcd9eb75b589cf261ae2c7577f

commit aa2bc8d05805b3dcd9eb75b589cf261ae2c7577f
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2019-07-08 05:51:16 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-07-08 05:51:20 +0000

    dev-python/pexpect: Remove py3.7 from 4.2.1
    
    As reported on Bugzilla, pexpect-4.2.1 does not work correctly
    with Python 3.7.  Remove it.
    
    Reported-by: Chris Mayo, Oz Tiram
    Closes: https://bugs.gentoo.org/678854
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/pexpect/pexpect-4.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)