-
Notifications
You must be signed in to change notification settings - Fork 2.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
Invalid input of type: 'CacheKey'. Convert to a byte, string or number first. #1071
Comments
redis-py 3.0 only accepts keys and values as bytes, strings or numbers. This is a backwards incompatible change listed in the release notes. I suspect django-redis needs to be updated to convert the |
Related django-redis issue: jazzband/django-redis#342 django-redis isn't constraining it's dependency on py-redis to version 2.
https://github.com/niwinz/django-redis/blob/master/setup.py#L25 I imagine a lot of people are going to get stung by this so expect django-redis to get fixed soon. |
This issue needs to be fixed in django-redis. I think this is not-a-bug as far as redis-py is concerned. |
@jdufresne is correct. django-redis needs to fix this in their code base. |
Was this issue resolved in a future version of django-redis? I use 4.10.0 and seems its still not fixed. |
Also have gotten stung by this. |
Django run with the latest version of the
redis
module crashes:It's this message. Full stack trace:
The text was updated successfully, but these errors were encountered: