diff --git a/pkgs/development/python-modules/aiohttp/default.nix b/pkgs/development/python-modules/aiohttp/default.nix index 114077681c91..75449c9f625c 100644 --- a/pkgs/development/python-modules/aiohttp/default.nix +++ b/pkgs/development/python-modules/aiohttp/default.nix @@ -25,7 +25,6 @@ , freezegun , gunicorn , pytest-mock -, pytest-xdist , pytestCheckHook , re-assert , trustme @@ -81,12 +80,12 @@ buildPythonPackage rec { idna-ssl ]; + # NOTE: pytest-xdist cannot be added because it is flaky. See https://github.com/NixOS/nixpkgs/issues/230597 for more info. nativeCheckInputs = [ async_generator freezegun gunicorn pytest-mock - pytest-xdist pytestCheckHook re-assert ] ++ lib.optionals (!(stdenv.isDarwin && stdenv.isAarch64)) [