From 52b28997a28a79954d07be057b7c43f3a153b8c5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 May 2026 09:48:51 +0200 Subject: [PATCH] Update fakeredis requirement from ==2.34.* to ==2.35.* (#6072) * Update fakeredis requirement from ==2.34.* to ==2.35.* Updates the requirements on [fakeredis](https://github.com/cunla/fakeredis-py) to permit the latest version. - [Release notes](https://github.com/cunla/fakeredis-py/releases) - [Commits](https://github.com/cunla/fakeredis-py/compare/v2.34.0...v2.35.0) --- updated-dependencies: - dependency-name: fakeredis dependency-version: 2.35.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] * Update class name --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Raphael Michel --- pyproject.toml | 2 +- src/tests/conftest.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0bfd01a54..0df34a107 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -111,7 +111,7 @@ dev = [ "aiohttp==3.13.*", "coverage", "coveralls", - "fakeredis==2.34.*", + "fakeredis==2.35.*", "flake8==7.3.*", "freezegun", "isort==8.0.*", diff --git a/src/tests/conftest.py b/src/tests/conftest.py index 280b6aa55..aadca8109 100644 --- a/src/tests/conftest.py +++ b/src/tests/conftest.py @@ -27,7 +27,7 @@ from django.core.cache import cache from django.test import override_settings from django.utils import translation from django_scopes import scopes_disabled -from fakeredis import FakeConnection +from fakeredis import FakeRedisConnection from xdist.dsession import DSession from pretix.testutils.mock import get_redis_connection @@ -97,21 +97,21 @@ def fakeredis_client(monkeypatch): 'BACKEND': 'django.core.cache.backends.redis.RedisCache', 'LOCATION': f'redis://127.0.0.1:{redis_port}', 'OPTIONS': { - 'connection_class': FakeConnection + 'connection_class': FakeRedisConnection } }, 'redis_session': { 'BACKEND': 'django.core.cache.backends.redis.RedisCache', 'LOCATION': f'redis://127.0.0.1:{redis_port}', 'OPTIONS': { - 'connection_class': FakeConnection + 'connection_class': FakeRedisConnection } }, 'default': { 'BACKEND': 'django.core.cache.backends.redis.RedisCache', 'LOCATION': f'redis://127.0.0.1:{redis_port}', 'OPTIONS': { - 'connection_class': FakeConnection + 'connection_class': FakeRedisConnection } }, }