From a4aece1c4563ac21acd3d875feed1e5e4e91d884 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 7 Dec 2024 18:21:26 +0100 Subject: [PATCH] python312Packages.google-auth: disable failing test Result of cryptography 44 API changes. --- pkgs/development/python-modules/google-auth/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-auth/default.nix b/pkgs/development/python-modules/google-auth/default.nix index 35dd5b86b9fb..b7b77f32137f 100644 --- a/pkgs/development/python-modules/google-auth/default.nix +++ b/pkgs/development/python-modules/google-auth/default.nix @@ -27,7 +27,7 @@ buildPythonPackage rec { pname = "google-auth"; - version = "2.35.0"; + version = "2.36.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -35,7 +35,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "google_auth"; inherit version; - hash = "sha256-9MZO1OAejotkbvNMAY+L8zON8MjjfYs7ukDn9XSjJ4o="; + hash = "sha256-VF6WGPLfC8u33LxFpUZIWxISYkcWl1oepa6BSc52mrE="; }; nativeBuildInputs = [ setuptools ]; @@ -85,6 +85,11 @@ buildPythonPackage rec { "google.oauth2" ]; + pytestFlagsArray = [ + # cryptography 44 compat issue + "--deselect=tests/transport/test__mtls_helper.py::TestDecryptPrivateKey::test_success" + ]; + disabledTestPaths = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ # Disable tests using pyOpenSSL as it does not build on M1 Macs "tests/transport/test__mtls_helper.py"