python3Packages.aioesphomeapi: disable tests on darwin

Due to the lack of network sandboxing on darwin parallel builds of this
package, e.g. during nixpkgs-review, leads to conflicting socket binds,
which makes one of the packages fail.

This issues stretches over multiple files, so that it is tedious to
disasble these tests selectivly.
This commit is contained in:
Martin Weinelt
2025-10-19 15:24:48 +02:00
parent a3848316a9
commit f816630345
@@ -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"