diff --git a/pkgs/development/python-modules/adguardhome/default.nix b/pkgs/development/python-modules/adguardhome/default.nix index 28af1269c180..5c32d588428f 100644 --- a/pkgs/development/python-modules/adguardhome/default.nix +++ b/pkgs/development/python-modules/adguardhome/default.nix @@ -42,6 +42,8 @@ buildPythonPackage rec { yarl ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ aresponses pytest-asyncio diff --git a/pkgs/development/python-modules/aio-geojson-client/default.nix b/pkgs/development/python-modules/aio-geojson-client/default.nix index ad0a641c35f5..22c59bd64d9d 100644 --- a/pkgs/development/python-modules/aio-geojson-client/default.nix +++ b/pkgs/development/python-modules/aio-geojson-client/default.nix @@ -31,6 +31,8 @@ buildPythonPackage rec { haversine ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ aresponses mock diff --git a/pkgs/development/python-modules/aio-geojson-generic-client/default.nix b/pkgs/development/python-modules/aio-geojson-generic-client/default.nix index 56e5f8475cbc..4ff502a2cf83 100644 --- a/pkgs/development/python-modules/aio-geojson-generic-client/default.nix +++ b/pkgs/development/python-modules/aio-geojson-generic-client/default.nix @@ -30,6 +30,8 @@ buildPythonPackage rec { pytz ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ aresponses pytest-asyncio diff --git a/pkgs/development/python-modules/aio-geojson-geonetnz-quakes/default.nix b/pkgs/development/python-modules/aio-geojson-geonetnz-quakes/default.nix index 90645327c046..f8daf10c3c1f 100644 --- a/pkgs/development/python-modules/aio-geojson-geonetnz-quakes/default.nix +++ b/pkgs/development/python-modules/aio-geojson-geonetnz-quakes/default.nix @@ -30,6 +30,8 @@ buildPythonPackage rec { pytz ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ aresponses pytest-asyncio diff --git a/pkgs/development/python-modules/aio-geojson-geonetnz-volcano/default.nix b/pkgs/development/python-modules/aio-geojson-geonetnz-volcano/default.nix index fed8b6374a7e..d97070df5907 100644 --- a/pkgs/development/python-modules/aio-geojson-geonetnz-volcano/default.nix +++ b/pkgs/development/python-modules/aio-geojson-geonetnz-volcano/default.nix @@ -31,6 +31,8 @@ buildPythonPackage rec { pytz ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ aresponses mock diff --git a/pkgs/development/python-modules/aio-geojson-nsw-rfs-incidents/default.nix b/pkgs/development/python-modules/aio-geojson-nsw-rfs-incidents/default.nix index b7c205179fd7..bf18c2bf184b 100644 --- a/pkgs/development/python-modules/aio-geojson-nsw-rfs-incidents/default.nix +++ b/pkgs/development/python-modules/aio-geojson-nsw-rfs-incidents/default.nix @@ -30,6 +30,8 @@ buildPythonPackage rec { pytz ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ aresponses pytest-asyncio diff --git a/pkgs/development/python-modules/aio-geojson-usgs-earthquakes/default.nix b/pkgs/development/python-modules/aio-geojson-usgs-earthquakes/default.nix index 1cb112583935..89a1fd75b8f2 100644 --- a/pkgs/development/python-modules/aio-geojson-usgs-earthquakes/default.nix +++ b/pkgs/development/python-modules/aio-geojson-usgs-earthquakes/default.nix @@ -30,6 +30,8 @@ buildPythonPackage rec { pytz ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ pytestCheckHook ]; diff --git a/pkgs/development/python-modules/aio-georss-client/default.nix b/pkgs/development/python-modules/aio-georss-client/default.nix index 6fb1ec42631b..9c3cda759039 100644 --- a/pkgs/development/python-modules/aio-georss-client/default.nix +++ b/pkgs/development/python-modules/aio-georss-client/default.nix @@ -35,6 +35,8 @@ buildPythonPackage rec { dateparser ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ aresponses mock diff --git a/pkgs/development/python-modules/aio-georss-gdacs/default.nix b/pkgs/development/python-modules/aio-georss-gdacs/default.nix index 3816b591544d..f55a42b5dd22 100644 --- a/pkgs/development/python-modules/aio-georss-gdacs/default.nix +++ b/pkgs/development/python-modules/aio-georss-gdacs/default.nix @@ -28,6 +28,8 @@ buildPythonPackage rec { dateparser ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ aresponses pytest-asyncio diff --git a/pkgs/development/python-modules/aiohttp-retry/default.nix b/pkgs/development/python-modules/aiohttp-retry/default.nix index bf3c251b4fb8..262fcef8e442 100644 --- a/pkgs/development/python-modules/aiohttp-retry/default.nix +++ b/pkgs/development/python-modules/aiohttp-retry/default.nix @@ -25,6 +25,8 @@ buildPythonPackage rec { aiohttp ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ pytest-aiohttp pytestCheckHook diff --git a/pkgs/development/python-modules/aiojobs/default.nix b/pkgs/development/python-modules/aiojobs/default.nix index 320593f79370..a3b982e22d5a 100644 --- a/pkgs/development/python-modules/aiojobs/default.nix +++ b/pkgs/development/python-modules/aiojobs/default.nix @@ -37,6 +37,8 @@ buildPythonPackage rec { async-timeout ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ pytestCheckHook pytest-aiohttp diff --git a/pkgs/development/python-modules/amqp/default.nix b/pkgs/development/python-modules/amqp/default.nix index bd834b9e1491..bad99ab8f02a 100644 --- a/pkgs/development/python-modules/amqp/default.nix +++ b/pkgs/development/python-modules/amqp/default.nix @@ -3,6 +3,7 @@ , case , fetchPypi , pytestCheckHook +, pytest-rerunfailures , pythonOlder , vine }: @@ -23,9 +24,12 @@ buildPythonPackage rec { vine ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ case pytestCheckHook + pytest-rerunfailures ]; disabledTests = [ diff --git a/pkgs/development/python-modules/asyncssh/default.nix b/pkgs/development/python-modules/asyncssh/default.nix index 3f52c3acd354..bdc436c8fdc4 100644 --- a/pkgs/development/python-modules/asyncssh/default.nix +++ b/pkgs/development/python-modules/asyncssh/default.nix @@ -58,6 +58,8 @@ buildPythonPackage rec { ]; }; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ openssh openssl diff --git a/pkgs/development/python-modules/curio/default.nix b/pkgs/development/python-modules/curio/default.nix index e067e134d04c..501cdd442ab9 100644 --- a/pkgs/development/python-modules/curio/default.nix +++ b/pkgs/development/python-modules/curio/default.nix @@ -26,13 +26,16 @@ buildPythonPackage rec { __darwinAllowLocalNetworking = true; disabledTests = [ - "test_aside_basic" # times out - "test_write_timeout" # flaky, does not always time out - "test_aside_cancel" # fails because modifies PYTHONPATH and cant find pytest - "test_ssl_outgoing" # touches network - "test_unix_echo" # socket bind error on hydra when built with other packages - "test_unix_ssl_server" # socket bind error on hydra when built with other packages - ]; + "test_aside_basic" # times out + "test_write_timeout" # flaky, does not always time out + "test_aside_cancel" # fails because modifies PYTHONPATH and cant find pytest + "test_ssl_outgoing" # touches network + "test_unix_echo" # socket bind error on hydra when built with other packages + "test_unix_ssl_server" # socket bind error on hydra when built with other packages + ] ++ lib.optionals stdenv.isDarwin [ + # connects to python.org:1, expects an OsError, hangs in the darwin sandbox + "test_create_bad_connection" + ]; pythonImportsCheck = [ "curio" ]; diff --git a/pkgs/development/python-modules/datadog/default.nix b/pkgs/development/python-modules/datadog/default.nix index d38279452317..fb3271af586f 100644 --- a/pkgs/development/python-modules/datadog/default.nix +++ b/pkgs/development/python-modules/datadog/default.nix @@ -34,6 +34,8 @@ buildPythonPackage rec { requests ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ click freezegun diff --git a/pkgs/development/python-modules/devolo-plc-api/default.nix b/pkgs/development/python-modules/devolo-plc-api/default.nix index d352925308cb..c6d5b7df2660 100644 --- a/pkgs/development/python-modules/devolo-plc-api/default.nix +++ b/pkgs/development/python-modules/devolo-plc-api/default.nix @@ -44,6 +44,8 @@ buildPythonPackage rec { zeroconf ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ pytest-asyncio pytest-httpx diff --git a/pkgs/development/python-modules/django-cacheops/default.nix b/pkgs/development/python-modules/django-cacheops/default.nix index 566eb06f5043..4c6c4e786ade 100644 --- a/pkgs/development/python-modules/django-cacheops/default.nix +++ b/pkgs/development/python-modules/django-cacheops/default.nix @@ -42,6 +42,8 @@ buildPythonPackage rec { six ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ pytestCheckHook pytest-django diff --git a/pkgs/development/python-modules/falcon/default.nix b/pkgs/development/python-modules/falcon/default.nix index 341d3c661506..b0880c384dba 100644 --- a/pkgs/development/python-modules/falcon/default.nix +++ b/pkgs/development/python-modules/falcon/default.nix @@ -45,6 +45,8 @@ buildPythonPackage rec { cython ]; + __darwinAllowLocalNetworking = true; + preCheck = '' export HOME=$TMPDIR cp -R tests examples $TMPDIR diff --git a/pkgs/development/python-modules/feedparser/default.nix b/pkgs/development/python-modules/feedparser/default.nix index 02396ec83431..7eaf65b371df 100644 --- a/pkgs/development/python-modules/feedparser/default.nix +++ b/pkgs/development/python-modules/feedparser/default.nix @@ -22,6 +22,8 @@ buildPythonPackage rec { sgmllib3k ]; + __darwinAllowLocalNetworking = true; + checkPhase = '' # Tests are failing # AssertionError: unexpected '~' char in declaration diff --git a/pkgs/development/python-modules/google-auth-httplib2/default.nix b/pkgs/development/python-modules/google-auth-httplib2/default.nix index e185a88858d5..c35297f6b5cf 100644 --- a/pkgs/development/python-modules/google-auth-httplib2/default.nix +++ b/pkgs/development/python-modules/google-auth-httplib2/default.nix @@ -27,6 +27,8 @@ buildPythonPackage rec { httplib2 ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ flask mock diff --git a/pkgs/development/python-modules/graphene-django/default.nix b/pkgs/development/python-modules/graphene-django/default.nix index 0e85af5045b2..3e9055157220 100644 --- a/pkgs/development/python-modules/graphene-django/default.nix +++ b/pkgs/development/python-modules/graphene-django/default.nix @@ -1,4 +1,5 @@ -{ lib +{ stdenv +, lib , buildPythonPackage , pythonAtLeast , pythonOlder @@ -61,11 +62,14 @@ buildPythonPackage rec { ]; disabledTests = lib.optionals (pythonAtLeast "3.11") [ - # Pèython 3.11 support, https://github.com/graphql-python/graphene-django/pull/1365 + # Python 3.11 support, https://github.com/graphql-python/graphene-django/pull/1365 "test_django_objecttype_convert_choices_enum_naming_collisions" "test_django_objecttype_choices_custom_enum_name" "test_django_objecttype_convert_choices_enum_list" "test_schema_representation" + ] ++ lib.optionals stdenv.isDarwin [ + # this test touches files in the "/" directory and fails in darwin sandbox + "test_should_filepath_convert_string" ]; meta = with lib; { diff --git a/pkgs/development/python-modules/httplib2/default.nix b/pkgs/development/python-modules/httplib2/default.nix index 99dd53ddd0a9..c201bc3126c8 100644 --- a/pkgs/development/python-modules/httplib2/default.nix +++ b/pkgs/development/python-modules/httplib2/default.nix @@ -26,6 +26,10 @@ buildPythonPackage rec { hash = "sha256-1Pl+l28J7crfO2UY/9/D019IzOHWOwjR+UvVEHICTqU="; }; + postPatch = '' + sed -i "/--cov/d" setup.cfg + ''; + propagatedBuildInputs = [ pyparsing ]; @@ -40,13 +44,11 @@ buildPythonPackage rec { pytestCheckHook ]; + __darwinAllowLocalNetworking = true; + # Don't run tests for older Pythons doCheck = pythonAtLeast "3.9"; - postPatch = '' - sed -i "/--cov/d" setup.cfg - ''; - disabledTests = [ # ValueError: Unable to load PEM file. # https://github.com/httplib2/httplib2/issues/192#issuecomment-993165140 diff --git a/pkgs/development/python-modules/httpx-socks/default.nix b/pkgs/development/python-modules/httpx-socks/default.nix index 996db8ec1b30..992ddf1c6932 100644 --- a/pkgs/development/python-modules/httpx-socks/default.nix +++ b/pkgs/development/python-modules/httpx-socks/default.nix @@ -54,6 +54,8 @@ buildPythonPackage rec { ]; }; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ flask hypercorn diff --git a/pkgs/development/python-modules/moto/default.nix b/pkgs/development/python-modules/moto/default.nix index b029f9cad44e..c30fc5311d04 100644 --- a/pkgs/development/python-modules/moto/default.nix +++ b/pkgs/development/python-modules/moto/default.nix @@ -79,6 +79,8 @@ buildPythonPackage rec { xmltodict ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ freezegun pytestCheckHook diff --git a/pkgs/development/python-modules/nose2/default.nix b/pkgs/development/python-modules/nose2/default.nix index b3dfdda218f3..648d954be7d0 100644 --- a/pkgs/development/python-modules/nose2/default.nix +++ b/pkgs/development/python-modules/nose2/default.nix @@ -24,6 +24,8 @@ buildPythonPackage rec { six ]; + __darwinAllowLocalNetworking = true; + checkPhase = '' ${python.interpreter} -m unittest ''; diff --git a/pkgs/development/python-modules/nvchecker/default.nix b/pkgs/development/python-modules/nvchecker/default.nix index 20802a73176f..ca327c3e54e0 100644 --- a/pkgs/development/python-modules/nvchecker/default.nix +++ b/pkgs/development/python-modules/nvchecker/default.nix @@ -49,6 +49,8 @@ buildPythonPackage rec { tomli ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ flaky pytest-asyncio diff --git a/pkgs/development/python-modules/prometheus-client/default.nix b/pkgs/development/python-modules/prometheus-client/default.nix index 9a9c2f7cce18..f86e0bbc3238 100644 --- a/pkgs/development/python-modules/prometheus-client/default.nix +++ b/pkgs/development/python-modules/prometheus-client/default.nix @@ -19,6 +19,8 @@ buildPythonPackage rec { hash = "sha256-0qh6OorIIs3WfneZavzwTTZFwIRXCJzezks/qihu8xo="; }; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ pytestCheckHook ]; diff --git a/pkgs/development/python-modules/pycurl/default.nix b/pkgs/development/python-modules/pycurl/default.nix index 45e5d8f13a15..cacb67496c8c 100644 --- a/pkgs/development/python-modules/pycurl/default.nix +++ b/pkgs/development/python-modules/pycurl/default.nix @@ -46,6 +46,8 @@ buildPythonPackage rec { curl ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ bottle pytestCheckHook diff --git a/pkgs/development/python-modules/pyquery/default.nix b/pkgs/development/python-modules/pyquery/default.nix index 4e3b1442ee31..699bcd0fbc59 100644 --- a/pkgs/development/python-modules/pyquery/default.nix +++ b/pkgs/development/python-modules/pyquery/default.nix @@ -33,6 +33,8 @@ buildPythonPackage rec { lxml ]; + __darwinAllowLocalNetworking = true; + pythonImportsCheck = [ "pyquery" ]; checkInputs = [ diff --git a/pkgs/development/python-modules/pyro5/default.nix b/pkgs/development/python-modules/pyro5/default.nix index 7c469595ab74..93ea78d692c8 100644 --- a/pkgs/development/python-modules/pyro5/default.nix +++ b/pkgs/development/python-modules/pyro5/default.nix @@ -24,6 +24,8 @@ buildPythonPackage rec { serpent ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ pytestCheckHook ]; diff --git a/pkgs/development/python-modules/pytest-recording/default.nix b/pkgs/development/python-modules/pytest-recording/default.nix index fe68e9ee46b0..87c0e8d33a02 100644 --- a/pkgs/development/python-modules/pytest-recording/default.nix +++ b/pkgs/development/python-modules/pytest-recording/default.nix @@ -33,6 +33,8 @@ buildPythonPackage rec { attrs ]; + __darwinAllowLocalNetworking = true; + checkInputs = [ pytestCheckHook pytest-httpbin diff --git a/pkgs/development/python-modules/pytest-remotedata/default.nix b/pkgs/development/python-modules/pytest-remotedata/default.nix index 544a2e340079..bc8c89caacc1 100644 --- a/pkgs/development/python-modules/pytest-remotedata/default.nix +++ b/pkgs/development/python-modules/pytest-remotedata/default.nix @@ -32,6 +32,8 @@ buildPythonPackage rec { six ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ pytestCheckHook ]; diff --git a/pkgs/development/python-modules/pytest-tornasync/default.nix b/pkgs/development/python-modules/pytest-tornasync/default.nix index ac2cf07736c5..9fca8d860262 100644 --- a/pkgs/development/python-modules/pytest-tornasync/default.nix +++ b/pkgs/development/python-modules/pytest-tornasync/default.nix @@ -21,6 +21,8 @@ buildPythonPackage rec { tornado ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ pytest tornado diff --git a/pkgs/development/python-modules/pywemo/default.nix b/pkgs/development/python-modules/pywemo/default.nix index f10288cd381a..dee664897bc0 100644 --- a/pkgs/development/python-modules/pywemo/default.nix +++ b/pkgs/development/python-modules/pywemo/default.nix @@ -37,6 +37,8 @@ buildPythonPackage rec { lxml ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ hypothesis pytest-vcr diff --git a/pkgs/development/python-modules/pyzipper/default.nix b/pkgs/development/python-modules/pyzipper/default.nix index d12e396e2db1..a0ad73fb8a3b 100644 --- a/pkgs/development/python-modules/pyzipper/default.nix +++ b/pkgs/development/python-modules/pyzipper/default.nix @@ -24,6 +24,8 @@ buildPythonPackage rec { pycryptodomex ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ pytestCheckHook ]; diff --git a/pkgs/development/python-modules/rangehttpserver/default.nix b/pkgs/development/python-modules/rangehttpserver/default.nix index 010b959edad3..bab8f73b412b 100644 --- a/pkgs/development/python-modules/rangehttpserver/default.nix +++ b/pkgs/development/python-modules/rangehttpserver/default.nix @@ -22,6 +22,8 @@ buildPythonPackage rec { setuptools ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ pytestCheckHook requests diff --git a/pkgs/development/python-modules/rope/default.nix b/pkgs/development/python-modules/rope/default.nix index 3a9c947a118d..1168529eea68 100644 --- a/pkgs/development/python-modules/rope/default.nix +++ b/pkgs/development/python-modules/rope/default.nix @@ -30,6 +30,8 @@ buildPythonPackage rec { pytoolconfig ] ++ pytoolconfig.optional-dependencies.global; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ pytest-timeout pytestCheckHook diff --git a/pkgs/development/python-modules/snakeviz/default.nix b/pkgs/development/python-modules/snakeviz/default.nix index 0b3767944985..1b8c1c81183b 100644 --- a/pkgs/development/python-modules/snakeviz/default.nix +++ b/pkgs/development/python-modules/snakeviz/default.nix @@ -31,6 +31,8 @@ buildPythonPackage rec { tornado ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ ipython pytestCheckHook diff --git a/pkgs/development/python-modules/sockio/default.nix b/pkgs/development/python-modules/sockio/default.nix index 5e1fcbe2a7f1..8ce561b781f9 100644 --- a/pkgs/development/python-modules/sockio/default.nix +++ b/pkgs/development/python-modules/sockio/default.nix @@ -27,6 +27,8 @@ buildPythonPackage rec { --replace "--durations=2 --verbose" "" ''; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ pytest-asyncio pytestCheckHook diff --git a/pkgs/development/python-modules/sshfs/default.nix b/pkgs/development/python-modules/sshfs/default.nix index 653b30f14d0c..f1b47d75b8c5 100644 --- a/pkgs/development/python-modules/sshfs/default.nix +++ b/pkgs/development/python-modules/sshfs/default.nix @@ -1,4 +1,5 @@ -{ lib +{ stdenv +, lib , asyncssh , bcrypt , buildPythonPackage @@ -7,6 +8,7 @@ , mock-ssh-server , pytest-asyncio , pytestCheckHook +, setuptools , setuptools-scm }: @@ -24,6 +26,7 @@ buildPythonPackage rec { SETUPTOOLS_SCM_PRETEND_VERSION = version; nativeBuildInputs = [ + setuptools setuptools-scm ]; @@ -33,12 +36,19 @@ buildPythonPackage rec { fsspec ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ mock-ssh-server pytest-asyncio pytestCheckHook ]; + disabledTests = lib.optionals stdenv.isDarwin [ + # test fails with sandbox enabled + "test_checksum" + ]; + pythonImportsCheck = [ "sshfs" ]; diff --git a/pkgs/development/python-modules/terminado/default.nix b/pkgs/development/python-modules/terminado/default.nix index 1031ff5b1423..3c75305e9078 100644 --- a/pkgs/development/python-modules/terminado/default.nix +++ b/pkgs/development/python-modules/terminado/default.nix @@ -31,12 +31,13 @@ buildPythonPackage rec { "terminado" ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ pytest-timeout pytestCheckHook ]; - meta = with lib; { description = "Terminals served by Tornado websockets"; homepage = "https://github.com/jupyter/terminado"; diff --git a/pkgs/development/python-modules/umodbus/default.nix b/pkgs/development/python-modules/umodbus/default.nix index 331a4b1306d2..7ce499734203 100644 --- a/pkgs/development/python-modules/umodbus/default.nix +++ b/pkgs/development/python-modules/umodbus/default.nix @@ -25,6 +25,8 @@ buildPythonPackage rec { pyserial ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ pytestCheckHook ]; diff --git a/pkgs/development/python-modules/unearth/default.nix b/pkgs/development/python-modules/unearth/default.nix index cf9e95e41bb2..f1a61014e496 100644 --- a/pkgs/development/python-modules/unearth/default.nix +++ b/pkgs/development/python-modules/unearth/default.nix @@ -36,6 +36,8 @@ buildPythonPackage rec { cached-property ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ flask pytest-httpserver diff --git a/pkgs/development/python-modules/wandb/default.nix b/pkgs/development/python-modules/wandb/default.nix index fa57b0072892..25f7e4b98dd9 100644 --- a/pkgs/development/python-modules/wandb/default.nix +++ b/pkgs/development/python-modules/wandb/default.nix @@ -97,6 +97,8 @@ buildPythonPackage rec { shortuuid ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ azure-containerregistry azure-core diff --git a/pkgs/development/python-modules/wsgidav/default.nix b/pkgs/development/python-modules/wsgidav/default.nix index f1b81599c396..9dc51364bc65 100644 --- a/pkgs/development/python-modules/wsgidav/default.nix +++ b/pkgs/development/python-modules/wsgidav/default.nix @@ -40,6 +40,8 @@ buildPythonPackage rec { pyyaml ]; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = [ cheroot pytestCheckHook