diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-01-03 06:39:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-03 06:39:41 +0100 |
commit | ed6af9373b1edbb73ed21640dfe1f5449ad17e0f (patch) | |
tree | 7d9e0821ed7580a472fec24c6d16c2e13859f34b /pkgs/development/python-modules | |
parent | 88d2028549d0248e3415539fc0b38fc712b3c076 (diff) | |
parent | b17fca4a0f7baeeda65901afeeb8963538589e9c (diff) | |
download | nixpkgs-ed6af9373b1edbb73ed21640dfe1f5449ad17e0f.tar nixpkgs-ed6af9373b1edbb73ed21640dfe1f5449ad17e0f.tar.gz nixpkgs-ed6af9373b1edbb73ed21640dfe1f5449ad17e0f.tar.bz2 nixpkgs-ed6af9373b1edbb73ed21640dfe1f5449ad17e0f.tar.lz nixpkgs-ed6af9373b1edbb73ed21640dfe1f5449ad17e0f.tar.xz nixpkgs-ed6af9373b1edbb73ed21640dfe1f5449ad17e0f.tar.zst nixpkgs-ed6af9373b1edbb73ed21640dfe1f5449ad17e0f.zip |
Merge pull request #108269 from SuperSandro2000/pyro3-darwin
pythonPackages.Pyro4: Fix hanging tests on darwin
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/pyro4/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/pyro4/default.nix b/pkgs/development/python-modules/pyro4/default.nix index c5211162c65..508722e70fb 100644 --- a/pkgs/development/python-modules/pyro4/default.nix +++ b/pkgs/development/python-modules/pyro4/default.nix @@ -37,9 +37,7 @@ buildPythonPackage rec { preCheck = "PYTHONPATH=tests/PyroTests:$PYTHONPATH"; # ignore network related tests, which fail in sandbox - pytestFlagsArray = [ "--ignore=tests/PyroTests/test_naming.py" ] - # test hangs on darwin with sandbox enabled - ++ lib.optionals stdenv.isDarwin [ "--ignore=tests/PyroTests/test_daemon.py" ]; + pytestFlagsArray = [ "--ignore=tests/PyroTests/test_naming.py" ]; disabledTests = [ "StartNSfunc" @@ -47,6 +45,9 @@ buildPythonPackage rec { "GetIP" ]; + # otherwise the tests hang the build + __darwinAllowLocalNetworking = true; + meta = with stdenv.lib; { description = "Distributed object middleware for Python (RPC)"; homepage = "https://github.com/irmen/Pyro4"; |