From 24ac7e12359a2137cec1e1aaf162bfab40f7a9be Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Tue, 4 Jan 2022 22:37:04 -0800 Subject: [PATCH] python310Packages.html5lib: use pytestCheckHook, disable tests --- pkgs/development/python-modules/html5lib/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/html5lib/default.nix b/pkgs/development/python-modules/html5lib/default.nix index 1172b0195132..08ea5a2b3e98 100644 --- a/pkgs/development/python-modules/html5lib/default.nix +++ b/pkgs/development/python-modules/html5lib/default.nix @@ -5,7 +5,7 @@ , webencodings , mock , pytest-expect -, pytestCheckHook_5 +, pytestCheckHook }: buildPythonPackage rec { @@ -22,10 +22,12 @@ buildPythonPackage rec { webencodings ]; + # latest release not compatible with pytest 6 + doCheck = false; checkInputs = [ mock pytest-expect - pytestCheckHook_5 + pytestCheckHook ]; meta = {