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; {