summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2022-12-05 19:49:13 -0500
committerGitHub <noreply@github.com>2022-12-05 19:49:13 -0500
commitba6a0cb3ba9142663308c558dd2cd9ae8d665893 (patch)
treeae4a52974cae8b5743f575b6cbb5019c04e386ee
parentpython3Packages.google-auth-oauthlib: fix build on darwin (diff)
downloadnixpkgs-origin/pr/google-auth-oauthlib_fix.tar.gz
python3Packages.google-auth-oauthlib: set `__darwinAllowLocalNetworking` to trueorigin/pr/google-auth-oauthlib_fix
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
-rw-r--r--pkgs/development/python-modules/google-auth-oauthlib/default.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/google-auth-oauthlib/default.nix b/pkgs/development/python-modules/google-auth-oauthlib/default.nix
index d051bc4fb5b5..ad9d74edbb68 100644
--- a/pkgs/development/python-modules/google-auth-oauthlib/default.nix
+++ b/pkgs/development/python-modules/google-auth-oauthlib/default.nix
@@ -33,11 +33,8 @@ buildPythonPackage rec {
pytestCheckHook
];
- disabledTests = lib.optionals stdenv.isDarwin [
- # requires loopback networking
- "test_run_local_server"
- "test_get_user_credentials"
- ];
+ # some tests require loopback networking
+ __darwinAllowLocalNetworking = true;
pythonImportsCheck = [
"google_auth_oauthlib"