-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3.7 syntax error: async is a reserved keyword #4849
Comments
Sure. Sorry I haven't noticed that one. |
i will take care of this today |
Since #4500 is closed, I'm reopening this one. |
yeah ok I have already started working |
work in progress #4852 |
work is merged in master |
Can we anticipate a quick release or not? Just want to make sure whether we need to patch the Fedora package or wait. |
we have a plan to release a minor on before the end of this month |
Thanks. |
If anyone needs the changes right now then you can do |
I'm still getting this error when trying to run celery 4.2.1, will this fix be available in an upcoming release? |
yes, try master branch if you are in hurry for python 3.7 |
Yup, would be nice to have this fix released soon, since Python 3.7 is the default you get on python.org / homebrew etc. For anyone looking for a way to install Celery from master using Pipenv:
|
OK, correction – the above doesn't work in pipenv (at least not as part of a Docker build with a step I've also tried the following: pipenv install https://github.com/celery/celery/tarball/master in which case celery does get installed and can get imported, but it seems that this command doesn't install the dependencies… (might be related to this issue)
So, Celery is now broken if you want to use latest stable Python, Pipenv + Docker 😢. |
Regarding installation of Celery from GitHub as editable which seems to be a Pipenv issue, I've opened a bug there. |
better stick with python 3.6 for celery 4.2, there are some other small issues regarding python 3.7 in the dependencies. |
Checklist
Happens on master and previously released versions as well.
Steps to reproduce
See
celery/celery/backends/redis.py
Line 22 in b266860
celery/celery/backends/rpc.py
Line 20 in b266860
Expected behavior
Module should not be named async.
Actual behavior
Module is named async.
More info
I fail to run 3.7 test easily, but this leads to:
The text was updated successfully, but these errors were encountered: