git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #108253 from SuperSandro2000/pyro3-darwin
92a391cBenjamin Hipple
pkgs/development/python-modules/pyro4/default.nix+7−2
@@ -32,10 +32,15 @@ buildPythonPackage rec {
32 ];
32 ];
33
33
34 checkInputs = [ pytestCheckHook ];
34 checkInputs = [ pytestCheckHook ];
35+
35 # add testsupport.py to PATH
36 # add testsupport.py to PATH
36 preCheck = "PYTHONPATH=tests/PyroTests:$PYTHONPATH";
37 preCheck = "PYTHONPATH=tests/PyroTests:$PYTHONPATH";
38+
37 # ignore network related tests, which fail in sandbox
39 # ignore network related tests, which fail in sandbox
38− pytestFlagsArray = [ "--ignore=tests/PyroTests/test_naming.py" ];
40+ pytestFlagsArray = [ "--ignore=tests/PyroTests/test_naming.py" ]
41+ # test hangs on darwin with sandbox enabled
42+ ++ lib.optionals stdenv.isDarwin [ "--ignore=tests/PyroTests/test_daemon.py" ];
43+
39 disabledTests = [
44 disabledTests = [
40 "StartNSfunc"
45 "StartNSfunc"
41 "Broadcast"
46 "Broadcast"
@@ -47,5 +52,5 @@ buildPythonPackage rec {
47 homepage = "https://github.com/irmen/Pyro4";
52 homepage = "https://github.com/irmen/Pyro4";
48 license = licenses.mit;
53 license = licenses.mit;
49 maintainers = with maintainers; [ prusnak ];
54 maintainers = with maintainers; [ prusnak ];
50− };
55+ };
51}
56}