Merge pull request #292384 from fabaff/google-cloud-kms-bump

python311Packages.google-cloud-kms: 2.20.0 -> 2.21.2
This commit is contained in:
Fabian Affolter 2024-02-29 21:05:01 +01:00 committed by GitHub
commit 660c521f0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,20 +9,25 @@
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "google-cloud-kms";
version = "2.19.2";
format = "setuptools";
version = "2.21.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-F6UDRZLoXvADHSW75YlL2y1xlGCFWYC/62iqTo/8Er0=";
hash = "sha256-8GrZ38gBVE+6EYN4i5ZPawF0g6Zgkapoa1Gr0HSAbIQ=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
grpc-google-iam-v1
google-api-core
@ -36,9 +41,11 @@ buildPythonPackage rec {
pytestCheckHook
];
# Disable tests that need credentials
disabledTests = [
# Disable tests that need credentials
"test_list_global_key_rings"
# Tests require PROJECT_ID
"test_list_ekm_connections"
];
pythonImportsCheck = [
@ -48,8 +55,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Cloud Key Management Service (KMS) API API client library";
homepage = "https://github.com/googleapis/python-kms";
changelog = "https://github.com/googleapis/python-kms/blob/v${version}/CHANGELOG.md";
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-kms";
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-kms-v${version}/packages/google-cloud-kms/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};