Summary: | dev-python/pyzmq-15.2.0 with python2.7 - /usr/lib64/python2.7/site-packages/zmq/auth/asyncio.py: SyntaxError: invalid syntax | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | eroen <erikdenstore+gbugs> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | andrewammerlaan |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
eroen
2016-10-23 14:58:49 UTC
asyncio does not support python 2.7, and the syntax in question wasn't added until python 3.3. (In reply to dwfreed from comment #1) > asyncio does not support python 2.7, and the syntax in question wasn't added > until python 3.3. Heh indeed, my surprise and concern is that known-broken modules are installed. Please feel free to close the bug if you don't think it's an issue. Upstream fixed it in pyzmq 15.4.0 by not installing these modules for older versions of Python: https://github.com/zeromq/pyzmq/commit/2670e9a1ddd6dc1f83878bc936e18aaea3f50170 (The newest available version is 16.0.0.) This should not block the stablereq; just don't import that module on python2.7. |