Merge pull request #242574 from tjni/darwin-allow-networking

treewide: allow binding to localhost on darwin
This commit is contained in:
Nick Cao
2023-07-11 08:52:59 +08:00
committed by GitHub
9 changed files with 18 additions and 0 deletions
@@ -33,6 +33,8 @@ buildPythonPackage rec {
tornado
];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
pytestCheckHook
];
@@ -37,6 +37,8 @@ buildPythonPackage rec {
requests-oauthlib
];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
coreutils
pytest-aiohttp
@@ -31,6 +31,8 @@ buildPythonPackage rec {
msgpack
];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
pytestCheckHook
requests-mock
@@ -39,6 +39,8 @@ buildPythonPackage rec {
requests
];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
pytest-httpbin
pytest-mock
@@ -52,6 +52,8 @@ buildPythonPackage rec {
requests
];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
freezegun
parameterized
@@ -35,6 +35,8 @@ buildPythonPackage rec {
requests
];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
pytestCheckHook
pytest-localserver
@@ -33,6 +33,8 @@ buildPythonPackage rec {
buildInputs = [ mock ];
propagatedBuildInputs = [ pbr pyyaml setuptools six multi_key_dict requests ];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [ stestr testscenarios requests-mock ];
checkPhase = ''
# Skip tests that fail due to setuptools>=66.0.0 rejecting PEP 440
@@ -100,6 +100,8 @@ buildPythonPackage rec {
];
};
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
pytestCheckHook
deepdiff
@@ -49,6 +49,8 @@ buildPythonPackage rec {
urllib3
];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
mock
pytestCheckHook