From 612a4ba51fb02e5e61d556bdfa67561c9e000600 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 11 Apr 2022 22:43:50 +0200 Subject: [PATCH] python310Packages.pure-python-adb: disable tests All tests result in RuntimeError. Make the pythonImportsCheck for the async parts conditional on doCheck, as checkInput only works when doCheck is true. --- pkgs/development/python-modules/pure-python-adb/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/pure-python-adb/default.nix b/pkgs/development/python-modules/pure-python-adb/default.nix index d6e8bbdf683..cb054feaf10 100644 --- a/pkgs/development/python-modules/pure-python-adb/default.nix +++ b/pkgs/development/python-modules/pure-python-adb/default.nix @@ -23,6 +23,8 @@ buildPythonPackage rec { ]; }; + doCheck = pythonOlder "3.10"; # all tests result in RuntimeError on 3.10 + checkInputs = [ pytestCheckHook ] @@ -30,6 +32,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "ppadb.client" + ] ++ lib.optionals doCheck [ "ppadb.client_async" ];