eroen@occam ~ $ python2 Python 2.7.12 (default, Sep 21 2016, 10:18:20) [GCC 5.4.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import zmq.auth.asyncio Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.7/site-packages/zmq/auth/asyncio.py", line 28 events = yield from self.__poller.poll() ^ SyntaxError: invalid syntax >>> eroen@occam ~ $ python3 Python 3.5.2 (default, Sep 21 2016, 10:39:35) [GCC 5.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import zmq.auth.asyncio >>>
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.