From 04a8c7b34a8c4f3cf2406ca8b3d9f2bbd7b391f7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 23 Feb 2022 10:24:32 +0100 Subject: [PATCH] python3Packages.requests-cache: 0.9.1 -> 0.9.3 --- .../python-modules/requests-cache/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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"