diff --git a/pkgs/development/python-modules/requests-cache/default.nix b/pkgs/development/python-modules/requests-cache/default.nix index adaf824d3d92..6f11559aad4c 100644 --- a/pkgs/development/python-modules/requests-cache/default.nix +++ b/pkgs/development/python-modules/requests-cache/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "requests-cache"; - version = "0.9.1"; + version = "0.9.3"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -29,8 +29,7 @@ buildPythonPackage rec { owner = "reclosedev"; repo = "requests-cache"; rev = "v${version}"; - sha256 = "sha256-MZ3N0zbo745erF52D6DqOEb4OPpXFwSsemi0z6Do02c= -"; + hash = "sha256-9eA2fx+j6WLbEkLaemwEuoWLUWlS0iF5AkR2YienN5g="; }; nativeBuildInputs = [ @@ -56,6 +55,10 @@ buildPythonPackage rec { timeout-decorator ]; + preCheck = '' + export HOME=$(mktemp -d); + ''; + pytestFlagsArray = [ # Integration tests require local DBs "tests/unit"