Skip to content

Commit 16ccfba

Browse files
Python: Update redis[hiredis] requirement from ~=5.0 to >=5,<7 in /python (#12179)
Updates the requirements on [redis[hiredis]](https://github.com/redis/redis-py) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/redis/redis-py/releases">redis[hiredis]'s releases</a>.</em></p> <blockquote> <h2>6.1.0</h2> <h1>Changes</h1> <h2>🚀 New Features</h2> <ul> <li>Support for transactions in <code>RedisCluster</code> client (<a href="https://redirect.github.com/redis/redis-py/issues/3611">#3611</a>)</li> <li>Add equality and hashability to <code>Retry</code> and backoff classes (<a href="https://redirect.github.com/redis/redis-py/issues/3628">#3628</a>)</li> </ul> <h2>🐛 Bug Fixes</h2> <ul> <li>Fix RedisCluster <code>ssl_check_hostname</code> not set to connections. For SSL verification with <code>ssl_cert_reqs=&quot;none&quot;</code>, check_hostname is set to <code>False</code> (<a href="https://redirect.github.com/redis/redis-py/issues/3637">#3637</a>)</li> <li>Prevent RuntimeError while reinitializing clusters - sync and async (<a href="https://redirect.github.com/redis/redis-py/issues/3633">#3633</a>)</li> <li>Add equality and hashability to <code>Retry</code> and backoff classes (<a href="https://redirect.github.com/redis/redis-py/issues/3628">#3628</a>) - fixes integration with Django RQ</li> <li>Fix <code>AttributeError</code> on <code>ClusterPipeline</code> (<a href="https://redirect.github.com/redis/redis-py/issues/3634">#3634</a>)</li> </ul> <h2>🧰 Maintenance</h2> <ul> <li>Updating the readme and lib version to contain the changes from the latest stable release (<a href="https://redirect.github.com/redis/redis-py/issues/3644">#3644</a>)</li> <li>Export <code>REDIS_MAJOR_VERSION</code> correctly in run-tests (<a href="https://redirect.github.com/redis/redis-py/issues/3642">#3642</a>)</li> <li>Fix matrix in <code>hiredis-py-integration.yaml</code> (<a href="https://redirect.github.com/redis/redis-py/issues/3641">#3641</a>)</li> <li>Test against unstable hiredis-py (<a href="https://redirect.github.com/redis/redis-py/issues/3617">#3617</a>)</li> <li>Adding return types for the <code>RedisModuleCommands</code> class (<a href="https://redirect.github.com/redis/redis-py/issues/3632">#3632</a>)</li> <li>Updating Redis 8 test image for GH pipeline (<a href="https://redirect.github.com/redis/redis-py/issues/3639">#3639</a>)</li> <li>Allow newer PyJWT versions (<a href="https://redirect.github.com/redis/redis-py/issues/3636">#3636</a>)</li> <li>Change type hints with possible <code>None</code> args or return types to be annotated with <code>Optional</code> - includes commands in <code>core.py</code> and json commands (<a href="https://redirect.github.com/redis/redis-py/issues/3610">#3610</a>)</li> </ul> <h2>🙏 Special Thanks</h2> <p>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!</p> <h2>Contributors</h2> <p>We'd like to thank all the contributors who worked on this release! <a href="https://github.com/robertosantamaria-scopely"><code>@​robertosantamaria-scopely</code></a> <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a> <a href="https://github.com/terencehonles"><code>@​terencehonles</code></a> <a href="https://github.com/kesha1225"><code>@​kesha1225</code></a> <a href="https://github.com/aberres"><code>@​aberres</code></a> <a href="https://github.com/uglide"><code>@​uglide</code></a> <a href="https://github.com/omerfeyzioglu"><code>@​omerfeyzioglu</code></a> <a href="https://github.com/petyaslavova"><code>@​petyaslavova</code></a> <a href="https://github.com/vladvildanov"><code>@​vladvildanov</code></a> <a href="https://github.com/andy-stark-redis"><code>@​andy-stark-redis</code></a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/redis/redis-py/commit/3331a424c1e65e1e8b6f025bd6a2a90a672e4a63"><code>3331a42</code></a> Adding comment for the lib version in <strong>init</strong>.py (to force ci pipeline execu...</li> <li><a href="https://github.com/redis/redis-py/commit/def589d362cfd42992841fa0cfe0a1aa8fc38794"><code>def589d</code></a> Fix Readme formatting for Installation section</li> <li><a href="https://github.com/redis/redis-py/commit/0d28291d24d56fc6f95aa0a36f4f3d93a6835e04"><code>0d28291</code></a> Updating the readme and lib version to contain the changes from the latest st...</li> <li><a href="https://github.com/redis/redis-py/commit/e9f22ddcba13173f1a2b3010f4e2a339a5b7fa57"><code>e9f22dd</code></a> Fix RedisCluster ssl_check_hostname not set to connections. For SSL verifica...</li> <li><a href="https://github.com/redis/redis-py/commit/91be4a0ff39556d5e270897740369d0b1cf9e044"><code>91be4a0</code></a> Multi exec on cluster (<a href="https://redirect.github.com/redis/redis-py/issues/3611">#3611</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/02b2ab604f796b42465c75bd74d633f34f2d7cf7"><code>02b2ab6</code></a> Export REDIS_MAJOR_VERSION correctly in run-tests (<a href="https://redirect.github.com/redis/redis-py/issues/3642">#3642</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/92e2ff73e6ad3c1f9b437dd4dc15edf1131f477c"><code>92e2ff7</code></a> Fix matrix in hiredis-py-integration.yaml (<a href="https://redirect.github.com/redis/redis-py/issues/3641">#3641</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/7130e1ad913f51abc0de1886a52cfd6338e1beee"><code>7130e1a</code></a> Test against unstable hiredis-py (<a href="https://redirect.github.com/redis/redis-py/issues/3617">#3617</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/4fd1100dc3823d376a46d9efb6347f4c249eee7c"><code>4fd1100</code></a> Adding return types for the RedisModuleCommands class (<a href="https://redirect.github.com/redis/redis-py/issues/3632">#3632</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/e13c42b8f4a98228ca4d193253cbfda87f36f467"><code>e13c42b</code></a> Prevent RuntimeError while reinitializing clusters - sync and async (<a href="https://redirect.github.com/redis/redis-py/issues/3633">#3633</a>)</li> <li>Additional commits viewable in <a href="https://github.com/redis/redis-py/compare/v5.0.0...v6.1.0">compare view</a></li> </ul> </details> <br /> 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 4d58a67 commit 16ccfba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ qdrant = [
133133
"qdrant-client ~= 1.9"
134134
]
135135
redis = [
136-
"redis[hiredis] ~= 5.0",
136+
"redis[hiredis] >= 5,< 7",
137137
"types-redis ~= 4.6.0.20240425",
138138
"redisvl ~= 0.4"
139139
]

0 commit comments

Comments
 (0)