Skip to content

build(deps): bump redis from 5.2.1 to 6.1.0 #254

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 19, 2025

Bumps redis from 5.2.1 to 6.1.0.

Release notes

Sourced from redis's releases.

6.1.0

Changes

🚀 New Features

  • Support for transactions in RedisCluster client (#3611)
  • Add equality and hashability to Retry and backoff classes (#3628)

🐛 Bug Fixes

  • Fix RedisCluster ssl_check_hostname not set to connections. For SSL verification with ssl_cert_reqs="none", check_hostname is set to False (#3637)
  • Prevent RuntimeError while reinitializing clusters - sync and async (#3633)
  • Add equality and hashability to Retry and backoff classes (#3628) - fixes integration with Django RQ
  • Fix AttributeError on ClusterPipeline (#3634)

🧰 Maintenance

  • Updating the readme and lib version to contain the changes from the latest stable release (#3644)
  • Export REDIS_MAJOR_VERSION correctly in run-tests (#3642)
  • Fix matrix in hiredis-py-integration.yaml (#3641)
  • Test against unstable hiredis-py (#3617)
  • Adding return types for the RedisModuleCommands class (#3632)
  • Updating Redis 8 test image for GH pipeline (#3639)
  • Allow newer PyJWT versions (#3636)
  • Change type hints with possible None args or return types to be annotated with Optional - includes commands in core.py and json commands (#3610)

🙏 Special Thanks

A big thank you to our collaborators at Scopely for their valuable contributions to this release! Your support and improvements help move the project forward — we appreciate it!

Contributors

We'd like to thank all the contributors who worked on this release! @​robertosantamaria-scopely @​sentrivana @​terencehonles @​kesha1225 @​aberres @​uglide @​omerfeyzioglu @​petyaslavova @​vladvildanov @​andy-stark-redis

6.0.0

Changes

🚀 New Features

  • New hash commands with expiration options support are added - HGETDEL, HGETEX, HSETEX (#3570)
  • Adds option not to raise an exception when leaving context manager after lock expiration (#3531)
  • Add force_master_ip support to async Sentinel client (#3524)

🧪 Experimental Features

  • Adding VectorSet commands support. (#3584)

🔥 Breaking changes

  • Changing the default value for ssl_check_hostname to True, to ensure security validations are not skipped by default (#3626) Important: When connecting to a Redis master via Sentinel, you may need to set ssl_check_hostname=False if the Sentinel service is not configured to return hostnames. Refer to [issue #3629](https://github.com/redis/redis-py/releases/edit/v6.0.0#3629) for more details.
  • Updated default value of 'require_full_coverage' argument to true for sync Cluster client to match sync/async cluster APIs (#3434)
  • Adding default retry configuration changes for cluster clients (#3622) Important: When instantiating a cluster client retry object becomes mandatory.
    • If retry object is not provided a default one is created with ExponentialWithJitterBackoff strategy and number of retries synced with 'cluster_error_retry_attempts'
    • In case a retry object is provided, its number of retries will be used for cluster operations number of retries and 'cluster_error_retry_attempts' will be ignored

... (truncated)

Commits
  • 3331a42 Adding comment for the lib version in init.py (to force ci pipeline execu...
  • def589d Fix Readme formatting for Installation section
  • 0d28291 Updating the readme and lib version to contain the changes from the latest st...
  • e9f22dd Fix RedisCluster ssl_check_hostname not set to connections. For SSL verifica...
  • 91be4a0 Multi exec on cluster (#3611)
  • 02b2ab6 Export REDIS_MAJOR_VERSION correctly in run-tests (#3642)
  • 92e2ff7 Fix matrix in hiredis-py-integration.yaml (#3641)
  • 7130e1a Test against unstable hiredis-py (#3617)
  • 4fd1100 Adding return types for the RedisModuleCommands class (#3632)
  • e13c42b Prevent RuntimeError while reinitializing clusters - sync and async (#3633)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by Sourcery

Build:

  • Update Redis version in pyproject.toml to 6.1.*

Bumps [redis](https://github.com/redis/redis-py) from 5.2.1 to 6.1.0.
- [Release notes](https://github.com/redis/redis-py/releases)
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES)
- [Commits](redis/redis-py@v5.2.1...v6.1.0)

---
updated-dependencies:
- dependency-name: redis
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels May 19, 2025
Copy link
Contributor

sourcery-ai bot commented May 19, 2025

Reviewer's Guide

This PR bumps the Redis client dependency from 5.2.x to 6.1.x by updating the project manifest and regenerating the lock file, incorporating the latest features, bug fixes, and maintenance improvements from redis-py v6.1.0.

File-Level Changes

Change Details Files
Bump redis dependency version
  • Update version spec in pyproject.toml to 6.1.*
  • Regenerate uv.lock to lock new Redis version
pyproject.toml
uv.lock

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants