diff --git a/pkgs/development/python-modules/fakeredis/default.nix b/pkgs/development/python-modules/fakeredis/default.nix index 4a98f804f9cb..9b6b4e054e6d 100644 --- a/pkgs/development/python-modules/fakeredis/default.nix +++ b/pkgs/development/python-modules/fakeredis/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "fakeredis"; - version = "2.25.1"; + version = "2.26.1"; pyproject = true; disabled = pythonOlder "3.7"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "dsoftwareinc"; repo = "fakeredis-py"; rev = "refs/tags/v${version}"; - hash = "sha256-HjId4SueqkbC319Eel8G85ZOj72ZKEVEH2D8V/GfXi4="; + hash = "sha256-eBWdrN6QfrZaavKGuVMaU0s+k0VpsBCIaIzuxC7HyYE="; }; build-system = [ poetry-core ]; @@ -37,13 +37,6 @@ buildPythonPackage rec { sortedcontainers ]; - nativeCheckInputs = [ - hypothesis - pytest-asyncio - pytest-mock - pytestCheckHook - ]; - optional-dependencies = { lua = [ lupa ]; json = [ jsonpath-ng ]; @@ -52,6 +45,13 @@ buildPythonPackage rec { probabilistic = [ pyprobables ]; }; + nativeCheckInputs = [ + hypothesis + pytest-asyncio + pytest-mock + pytestCheckHook + ]; + pythonImportsCheck = [ "fakeredis" ]; pytestFlagsArray = [ "-m 'not slow'" ]; @@ -65,11 +65,6 @@ buildPythonPackage rec { kill $REDIS_PID ''; - disabledTests = [ - # AssertionError - "test_command" - ]; - meta = with lib; { description = "Fake implementation of Redis API"; homepage = "https://github.com/dsoftwareinc/fakeredis-py";