Per the release notes of Python 3.7, "async" and "await" are now reserved keywords. This means that async workers like gevent
no longer work because they try to import the gevent.workers.async
module, which is now a SyntaxError
:
File "/Users/bogdan/.virtualenvs/molten/lib/python3.7/site-packages/gunicorn/workers/ggevent.py", line 30
from gunicorn.workers.async import AsyncWorker
^
SyntaxError: invalid syntax
The obvious fix would be to rename the async module to something else, but I believe that would constitute a breaking change so I figured I'd open an issue before attempting to contribute.
This has already been addressed. See #1822
Ahh, can't believe I missed that. Thanks, @jamadden!
Gunicorn 19.9.0 has been released!
Most helpful comment
Gunicorn 19.9.0 has been released!