Skip to content

Support redis-py 7.2.0 (async cluster init broken by DriverInfo change) #341

@chrisguidry

Description

@chrisguidry

redis-py 7.2.0 (released Feb 16, 2026) broke async cluster initialization. Their internal NodesManager passes lib_name to ClusterNode.__init__, which now raises a deprecation error via the new DriverInfo API (redis/redis-py#3880).

The error looks like:

RedisClusterException: Redis Cluster cannot be connected. Please provide at least one reachable node:
Call to '__init__' function with deprecated usage of input argument/s 'lib_name'.
(Use 'driver_info' parameter instead. lib_name and lib_version will be removed in a future version.)

For now we've pinned cluster CI to redis-py >=5,<7.2. We should unpin once they fix their internal usage of the deprecated parameter, or if we need to work around it on our side.

Upstream release: https://github.com/redis/redis-py/releases/tag/v7.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdependenciesPull requests that update a dependency file

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions