From 41aace96d25b87e0f5ae4985045e1f5870ea0509 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 24 Mar 2024 21:05:24 +0100 Subject: [PATCH] python311PAckages.detect-secrets: test with pytest 7 --- .../python-modules/detect-secrets/default.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/detect-secrets/default.nix b/pkgs/development/python-modules/detect-secrets/default.nix index 589df5624778..a50b6dbd810c 100644 --- a/pkgs/development/python-modules/detect-secrets/default.nix +++ b/pkgs/development/python-modules/detect-secrets/default.nix @@ -5,7 +5,7 @@ , mock , pkgs , pyahocorasick -, pytestCheckHook +, pytest7CheckHook , pythonOlder , pyyaml , requests @@ -37,17 +37,12 @@ buildPythonPackage rec { nativeCheckInputs = [ mock - pytestCheckHook + pytest7CheckHook responses unidiff pkgs.gitMinimal ]; - pytestFlagsArray = [ - # Pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. - "-W" "ignore::pytest.PytestRemovedIn8Warning" - ]; - preCheck = '' export HOME=$(mktemp -d); '';