diff options
| author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2022-12-05 19:49:13 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-05 19:49:13 -0500 |
| commit | ba6a0cb3ba9142663308c558dd2cd9ae8d665893 (patch) | |
| tree | ae4a52974cae8b5743f575b6cbb5019c04e386ee | |
| parent | python3Packages.google-auth-oauthlib: fix build on darwin (diff) | |
| download | nixpkgs-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.nix | 7 |
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" |
