Unverified Commit f8166303 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

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.
parent a3848316
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
{
  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"