python3Packages.google-auth: 2.36.0 -> 2.37.0

https://github.com/googleapis/google-auth-library-python/blob/v2.37.0/CHANGELOG.md
This commit is contained in:
Martin Weinelt
2025-01-27 10:55:30 +01:00
parent 26d73e6c95
commit 3818474fa4
@@ -13,6 +13,7 @@
mock,
oauth2client,
pyasn1-modules,
pyjwt,
pyopenssl,
pytest-asyncio,
pytest-localserver,
@@ -27,7 +28,7 @@
buildPythonPackage rec {
pname = "google-auth";
version = "2.36.0";
version = "2.37.0";
pyproject = true;
disabled = pythonOlder "3.7";
@@ -35,12 +36,12 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "google_auth";
inherit version;
hash = "sha256-VF6WGPLfC8u33LxFpUZIWxISYkcWl1oepa6BSc52mrE=";
hash = "sha256-AFRiOr8fnINJLGPT9H538KVEyqPUCy2Y4JmmEcLdXQA=";
};
nativeBuildInputs = [ setuptools ];
build-system = [ setuptools ];
propagatedBuildInputs = [
dependencies = [
cachetools
pyasn1-modules
rsa
@@ -59,6 +60,10 @@ buildPythonPackage rec {
cryptography
pyopenssl
];
pyjwt = [
cryptography
pyjwt
];
reauth = [ pyu2f ];
requests = [ requests ];
};
@@ -80,9 +85,7 @@ buildPythonPackage rec {
pytestCheckHook
responses
]
++ optional-dependencies.aiohttp
++ optional-dependencies.enterprise_cert
++ optional-dependencies.reauth;
++ lib.flatten (lib.attrValues optional-dependencies);
pythonImportsCheck = [
"google.auth"
@@ -94,14 +97,6 @@ buildPythonPackage rec {
"--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"
"tests/transport/test_requests.py"
"tests/transport/test_urllib3.py"
"tests/transport/test__custom_tls_signer.py"
];
__darwinAllowLocalNetworking = true;
meta = with lib; {