From feabe463e6b7e9f142082332b468f3b379c7f0f6 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Sat, 25 Dec 2021 11:04:57 -0800 Subject: [PATCH] python3Packages.pyro5: disable local network tests on darwin --- pkgs/development/python-modules/pyro5/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pyro5/default.nix b/pkgs/development/python-modules/pyro5/default.nix index 398b69643b7f..4e56bb49f5fd 100644 --- a/pkgs/development/python-modules/pyro5/default.nix +++ b/pkgs/development/python-modules/pyro5/default.nix @@ -1,6 +1,7 @@ { buildPythonPackage , fetchPypi , lib +, stdenv , serpent , pythonOlder , pytestCheckHook @@ -22,7 +23,10 @@ buildPythonPackage rec { checkInputs = [ pytestCheckHook ]; # ignore network related tests, which fail in sandbox - disabledTests = [ "StartNSfunc" "Broadcast" "GetIP" "TestNameServer" "TestBCSetup" ]; + disabledTests = [ "StartNSfunc" "Broadcast" "GetIP" "TestNameServer" "TestBCSetup" ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + "Socket" + ]; meta = with lib; { description = "Distributed object middleware for Python (RPC)";