-
Notifications
You must be signed in to change notification settings - Fork 840
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
Pika is not compatible with python 3.7 #921
Comments
We would be glad to accept a PR to address this, thanks! |
This is for python 3.7 compatibility due to pika/pika#921.
Had the same using python 3.9. Just downgraded to 3.6 (into my venv) and worked fine. |
@clarabez could you provide more detail? Specifically, what errors? I just ran the test suite successfully using Python 3.9.1 -
|
- Set fixed version for Python docker image (3.6.15) - Don't use deprecated 3-onbuild python image anymore - Latest Python didn't work with pika: pika/pika#921
Hi, I am also facing this issue. `Python 3.9.9 (main, Nov 21 2021, 03:23:42)
` |
@meaditisharma this was fixed in #924. Please upgrade Pika. |
@lukebakken Thanks, It got fixed with pika update |
"async and await are not recommended to be used as variable, class, function or module names. Introduced by PEP 492 in Python 3.5, they will become proper keywords in Python 3.7." https://docs.python.org/3.7/whatsnew/3.5.html#new-keywords
So, you catch error in python 3.7:
/envs/plarin-3.7.0a4/lib/python3.7/site-packages/pika/adapters/libev_connection.py", line 106
self.async = None
^
SyntaxError: invalid syntax
The text was updated successfully, but these errors were encountered: