Skip to content

Allow redis-py 7.x (bump cap from <7.0 to <8.0)#292

Merged
tobymao merged 1 commit into
tobymao:mainfrom
selimacerbas:bump-redis-cap
May 13, 2026
Merged

Allow redis-py 7.x (bump cap from <7.0 to <8.0)#292
tobymao merged 1 commit into
tobymao:mainfrom
selimacerbas:bump-redis-cap

Conversation

@selimacerbas

Copy link
Copy Markdown

Summary

Bump the redis dependency cap from <7.0 to <8.0 in 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.0 cap blocks downstream projects from upgrading. The breaking changes in redis-py 7.x do not affect SAQ:

  • Type annotation improvements — runtime behavior unchanged
  • Removed parse_list_to_dict — not used by SAQ
  • RLock replacing threading.Lock — internal to redis-py
  • Async RedisCluster context manager change — SAQ doesn't use RedisCluster

SAQ'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.0redis>=4.2,<8.0 (2 occurrences)

Same analysis as the prior bump from <6.0 to <7.0 in commit cc8bef9.

Closes #291

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
@tobymao tobymao merged commit 8658e9d into tobymao:main May 13, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow redis-py 7.x (bump redis cap from <7.0 to <8.0)

2 participants