From 145e24ab9aae370c217b327062355d3103508455 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sun, 9 Jul 2023 16:34:22 -0700 Subject: [PATCH 1/9] python310Packages.influxdb: allow binding to localhost on darwin --- pkgs/development/python-modules/influxdb/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/influxdb/default.nix b/pkgs/development/python-modules/influxdb/default.nix index a44a2e300429..e2bacd522922 100644 --- a/pkgs/development/python-modules/influxdb/default.nix +++ b/pkgs/development/python-modules/influxdb/default.nix @@ -31,6 +31,8 @@ buildPythonPackage rec { msgpack ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ pytestCheckHook requests-mock From 598cabfc17b3688a9c7f825bad13f6d121ddbc07 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sun, 9 Jul 2023 16:35:49 -0700 Subject: [PATCH 2/9] python310Packages.mechanicalsoup: allow binding to localhost on darwin --- pkgs/development/python-modules/mechanicalsoup/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/mechanicalsoup/default.nix b/pkgs/development/python-modules/mechanicalsoup/default.nix index 114efb9e0c82..93b61a40972d 100644 --- a/pkgs/development/python-modules/mechanicalsoup/default.nix +++ b/pkgs/development/python-modules/mechanicalsoup/default.nix @@ -39,6 +39,8 @@ buildPythonPackage rec { requests ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ pytest-httpbin pytest-mock From 38145de4f399b3d7e94b966c910f91ec5c9f0f13 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sun, 9 Jul 2023 16:37:15 -0700 Subject: [PATCH 3/9] python310Packages.pyrainbird: allow binding to localhost on darwin --- pkgs/development/python-modules/pyrainbird/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/pyrainbird/default.nix b/pkgs/development/python-modules/pyrainbird/default.nix index ef5da81ddcaa..79943bca137f 100644 --- a/pkgs/development/python-modules/pyrainbird/default.nix +++ b/pkgs/development/python-modules/pyrainbird/default.nix @@ -52,6 +52,8 @@ buildPythonPackage rec { requests ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ freezegun parameterized From 02963742b86a1ce7cfcf897e449fecdab436fbc7 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sun, 9 Jul 2023 16:41:15 -0700 Subject: [PATCH 4/9] python310Packages.python-jenkins: allow binding to localhost on darwin --- pkgs/development/python-modules/python-jenkins/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/python-jenkins/default.nix b/pkgs/development/python-modules/python-jenkins/default.nix index 7c1f8e720f5b..07044b9499bb 100644 --- a/pkgs/development/python-modules/python-jenkins/default.nix +++ b/pkgs/development/python-modules/python-jenkins/default.nix @@ -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 From 7ac2d7d454669221e9ec1dfd8d073e1b06cafc88 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sun, 9 Jul 2023 17:41:57 -0700 Subject: [PATCH 5/9] python310Packages.qcodes: allow binding to localhost on darwin --- pkgs/development/python-modules/qcodes/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/qcodes/default.nix b/pkgs/development/python-modules/qcodes/default.nix index 46e39fc4fcf8..783194fdaa91 100644 --- a/pkgs/development/python-modules/qcodes/default.nix +++ b/pkgs/development/python-modules/qcodes/default.nix @@ -100,6 +100,8 @@ buildPythonPackage rec { ]; }; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ pytestCheckHook deepdiff From 31e4604256a93a15e64a9be66afca2be46af82b2 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sun, 9 Jul 2023 17:45:15 -0700 Subject: [PATCH 6/9] python310Packages.flower: allow binding to localhost on darwin --- pkgs/development/python-modules/flower/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/flower/default.nix b/pkgs/development/python-modules/flower/default.nix index 0d736dac49e7..54da81e19e33 100644 --- a/pkgs/development/python-modules/flower/default.nix +++ b/pkgs/development/python-modules/flower/default.nix @@ -33,6 +33,8 @@ buildPythonPackage rec { tornado ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ pytestCheckHook ]; From 553f395f983f442f6046b018c6b3008ba5bd6dd2 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sun, 9 Jul 2023 19:39:55 -0700 Subject: [PATCH 7/9] python310Packages.softlayer: allow binding to localhost on darwin --- pkgs/development/python-modules/softlayer/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/softlayer/default.nix b/pkgs/development/python-modules/softlayer/default.nix index 4ae4e85111b2..cd49c0cbc55c 100644 --- a/pkgs/development/python-modules/softlayer/default.nix +++ b/pkgs/development/python-modules/softlayer/default.nix @@ -49,6 +49,8 @@ buildPythonPackage rec { urllib3 ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ mock pytestCheckHook From f041751506b24a374f946a67c9f06036dc2dd248 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sun, 9 Jul 2023 19:48:51 -0700 Subject: [PATCH 8/9] python310Packages.google-nest-sdm: allow binding to localhost on darwin --- pkgs/development/python-modules/google-nest-sdm/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/google-nest-sdm/default.nix b/pkgs/development/python-modules/google-nest-sdm/default.nix index 5d2f1f1af3db..e62472f6bb2a 100644 --- a/pkgs/development/python-modules/google-nest-sdm/default.nix +++ b/pkgs/development/python-modules/google-nest-sdm/default.nix @@ -37,6 +37,8 @@ buildPythonPackage rec { requests-oauthlib ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ coreutils pytest-aiohttp From e63a9e7fedc49416e6bfce4ad24698aa14c49854 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sun, 9 Jul 2023 19:51:43 -0700 Subject: [PATCH 9/9] python310Packages.pytest-base-url: allow binding to localhost on darwin --- pkgs/development/python-modules/pytest-base-url/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/pytest-base-url/default.nix b/pkgs/development/python-modules/pytest-base-url/default.nix index f34c6c8c3f4c..4110a0191f3c 100644 --- a/pkgs/development/python-modules/pytest-base-url/default.nix +++ b/pkgs/development/python-modules/pytest-base-url/default.nix @@ -35,6 +35,8 @@ buildPythonPackage rec { requests ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ pytestCheckHook pytest-localserver