commit python-google-api-core for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-google-api-core for openSUSE:Factory checked in at 2022-04-30 22:52:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-google-api-core (Old) and /work/SRC/openSUSE:Factory/.python-google-api-core.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-google-api-core" Sat Apr 30 22:52:00 2022 rev:19 rq:973995 version:2.7.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-google-api-core/python-google-api-core.changes 2021-09-07 21:22:24.713374793 +0200 +++ /work/SRC/openSUSE:Factory/.python-google-api-core.new.1538/python-google-api-core.changes 2022-04-30 22:52:06.780189767 +0200 @@ -1,0 +2,65 @@ +Mon Apr 25 12:30:45 UTC 2022 - Matej Cepl <mcepl@suse.com> + +- Update to 2.7.2: + - allow grpc without grpcio-status + - remove dependency on pkg_resources +- Add 373-KeyError-in-test.patch to allow tests to run + (gh#googleapis/python-api-core#372) + +------------------------------------------------------------------- +Thu Apr 7 12:20:32 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> + +- Update to 2.7.1 + Bug Fixes + * add more context to error message. (#340) +- from version 2.7.0 + Features + * expose extra fields in ExtendedOperation (#351) +- from version 2.6.1 + Bug Fixes + * Remove py2 tag from wheel (#343) +- from version 2.6.0 + Features + * initial support for Extended Operations (#344) +- from version 2.5.0 + Features + * add api_key to client options (#248) + Bug Fixes + * **deps:** remove setuptools from dependencies (#339) + Documentation + * fix typo in library name (#332) +- from version 2.4.0 + Features + * add support for 'error_info' (#315) + * iterator for processing JSON responses in REST streaming. (#317) +- from version 2.3.2 + Bug Fixes + * address broken wheels in version 2.3.1 +- from version 2.3.1 + Bug Fixes + * exclude function target from retry deadline exceeded exception message (#318) +- from version 2.3.0 + Features + * add operations rest client to support long-running operations. (#311) + Bug Fixes + * handle bare 'grpc.Call' in 'from_grpc_error' (#298) +- from version 2.2.2 + Bug Fixes + * make 'gapic_v1.method.DEFAULT' a typed object (#292) +- from version 2.2.1 + Bug Fixes + * revert "fix: do not error on LROs with no response or error" (#294) +- from version 2.2.0 + Features + * add 'GoogleAPICallError.error_details' property (#286) +- from version 2.1.1 + Bug Fixes + * add mypy checking + 'py.typed' file (#290) +- from version 2.1.0 + Features + * add grpc transcoding + tests (#259) + * Add helper function to format query_params for rest transport. (#275) + * add support for Python 3.10 (#284) +- Update BuildRequires and Requires from setup.py + +------------------------------------------------------------------- Old: ---- google-api-core-2.0.1.tar.gz New: ---- 373-KeyError-in-test.patch google-api-core-2.7.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-google-api-core.spec ++++++ --- /var/tmp/diff_new_pack.UEeIuP/_old 2022-04-30 22:52:07.384190584 +0200 +++ /var/tmp/diff_new_pack.UEeIuP/_new 2022-04-30 22:52:07.388190589 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-google-api-core # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,20 +27,26 @@ %endif %define skip_python2 1 Name: python-google-api-core -Version: 2.0.1 +Version: 2.7.2 Release: 0 Summary: Google API client core library License: Apache-2.0 URL: https://github.com/googleapis/python-api-core Source: https://files.pythonhosted.org/packages/source/g/google-api-core/google-api-core-%{version}.tar.gz +# PATCH-FIX-UPSTREAM 373-KeyError-in-test.patch gh#googleapis/python-api-core#372 mcepl@suse.com +# fix KeyError in test_rest_streaming.py +Patch0: 373-KeyError-in-test.patch BuildRequires: %{python_module google-auth >= 1.25.0} -BuildRequires: %{python_module googleapis-common-protos >= 1.6.0} +BuildRequires: %{python_module googleapis-common-protos >= 1.53.0} BuildRequires: %{python_module grpcio >= 1.33.2} BuildRequires: %{python_module grpcio-gcp >= 0.2.2} +BuildRequires: %{python_module grpcio-status >= 1.33.2} +BuildRequires: %{python_module pip} BuildRequires: %{python_module protobuf >= 3.12.0} BuildRequires: %{python_module pytz} BuildRequires: %{python_module requests >= 2.18.0} BuildRequires: %{python_module setuptools >= 40.3.0} +BuildRequires: %{python_module wheel} # START TESTING SECTION %if %{with test} BuildRequires: %{python_module google-api-core >= %{version}} @@ -53,8 +59,9 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-google-auth >= 1.25.0 -Requires: python-googleapis-common-protos >= 1.6.0 +Requires: python-googleapis-common-protos >= 1.53.0 Requires: python-grpcio >= 1.33.2 +Requires: python-grpcio-status >= 1.33.2 Requires: python-protobuf >= 3.12.0 Requires: python-pytz Requires: python-requests >= 2.18.0 @@ -67,14 +74,14 @@ Core Library for Google Client Libraries. %prep -%setup -q -n google-api-core-%{version} +%autosetup -p1 -n google-api-core-%{version} %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -83,11 +90,15 @@ %pytest %endif +%clean + %if !%{with test} %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/google/api_core +%{python_sitelib}/google_api_core-%{version}*-nspkg.pth +%{python_sitelib}/google_api_core-%{version}*-info %endif %changelog ++++++ 373-KeyError-in-test.patch ++++++ From a8065793e7118c47fc71edc4c02447ef4b665209 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou <partheniou@google.com> Date: Fri, 29 Apr 2022 13:28:02 -0400 Subject: [PATCH] test: fix KeyError in test_rest_streaming.py --- tests/unit/test_rest_streaming.py | 1 + 1 file changed, 1 insertion(+) --- a/tests/unit/test_rest_streaming.py +++ b/tests/unit/test_rest_streaming.py @@ -28,6 +28,7 @@ from google.protobuf import duration_pb2 from google.protobuf import timestamp_pb2 +__protobuf__ = proto.module(package=__name__) SEED = int(time.time()) logging.info(f"Starting rest streaming tests with random seed: {SEED}") random.seed(SEED) ++++++ google-api-core-2.0.1.tar.gz -> google-api-core-2.7.2.tar.gz ++++++ ++++ 5257 lines of diff (skipped)
participants (1)
-
Source-Sync