Description of the patch:
This optional update for python-redis and redis provides the following fixes
python-redis:
- Update to version to 3.4.1 (jsc#ECO-2417)
- Move the username argument in the Redis and Connection classes to the end of the argument list.
This helps those poor souls that specify all their connection options as non-keyword arguments.
- Prior to ACL support, redis-py ignored the username component of Connection URLs. With ACL
support, usernames are no longer ignored and are used to authenticate against an ACL rule.
Some cloud vendors with managed Redis instances (like Heroku) provide connection URLs with a
username component pre-ACL that is not intended to be used. Sending that username to Redis
servers < 6.0.0 results in an error. Attempt to detect this condition and retry the AUTH
command with only the password such that authentication continues to work for these users.
- Removed the eq hooks to Redis and ConnectionPool that were added in 3.4.0.
This ended up being a bad idea as two separate connection pools be considered equal yet
manage a completely separate set of connections.
- Allow empty pipelines to be executed if there are WATCHed keys. This is a convenient
way to test if any of the watched keys changed without actually running any other commands.
- Removed support for end of life Python 3.4.
- Added support for all ACL commands in Redis 6.
- Pipeline instances now always evaluate to True. Prior to this change,
pipeline instances relied on len for boolean evaluation which
meant that pipelines with no commands on the stack would be considered False.
- Client instances and Connection pools now support a 'client_name' argument.
If supplied, all connections created will call CLIENT SETNAME as soon as the connection is opened.
- Added the 'ssl_check_hostname' argument to specify whether SSL connections should require the
server hostname to match the…