Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678854 - dev-python/pexpect-4.2.1 incorrectly marked Python 3.7 compatible
Summary: dev-python/pexpect-4.2.1 incorrectly marked Python 3.7 compatible
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 687948 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-02-26 19:45 UTC by Chris Mayo
Modified: 2019-07-08 06:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)