-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Remove need for aioredis
if redis-py is 4.2+
#13
Comments
Are there other changes required than introduced by #10? |
After #10, the default behaviour is it will try to use I would like the default behaviour to be: if |
Fair enough, that should only require the similar logic as there is already in place (for aioredis v1 vs v2), right? I'd be happy to make a PR for this 🙏 Edit: Just looking into this and have few questions:
I'm not too well versed in shipping libraries like this, so I would love to learn if there are contexts where |
It is possible to use redis below 4.2 with fakeredis - see the actions tab with various options I am testing.
You can tell whether
I would like to test 4 scenarios:
This might be a bit more than what you signed up for - let me know. I was planning to work on it this week :)
fakeredis does not require redis to be latest, so it is possible. |
Thanks for all the info! This might potentially be more than I anticipated, but I might take a crack at it tonight. Don't feel like you need to wait for me to submit anything though, as if I don't find time tonight I won't have time until the weekend, at which time you'll have had time to work on it anyway 🙏 I just have couple of follow up questions:
I see that in #12 you migrated to poetry, where before you did have
but it doesn't seem to be the case in the
I also see that in the
which matches what I see in a project that uses fakeredis
but with the move to poetry, I'm only seeing a pin to |
Yeah, that move to optional dependencies is indeed something that needs to be done as well - I will open another issue for it. |
Is your feature request related to a problem? Please describe.
Aioredis is now in redis-py 4.2.0rc1+ as described here
Describe the solution you'd like
Default should be not requiring aioredis.
The text was updated successfully, but these errors were encountered: