From 97b2d61dae93e731d3ead10e99fc1f5f556a9371 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 27 Oct 2023 14:52:55 +0200 Subject: [PATCH] python311Packages.zigpy-cc: disable tests on python3.11 They use asynctest, which is incompatible with python 3.11. --- pkgs/development/python-modules/zigpy-cc/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/zigpy-cc/default.nix b/pkgs/development/python-modules/zigpy-cc/default.nix index 54c750d94bbf..505e152f087b 100644 --- a/pkgs/development/python-modules/zigpy-cc/default.nix +++ b/pkgs/development/python-modules/zigpy-cc/default.nix @@ -32,6 +32,8 @@ buildPythonPackage rec { zigpy ]; + doCheck = pythonOlder "3.11"; # asynctest is unsupported on python3.11 + nativeCheckInputs = [ asynctest pytest-asyncio