Skip to content

chore(reasoner): require fakeredis 2.41 and drop the redis-py 8.2 test cap - #471

Merged
micheldumontier merged 1 commit into
mainfrom
chore/fakeredis-2.41
Nov 24, 2026
Merged

micheldumontier merged 1 commit into
mainfrom
chore/fakeredis-2.41

Conversation

@micheldumontier

Copy link
Copy Markdown
Contributor

Summary

  • Remove the cap: drops the test-only redis<8.2 cap from docker/reasoner-service/requirements-test.txt.
  • Add a floor: requires fakeredis>=2.41 instead.
    • fakeredis 2.41.0 (2026-11-23) works with redis-py 8.2.
    • 2.40.0 fails 26 tests with AttributeError on method_descriptor.__closure__.
  • Header comment: now says test_dockerfiles.py checks the py-horned-owl pin too (added in chore(reasoner): install py-horned-owl from PyPI wheels in the arm64 image #470).

The change is test-only. The images still install redis>=5.0 and do not install fakeredis.

Test plan

  • redis 8.2.0 + fakeredis 2.40.0: 3 failed, 23 errors (the original breakage)
  • redis 8.2.0 + fakeredis 2.41.0, km on PATH: 134 passed, 2 skipped
  • Fresh venv from the edited requirements-test.txt (resolves redis 8.2.0, fakeredis 2.41.0): 125 passed, 11 skipped (no km on PATH, as in CI)
  • CI "Reasoner service" job

🤖 Generated with Claude Code

…t cap

fakeredis 2.41.0 (2026-11-23) works with redis-py 8.2; 2.40.0 failed 26
tests with AttributeError on method_descriptor.__closure__. Replace the
test-only redis<8.2 cap with a fakeredis>=2.41 floor. Also note that
test_dockerfiles.py now checks the py-horned-owl pin too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@micheldumontier
micheldumontier merged commit 4f3ecdd into main Nov 24, 2026
5 checks passed
@micheldumontier
micheldumontier deleted the chore/fakeredis-2.41 branch November 24, 2026 11:44
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.

1 participant