From a0fb97d44ff6340bac497aaa97f5c38aa19a6790 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 7 Aug 2025 16:11:24 +0200 Subject: [PATCH] python3Packages.makefun: downgrade pytest Uses undeclared async functions, which breaks with pytest 8.4. --- pkgs/development/python-modules/makefun/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/makefun/default.nix b/pkgs/development/python-modules/makefun/default.nix index 2a234b829c68..2929f361f5c2 100644 --- a/pkgs/development/python-modules/makefun/default.nix +++ b/pkgs/development/python-modules/makefun/default.nix @@ -8,7 +8,7 @@ setuptools-scm, # tests - pytestCheckHook, + pytest7CheckHook, }: buildPythonPackage rec { @@ -31,7 +31,7 @@ buildPythonPackage rec { setuptools-scm ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ pytest7CheckHook ]; pythonImportsCheck = [ "makefun" ];