about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2023-01-08 18:59:58 -0500
committerGitHub <noreply@github.com>2023-01-09 00:59:58 +0100
commit42ed6597033ad9e7ed218ca592188cd6dcd116bf (patch)
tree8bf1cbc49b7882a44718a5c6be69e07d2c50f106
parent44f3015faf23a17742ed9eae8eaf849f675698dc (diff)
python3Packages.google-auth-oauthlib: fix build on darwin (#204589)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
-rw-r--r--pkgs/development/python-modules/google-auth-oauthlib/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/google-auth-oauthlib/default.nix b/pkgs/development/python-modules/google-auth-oauthlib/default.nix
index 9f70702883a01..ad9d74edbb68d 100644
--- a/pkgs/development/python-modules/google-auth-oauthlib/default.nix
+++ b/pkgs/development/python-modules/google-auth-oauthlib/default.nix
@@ -33,9 +33,8 @@ buildPythonPackage rec {
     pytestCheckHook
   ];
 
-  disabledTests = lib.optionals stdenv.isDarwin [
-    "test_run_local_server"
-  ];
+  # some tests require loopback networking
+  __darwinAllowLocalNetworking = true;
 
   pythonImportsCheck = [
     "google_auth_oauthlib"