various: make packages build with darwin sandbox (#374982)

This commit is contained in:
Vladimír Čunát
2025-02-02 12:56:48 +01:00
4 changed files with 12 additions and 0 deletions
+3
View File
@@ -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";