From f7e880ae171743fbbf2aebd65384445f5408de35 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Fri, 21 Feb 2025 22:37:49 +0100 Subject: [PATCH 1/3] python313Packages.aiohttp-jinja2: allow networking on darwin --- pkgs/development/python-modules/aiohttp-jinja2/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/aiohttp-jinja2/default.nix b/pkgs/development/python-modules/aiohttp-jinja2/default.nix index 580db1e840dd..080e154ef496 100644 --- a/pkgs/development/python-modules/aiohttp-jinja2/default.nix +++ b/pkgs/development/python-modules/aiohttp-jinja2/default.nix @@ -34,6 +34,8 @@ buildPythonPackage rec { pytestCheckHook ]; + __darwinAllowLocalNetworking = true; + postPatch = '' substituteInPlace pytest.ini \ --replace-fail "--cov=aiohttp_jinja2/ --cov=tests/ --cov-report term" "" From e4019cb10426f28fb455a7d4980fcb99fc3f07b1 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Fri, 21 Feb 2025 22:37:49 +0100 Subject: [PATCH 2/3] python313Packages.aiowaqi: allow networking on darwin --- pkgs/development/python-modules/aiowaqi/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/aiowaqi/default.nix b/pkgs/development/python-modules/aiowaqi/default.nix index 17f9744bfb08..773c9206b919 100644 --- a/pkgs/development/python-modules/aiowaqi/default.nix +++ b/pkgs/development/python-modules/aiowaqi/default.nix @@ -45,6 +45,8 @@ buildPythonPackage rec { syrupy ]; + __darwinAllowLocalNetworking = true; + pythonImportsCheck = [ "aiowaqi" ]; disabledTests = [ From 5cbf60a55949b3892db90ec84fbaf3775ee24130 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Fri, 21 Feb 2025 22:37:50 +0100 Subject: [PATCH 3/3] python313Packages.aioweenect: allow networking on darwin --- pkgs/development/python-modules/aioweenect/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/aioweenect/default.nix b/pkgs/development/python-modules/aioweenect/default.nix index efa213604ee4..f1074a83ed59 100644 --- a/pkgs/development/python-modules/aioweenect/default.nix +++ b/pkgs/development/python-modules/aioweenect/default.nix @@ -41,6 +41,8 @@ buildPythonPackage rec { pytestCheckHook ]; + __darwinAllowLocalNetworking = true; + pythonImportsCheck = [ "aioweenect" ]; meta = with lib; {