Merge pull request #108269 from SuperSandro2000/pyro3-darwin

pythonPackages.Pyro4: Fix hanging tests on darwin

authored by Sandro and committed by GitHub ed6af937 88d20285

+4 -3
+4 -3
pkgs/development/python-modules/pyro4/default.nix
··· 37 37 preCheck = "PYTHONPATH=tests/PyroTests:$PYTHONPATH"; 38 38 39 39 # ignore network related tests, which fail in sandbox 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" ]; 40 + pytestFlagsArray = [ "--ignore=tests/PyroTests/test_naming.py" ]; 43 41 44 42 disabledTests = [ 45 43 "StartNSfunc" 46 44 "Broadcast" 47 45 "GetIP" 48 46 ]; 47 + 48 + # otherwise the tests hang the build 49 + __darwinAllowLocalNetworking = true; 49 50 50 51 meta = with stdenv.lib; { 51 52 description = "Distributed object middleware for Python (RPC)";