Accepting request 1056376 from home:glaubitz:branches:devel:languages:python

- Update to 2.13.0
  * Add SHA-2 import methods (6311278)
  * Add support for `google.cloud.kms.__version__` (6311278)
  * Add support for additional HMAC algorithms (6311278)
  * Add typing to proto.Message based class attributes (6311278)
  * Add dict typing for client_options (6311278)
  * **deps:** Require google-api-core >=1.34.0, >=2.11.0  (dbe2f96)
  * Drop usage of pkg_resources (dbe2f96)
  * Fix timeout default values (dbe2f96)
  * **samples:** Snippetgen handling of repeated enum field (6311278)
  * **samples:** Snippetgen should call await on the operation
    coroutine before calling result (dbe2f96)
- Drop installation of fixup_kms_v1_keywords.py, removed upstream
- Update BuildRequires and Requires from setup.py

OBS-URL: https://build.opensuse.org/request/show/1056376
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-cloud-kms?expand=0&rev=20
This commit is contained in:
Robert Schweikert 2023-01-06 12:22:27 +00:00 committed by Git OBS Bridge
parent 5d1eb7c253
commit bad6936217
4 changed files with 27 additions and 17 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a285b1607e01f0763dc9b5a3d0642a5277e2157ccb0aac9718666ca1c57d39dd
size 120460

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d273909e26e2d53d095bd35068a4ab3429df079120b27358315084894b0f45d5
size 118173

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Fri Jan 6 11:24:19 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.13.0
* Add SHA-2 import methods (6311278)
* Add support for `google.cloud.kms.__version__` (6311278)
* Add support for additional HMAC algorithms (6311278)
* Add typing to proto.Message based class attributes (6311278)
* Add dict typing for client_options (6311278)
* **deps:** Require google-api-core &gt;=1.34.0, >=2.11.0 (dbe2f96)
* Drop usage of pkg_resources (dbe2f96)
* Fix timeout default values (dbe2f96)
* **samples:** Snippetgen handling of repeated enum field (6311278)
* **samples:** Snippetgen should call await on the operation
coroutine before calling result (dbe2f96)
- Drop installation of fixup_kms_v1_keywords.py, removed upstream
- Update BuildRequires and Requires from setup.py
-------------------------------------------------------------------
Mon Oct 17 10:23:24 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-google-cloud-kms
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,15 +19,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-google-cloud-kms
Version: 2.12.3
Version: 2.13.0
Release: 0
Summary: Cloud Key Management Service (KMS) API API client library
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/GoogleCloudPlatform/google-cloud-python
Source: https://files.pythonhosted.org/packages/source/g/google-cloud-kms/google-cloud-kms-%{version}.tar.gz
BuildRequires: %{python_module google-api-core >= 1.32.0}
BuildRequires: %{python_module grpc-google-iam-v1 >= 0.12.3}
BuildRequires: %{python_module google-api-core >= 1.34.0}
BuildRequires: %{python_module grpc-google-iam-v1 >= 0.12.4}
BuildRequires: %{python_module proto-plus >= 1.22.0}
BuildRequires: %{python_module protobuf >= 3.19}
BuildRequires: %{python_module pytest-asyncio}
@ -35,8 +35,8 @@ BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-google-api-core >= 1.32.0
Requires: python-grpc-google-iam-v1 >= 0.12.3
Requires: python-google-api-core >= 1.34.0
Requires: python-grpc-google-iam-v1 >= 0.12.4
Requires(post): update-alternatives
Requires(preun):update-alternatives
BuildArch: noarch
@ -60,13 +60,6 @@ Cloud Key Management Service (KMS) API API client library
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/fixup_kms_v1_keywords.py
%post
%python_install_alternative fixup_kms_v1_keywords.py
%postun
%python_uninstall_alternative fixup_kms_v1_keywords.py
%check
%pytest tests/unit
@ -75,6 +68,5 @@ Cloud Key Management Service (KMS) API API client library
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%python_alternative %{_bindir}/fixup_kms_v1_keywords.py
%changelog