-
-
Notifications
You must be signed in to change notification settings - Fork 429
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
Unblock redis>=4.0.2 (#542, #570) #576
Unblock redis>=4.0.2 (#542, #570) #576
Conversation
dbbc1db
to
5cd31d2
Compare
Any thoughts? |
Sorry I away from my laptop, will have a look at it by the end of weekend |
Codecov Report
@@ Coverage Diff @@
## master #576 +/- ##
======================================
Coverage 57.7% 57.7%
======================================
Files 39 39
Lines 2497 2497
Branches 63 63
======================================
Hits 1440 1440
Misses 1049 1049
Partials 8 8
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
5cd31d2
to
685447a
Compare
…, jazzband#570) Upstream commit redis/redis-py@d2b2333 that is included with redis-py >=4.0.2 adds method Redis.sentinel_masters by making class Redis inherit from SentinelCommands, where the related code resides. Related to issue jazzband#542, follow-up to pull request jazzband#570 This reverts (parts of) commit ef945d6.
685447a
to
00e0d13
Compare
@WisdomPill thanks! |
It is okay for me, but now I have some doubts about the matrix strategy, I think we should test with specific versions of redis-py and maybe also specific versions of redis server. By the way there is a comment in the ci action which should be uncommented, like here. @terencehonles what do you think? |
@WisdomPill I pushed the commit from this PR to #575 because I both have permission to push to that branch, but also it is the older branch. The change seems fine to me, but I will not have a chance to test it for a few days because I'm flying now and will likely be busy for a bit. I don't know why this should be an issue since this should return the previous functionality back to how it was before. I do think there are some issues with the connection pools Redis configures since now there is both a sentinel pool and a redis pool, but that should have already been an issue previously and this change should likely be sufficient until we have a more pressing need to allow independent connection pool configuration. |
Okay, let's finish this on #575 then, but I see that there is an issue with packaging and there is already an issue open in redis/redis-py#1784 about it, so I guess we can wait to see what happens, by the way @hartwork is already involved in that conversation. |
@WisdomPill I had to keep those commented because redis-py |
I see your point, but I think keeping master on the CI and ignoring it when there are known issues is vital, |
Yes, but as long as any single CI task fails the whole thing will marked as failed and then people learn that CI is often red and always needs extra checking.
I see your point, but personally I think waiting for future breakage and bug reports and a fully green CI is more healthy. I guess it's okay that we disagree on that, it's just my 2 cents. |
Fixes #542
Upstream commit redis/redis-py@d2b2333 that is included with redis-py >=4.0.2 adds method
Redis.sentinel_masters
by making classRedis
inherit fromSentinelCommands
, where the related code resides.Related to issue #542, follow-up to pull request #570