pythonPackages.Pyro4: Fix hanging tests on darwin
This commit is contained in:
parent
f224edb877
commit
b17fca4a0f
|
@ -37,9 +37,7 @@ buildPythonPackage rec {
|
||||||
preCheck = "PYTHONPATH=tests/PyroTests:$PYTHONPATH";
|
preCheck = "PYTHONPATH=tests/PyroTests:$PYTHONPATH";
|
||||||
|
|
||||||
# ignore network related tests, which fail in sandbox
|
# ignore network related tests, which fail in sandbox
|
||||||
pytestFlagsArray = [ "--ignore=tests/PyroTests/test_naming.py" ]
|
pytestFlagsArray = [ "--ignore=tests/PyroTests/test_naming.py" ];
|
||||||
# test hangs on darwin with sandbox enabled
|
|
||||||
++ lib.optionals stdenv.isDarwin [ "--ignore=tests/PyroTests/test_daemon.py" ];
|
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
"StartNSfunc"
|
"StartNSfunc"
|
||||||
|
@ -47,6 +45,9 @@ buildPythonPackage rec {
|
||||||
"GetIP"
|
"GetIP"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# otherwise the tests hang the build
|
||||||
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Distributed object middleware for Python (RPC)";
|
description = "Distributed object middleware for Python (RPC)";
|
||||||
homepage = "https://github.com/irmen/Pyro4";
|
homepage = "https://github.com/irmen/Pyro4";
|
||||||
|
|
Loading…
Reference in New Issue