From 9619366cdfd8654535f781ab283aa44d2d1506d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 23 Jun 2024 01:04:17 +0200 Subject: [PATCH] python311Packages.niapy: test with pytest7 Fails with pytest8 https://redirect.github.com/NiaOrg/NiaPy/issues/510 and patch doesn't cleanly apply https://redirect.github.com/NiaOrg/NiaPy/pull/512 --- pkgs/development/python-modules/niapy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/niapy/default.nix b/pkgs/development/python-modules/niapy/default.nix index 60308f21573f..17457f8552cd 100644 --- a/pkgs/development/python-modules/niapy/default.nix +++ b/pkgs/development/python-modules/niapy/default.nix @@ -7,7 +7,7 @@ openpyxl, pandas, poetry-core, - pytestCheckHook, + pytest7CheckHook, pythonOlder, }: @@ -34,7 +34,7 @@ buildPythonPackage rec { pandas ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ pytest7CheckHook ]; pythonImportsCheck = [ "niapy" ];