python311PAckages.detect-secrets: test with pytest 7

This commit is contained in:
Martin Weinelt 2024-03-24 21:05:24 +01:00
parent 312523f9f5
commit 41aace96d2
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -5,7 +5,7 @@
, mock , mock
, pkgs , pkgs
, pyahocorasick , pyahocorasick
, pytestCheckHook , pytest7CheckHook
, pythonOlder , pythonOlder
, pyyaml , pyyaml
, requests , requests
@ -37,17 +37,12 @@ buildPythonPackage rec {
nativeCheckInputs = [ nativeCheckInputs = [
mock mock
pytestCheckHook pytest7CheckHook
responses responses
unidiff unidiff
pkgs.gitMinimal pkgs.gitMinimal
]; ];
pytestFlagsArray = [
# Pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release.
"-W" "ignore::pytest.PytestRemovedIn8Warning"
];
preCheck = '' preCheck = ''
export HOME=$(mktemp -d); export HOME=$(mktemp -d);
''; '';