You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting the following warning for version "fakeredis>=2.29.0",
.venv/lib/python3.13/site-packages/fakeredis/aioredis.py:256: DeprecationWarning: Call to '__init__' function with deprecated usage of input argument/s 'retry_on_timeout'. (TimeoutError is included by default.) -- Deprecated since version 6.0.0.
super().__init__(**kwargs)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
Deleting retry_on_timeout from the kwarg in fakeredis/aioredis.py fixes the error, however I'm not sure if applying this patch is considered a breaking change if we made that adjustment (i.e. folks depending on older redis versions might find some incompatibility).
Going to ignore this warning for now in my pytest.ini, but is probably a fix to consider in future releases of this library.