Skip to content

Support redis-py 7.2.0 and bump CI to Redis 8.6#342

Merged
chrisguidry merged 4 commits intomainfrom
redis-py-72-341
Feb 17, 2026
Merged

Support redis-py 7.2.0 and bump CI to Redis 8.6#342
chrisguidry merged 4 commits intomainfrom
redis-py-72-341

Conversation

@chrisguidry
Copy link
Owner

redis-py 7.2.0 deprecated lib_name/lib_version on Connection.__init__
in favor of DriverInfo, but their own RedisCluster still passes
lib_name="redis-py" internally, which triggers a DeprecationWarning.
Our filterwarnings = ["error"] promotes that to an exception, breaking
cluster tests. We pinned <7.2 in #340 as a stopgap.

This adds a targeted warning filter for that specific deprecation so we
can run with redis-py 7.2.0 unpinned. Also bumps the Redis version in CI
from 8.0 to 8.6 to track the latest release.

Closes #341

🤖 Generated with Claude Code

redis-py 7.2.0 deprecated `lib_name`/`lib_version` on `Connection.__init__`
in favor of `DriverInfo`, but their own `RedisCluster` still passes
`lib_name="redis-py"` internally, which triggers a `DeprecationWarning`.
Our `filterwarnings = ["error"]` promotes that to an exception, breaking
cluster tests. We pinned `<7.2` in #340 as a stopgap.

This adds a targeted warning filter for that specific deprecation so we
can run with redis-py 7.2.0 unpinned. Also bumps the Redis version in CI
from 8.0 to 8.6 to track the latest release.

Closes #341

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@github-actions
Copy link

github-actions bot commented Feb 17, 2026

📚 Documentation has been built for this PR!

You can download the documentation directly here:
https://github.com/chrisguidry/docket/actions/runs/22115222424/artifacts/5545802398

@codecov-commenter
Copy link

codecov-commenter commented Feb 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (1191537) to head (836081f).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #342   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           99        99           
  Lines         3097      3097           
  Branches        27        27           
=========================================
  Hits          3097      3097           
Flag Coverage Δ
cli-python-3.10 100.00% <ø> (ø)
cli-python-3.11 100.00% <ø> (ø)
cli-python-3.12 100.00% <ø> (ø)
cli-python-3.13 100.00% <ø> (ø)
cli-python-3.14 100.00% <ø> (ø)
python-3.10 100.00% <ø> (ø)
python-3.11 97.99% <ø> (ø)
python-3.12 100.00% <ø> (ø)
python-3.13 100.00% <ø> (ø)
python-3.14 100.00% <ø> (ø)
windows-python-3.10 100.00% <ø> (ø)
windows-python-3.11 97.90% <ø> (?)
windows-python-3.12 100.00% <ø> (ø)
windows-python-3.13 100.00% <ø> (ø)
windows-python-3.14 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

chrisguidry and others added 3 commits February 17, 2026 15:38
Rename matrix leg names to just major versions (e.g. "Redis 8" instead of
"Redis 8.6, redis-py >=5") so they don't need updating on every minor
bump. The actual Docker tag versions stay pinned in `redis-version`.

Also bumps Valkey from 8.0 to 8.1 to track the latest release.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
"Docket CI" → "CI", "Core Tests" → "Core", "CLI Tests" → "CLI",
"Windows Tests" → "Windows". Less noise in the GitHub checks UI.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@chrisguidry chrisguidry merged commit 5969e1e into main Feb 17, 2026
50 checks passed
@chrisguidry chrisguidry deleted the redis-py-72-341 branch February 17, 2026 20:56
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.

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

2 participants