various: make packages build with darwin sandbox (#374982)
This commit is contained in:
@@ -146,6 +146,9 @@ py.pkgs.buildPythonApplication rec {
|
||||
rm $out/nix-support/propagated-build-inputs
|
||||
'';
|
||||
|
||||
# tests/unit/customizations/sso/test_utils.py uses sockets
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
pytestFlagsArray = [
|
||||
"-Wignore::DeprecationWarning"
|
||||
];
|
||||
|
||||
@@ -56,6 +56,9 @@ buildPythonPackage rec {
|
||||
"tests/unit/interceptors/"
|
||||
];
|
||||
|
||||
# Tests use sockets
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "HTTP traffic mocking and testing";
|
||||
homepage = "https://github.com/h2non/pook";
|
||||
|
||||
@@ -66,6 +66,9 @@ buildPythonPackage rec {
|
||||
"test_xvfb"
|
||||
];
|
||||
|
||||
# Tests use sockets
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Services plugin for pytest testing framework";
|
||||
homepage = "https://github.com/pytest-dev/pytest-services";
|
||||
|
||||
@@ -33,6 +33,9 @@ buildPythonPackage rec {
|
||||
"test_service_port"
|
||||
];
|
||||
|
||||
# Tests use sockets
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Pylons/waitress";
|
||||
description = "Waitress WSGI server";
|
||||
|
||||
Reference in New Issue
Block a user