From 7ffdd3634348e19978fbb3c9086c7c6fc7ff0979 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 9 Aug 2025 18:28:10 +0200 Subject: [PATCH] python3Packages.pybalboa: fix tests --- pkgs/development/python-modules/pybalboa/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pybalboa/default.nix b/pkgs/development/python-modules/pybalboa/default.nix index e00186809690..5ad085c44975 100644 --- a/pkgs/development/python-modules/pybalboa/default.nix +++ b/pkgs/development/python-modules/pybalboa/default.nix @@ -4,7 +4,7 @@ fetchFromGitHub, poetry-core, poetry-dynamic-versioning, - pytest-asyncio, + pytest-asyncio_0, pytestCheckHook, }: @@ -27,10 +27,15 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - pytest-asyncio + pytest-asyncio_0 pytestCheckHook ]; + disabledTests = [ + # async def functions are not natively supported. + "test_cancel_task" + ]; + pythonImportsCheck = [ "pybalboa" ]; meta = with lib; {