From 0eb61aafd793580d44e1ca7ea12bfa2511e3c0f7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 19 May 2023 06:18:26 +0200 Subject: [PATCH] python310Packages.google-auth: move urllib3 to propagatedBuildInputs --- pkgs/development/python-modules/google-auth/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-auth/default.nix b/pkgs/development/python-modules/google-auth/default.nix index b501ad6b085..7c091acb8b4 100644 --- a/pkgs/development/python-modules/google-auth/default.nix +++ b/pkgs/development/python-modules/google-auth/default.nix @@ -1,8 +1,8 @@ { lib , stdenv -, buildPythonPackage , aiohttp , aioresponses +, buildPythonPackage , cachetools , cryptography , fetchPypi @@ -42,6 +42,7 @@ buildPythonPackage rec { pyasn1-modules rsa six + urllib3 ]; passthru.optional-dependencies = { @@ -75,7 +76,6 @@ buildPythonPackage rec { pytest-localserver pytestCheckHook responses - urllib3 ] ++ passthru.optional-dependencies.aiohttp # `cryptography` is still required on `aarch64-darwin` for `tests/crypt/*` ++ (if (stdenv.isDarwin && stdenv.isAarch64) then [ cryptography ] else passthru.optional-dependencies.enterprise_cert)