-
-
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
[2019-03-04 11:08:55,583: CRITICAL/MainProcess] Unrecoverable error: VersionMismatch(‘Redis transport requires redis-py versions 3.2.0 or later. You have 2.10.6’,) #5369
Comments
If you use pip for install celery I fix the error specifying kombu version in the requirements.txt celery==4.1.1 The error is in kombu dependency: Regards. |
This is completely intentional since py-redis<3.20 contains bugs which crash Celery or makes certain features unusable. This breakage is declared in both the Celery 4.3.0 RC2 & Kombu 4.4.0 release notes. I apologize for the inconvenience but we had to do this since any other path would involve heavy monkey patching or breakage for users. Thank you for noticing and opening an issue about this. |
Pinning to 4.3 worked for us. |
The following in my requirements.txt solved the issue. redis==3.2.1 If I understand @thedrow correctly it's a better approach than fixing Kombu suggested in the answer by @andonirodriguez. |
FYI to future readers: |
The Kombu update from 4.3.0 to 4.4.0 stopped support for redis-py v2.10.6 and therefore forces us to upgrade redis-py version.
Celery Version: 4.1.1
https://github.com/celery/celery/blob/v4.1.1/requirements/default.txt#L3
The text was updated successfully, but these errors were encountered: