python311Packages.kombu: test with pytest 7

This commit is contained in:
Martin Weinelt 2024-03-24 23:41:47 +01:00
parent 95f00d82f7
commit 38edccbcb4
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -15,7 +15,7 @@
, pycurl , pycurl
, pymongo , pymongo
#, pyro4 #, pyro4
, pytestCheckHook , pytest7CheckHook
, pythonOlder , pythonOlder
, pyyaml , pyyaml
, redis , redis
@ -89,14 +89,9 @@ buildPythonPackage rec {
nativeCheckInputs = [ nativeCheckInputs = [
case case
hypothesis hypothesis
pytestCheckHook pytest7CheckHook
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
pytestFlagsArray = [
# pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release.
"-W" "ignore::pytest.PytestRemovedIn8Warning"
];
pythonImportsCheck = [ pythonImportsCheck = [
"kombu" "kombu"
]; ];