python312Packages.google-auth: disable failing test

Result of cryptography 44 API changes.
This commit is contained in:
Martin Weinelt
2024-12-07 18:21:26 +01:00
parent 38a78130f6
commit a4aece1c45

View File

@@ -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"