From 6a2f77ebe123965b9425b9493d78ae7555f4d1cacda5c86f630cdc910f2c408d Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 6 Sep 2021 05:41:47 +0000 Subject: [PATCH] - Update to 2.0.1: * do not error on LROs with no response or error (#258) (618f192) * drop support for Python 2.7 / 3.5 (#212) (a30f004) * bump grpcio version to use stable aio API (#234) (bdbf889) * strip trailing _ from field mask paths (#228) (ff6ef1b) * add 'requests.exceptions.ChunkedEncodingError' to retryable exceptions (#237) (5e540f2) * add ServiceUnavailable exception to polling retries (#184) (11032cf) * undprecate entity factory helpers (#101) (1fbee03), closes #100 * add iterator capability to paged iterators (#200) (3487d68) * HTTPIterator now accepts a page_size parameter to control page (#197) (a421913) * Add support for rest/ token in x-goog-api-client header (#189) (15aca6b) * retry google.auth TransportError and requests ConnectionError (#178) (6ae04a8) * skip empty policy bindings in len() and iter() (#159) (9eaa786) * save empty IAM policy bindings (#155) (536c2ca) * add operation name to x-goog-request-params in async client (#137) (7271b23) * allow default_host and default_scopes to be passed to create_channel (#134) (94c76e0) * add operation name to x-goog-request-params (#133) (97cef4a) * allow gRPC metadata to be passed to operations client (#127) (73854e8) - Refresh {Build,}Requires, adding pytest-asyncio and proto-plus. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=35 --- google-api-core-1.24.1.tar.gz | 3 --- google-api-core-2.0.1.tar.gz | 3 +++ python-google-api-core.changes | 28 ++++++++++++++++++++++++++++ python-google-api-core.spec | 27 +++++++++------------------ 4 files changed, 40 insertions(+), 21 deletions(-) delete mode 100644 google-api-core-1.24.1.tar.gz create mode 100644 google-api-core-2.0.1.tar.gz diff --git a/google-api-core-1.24.1.tar.gz b/google-api-core-1.24.1.tar.gz deleted file mode 100644 index c5afc01..0000000 --- a/google-api-core-1.24.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0f1dee446db2685863c3c493a90fefa5fc7f4defaf8e1a320b50ccaddfb5d469 -size 93827 diff --git a/google-api-core-2.0.1.tar.gz b/google-api-core-2.0.1.tar.gz new file mode 100644 index 0000000..184572f --- /dev/null +++ b/google-api-core-2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6760f21b3a064a8397916b33be7383fc169d1a3c3d7fae7b47eb92bba7892b8 +size 95479 diff --git a/python-google-api-core.changes b/python-google-api-core.changes index f30b977..039a108 100644 --- a/python-google-api-core.changes +++ b/python-google-api-core.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Mon Sep 6 05:22:42 UTC 2021 - Steve Kowalik + +- Update to 2.0.1: + * do not error on LROs with no response or error (#258) (618f192) + * drop support for Python 2.7 / 3.5 (#212) (a30f004) + * bump grpcio version to use stable aio API (#234) (bdbf889) + * strip trailing _ from field mask paths (#228) (ff6ef1b) + * add 'requests.exceptions.ChunkedEncodingError' to retryable exceptions + (#237) (5e540f2) + * add ServiceUnavailable exception to polling retries (#184) (11032cf) + * undprecate entity factory helpers (#101) (1fbee03), closes #100 + * add iterator capability to paged iterators (#200) (3487d68) + * HTTPIterator now accepts a page_size parameter to control page + (#197) (a421913) + * Add support for rest/ token in x-goog-api-client header (#189) (15aca6b) + * retry google.auth TransportError and requests ConnectionError + (#178) (6ae04a8) + * skip empty policy bindings in len() and iter() (#159) (9eaa786) + * save empty IAM policy bindings (#155) (536c2ca) + * add operation name to x-goog-request-params in async client + (#137) (7271b23) + * allow default_host and default_scopes to be passed to create_channel + (#134) (94c76e0) + * add operation name to x-goog-request-params (#133) (97cef4a) + * allow gRPC metadata to be passed to operations client (#127) (73854e8) +- Refresh {Build,}Requires, adding pytest-asyncio and proto-plus. + ------------------------------------------------------------------- Wed Jan 6 14:55:34 UTC 2021 - Matthias Fehring diff --git a/python-google-api-core.spec b/python-google-api-core.spec index 7d23548..c5d05ab 100644 --- a/python-google-api-core.spec +++ b/python-google-api-core.spec @@ -19,46 +19,37 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-google-api-core -Version: 1.24.1 +Version: 2.0.1 Release: 0 Summary: Google API client core library License: Apache-2.0 -Group: Development/Languages/Python 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 -BuildRequires: %{python_module google-auth >= 1.21.1} +BuildRequires: %{python_module google-auth >= 1.25.0} BuildRequires: %{python_module googleapis-common-protos >= 1.6.0} -BuildRequires: %{python_module grpcio >= 1.29.0} +BuildRequires: %{python_module grpcio >= 1.33.2} BuildRequires: %{python_module grpcio-gcp >= 0.2.2} BuildRequires: %{python_module protobuf >= 3.12.0} BuildRequires: %{python_module pytz} BuildRequires: %{python_module requests >= 2.18.0} -BuildRequires: %{python_module setuptools >= 34.0.0} -BuildRequires: %{python_module six >= 1.13.0} +BuildRequires: %{python_module setuptools >= 40.3.0} # START TESTING SECTION BuildRequires: %{python_module mock} +BuildRequires: %{python_module proto-plus} +BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest} # END TESTIN SECTION BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-google-auth >= 1.21.1 +Requires: python-google-auth >= 1.25.0 Requires: python-googleapis-common-protos >= 1.6.0 -Requires: python-grpcio >= 1.29.0 +Requires: python-grpcio >= 1.33.2 Requires: python-protobuf >= 3.12.0 Requires: python-pytz Requires: python-requests >= 2.18.0 -Requires: python-setuptools >= 34.0.0 -Requires: python-six >= 1.13.0 +Requires: python-setuptools >= 40.3.0 Suggests: python-grpcio-gcp >= 0.2.2 BuildArch: noarch -%if %{with python2} -BuildRequires: python2-enum34 -BuildRequires: python2-futures >= 3.2.0 -%endif -%ifpython2 -Requires: python-enum34 -Requires: python-futures >= 3.2.0 -%endif %python_subpackages %description