From 7191177bbb6f2e746d899c2359b352825432040b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 9 Mar 2024 13:43:51 +0100 Subject: [PATCH] python311Packages.aiohttp: test with pytest_7 The test suite regressed with pytest 8. Let's give them more time to adapt. --- pkgs/development/python-modules/aiohttp/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/aiohttp/default.nix b/pkgs/development/python-modules/aiohttp/default.nix index 11eb19010fdd..823a0f9e14b7 100644 --- a/pkgs/development/python-modules/aiohttp/default.nix +++ b/pkgs/development/python-modules/aiohttp/default.nix @@ -22,6 +22,7 @@ , gunicorn , pytest-mock , pytestCheckHook +, pytest_7 , python-on-whales , re-assert , trustme @@ -82,7 +83,7 @@ buildPythonPackage rec { freezegun gunicorn pytest-mock - pytestCheckHook + (pytestCheckHook.override { pytest = pytest_7; }) python-on-whales re-assert ] ++ lib.optionals (!(stdenv.isDarwin && stdenv.isAarch64)) [