Allow redis-py 7.x (bump cap from <7.0 to <8.0)#292
Merged
Conversation
redis-py 7.0.0 breaking changes (type annotations, RLock, removed parse_list_to_dict) do not affect SAQ's usage of the redis library. SAQ uses redis.asyncio, pipelines, basic commands, and pub/sub — all unchanged in 7.x. Same analysis as the prior bump from <6.0 to <7.0 (cc8bef9). Closes tobymao#291
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bump the
redisdependency cap from<7.0to<8.0in both the[redis]extra and the[dev]extra, allowing projects to use redis-py 7.x with SAQ.Motivation
redis-py 7.0.0 was released October 2025 (latest: 7.4.0). The current
<7.0cap blocks downstream projects from upgrading. The breaking changes in redis-py 7.x do not affect SAQ:parse_list_to_dict— not used by SAQRLockreplacingthreading.Lock— internal to redis-pyRedisClustercontext manager change — SAQ doesn't useRedisClusterSAQ's usage pattern (
redis.asyncio, pipelines,get/set/delete/eval, pub/sub) is fully compatible with redis-py 7.x.Changes
setup.py:redis>=4.2,<7.0→redis>=4.2,<8.0(2 occurrences)Same analysis as the prior bump from
<6.0to<7.0in commit cc8bef9.Closes #291