diff --git a/pkgs/development/python-modules/aioesphomeapi/default.nix b/pkgs/development/python-modules/aioesphomeapi/default.nix index c731241cdba1..c23132d65d2e 100644 --- a/pkgs/development/python-modules/aioesphomeapi/default.nix +++ b/pkgs/development/python-modules/aioesphomeapi/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, fetchFromGitHub, @@ -59,6 +60,10 @@ buildPythonPackage rec { pytestCheckHook ]; + # Lack of network sandboxing leads to conflicting listeners when testing + # this package e.g. in nixpkgs-review on the two suppoted python package sets. + doCheck = !stdenv.hostPlatform.isDarwin; + disabledTestPaths = [ # benchmarking requires pytest-codespeed "tests/benchmarks"