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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user