From beeadb7be29c108c6ee118e3570520db75bd9b57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 13 Jan 2026 04:59:10 -0800 Subject: [PATCH] python3Packages.fakeredis: 2.32.0 -> 2.33.0 Diff: https://github.com/dsoftwareinc/fakeredis-py/compare/v2.32.0...v2.33.0 Changelog: https://github.com/cunla/fakeredis-py/releases/tag/v2.33.0 --- .../python-modules/fakeredis/default.nix | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/fakeredis/default.nix b/pkgs/development/python-modules/fakeredis/default.nix index b8b5d2467148..f2cb17ddb590 100644 --- a/pkgs/development/python-modules/fakeredis/default.nix +++ b/pkgs/development/python-modules/fakeredis/default.nix @@ -7,7 +7,7 @@ lupa, hatchling, pyprobables, - pytest-asyncio_0, + pytest-asyncio, pytest-mock, pytestCheckHook, redis, @@ -18,14 +18,14 @@ buildPythonPackage rec { pname = "fakeredis"; - version = "2.32.0"; + version = "2.33.0"; pyproject = true; src = fetchFromGitHub { owner = "dsoftwareinc"; repo = "fakeredis-py"; tag = "v${version}"; - hash = "sha256-esouWM32qe4iO5AcRC0HuUF+lwEDHnyXoknwqsZhr+o="; + hash = "sha256-uvbvrziVdoa/ip8MbZG8GcpN1FoINxUV+SDVRmg78Qs="; }; build-system = [ hatchling ]; @@ -33,7 +33,6 @@ buildPythonPackage rec { dependencies = [ redis sortedcontainers - valkey ]; optional-dependencies = { @@ -42,14 +41,16 @@ buildPythonPackage rec { bf = [ pyprobables ]; cf = [ pyprobables ]; probabilistic = [ pyprobables ]; + valkey = [ valkey ]; }; nativeCheckInputs = [ hypothesis - pytest-asyncio_0 + pytest-asyncio pytest-mock pytestCheckHook redisTestHook + valkey ]; pythonImportsCheck = [ "fakeredis" ]; @@ -60,6 +61,13 @@ buildPythonPackage rec { "test_init_args" # AttributeError: module 'fakeredis' has no attribute 'FakeValkey' "test_async_init_kwargs" # AttributeError: module 'fakeredis' has no attribute 'FakeAsyncValkey'" + # redis.exceptions.ResponseError: unknown command 'evalsha' + "test_async_lock" + + # AssertionError: assert [0, b'1'] == [0, 1.0] + "test_zrank_redis7_2" + "test_zrevrank_redis7_2" + # KeyError: 'tot-mem' "test_acl_log_auth_exist" "test_acl_log_invalid_channel"