From fcfa83383ae855bd156b4cfb771e3e42bd5f7222a4576d55c02937516e46d8ff Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 18 Feb 2019 07:37:42 +0000 Subject: [PATCH] Accepting request 676918 from home:jayvdb:django - Activate tests - Update from v1.4.0 to v1.7.0 OBS-URL: https://build.opensuse.org/request/show/676918 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=9 --- google-api-core-1.4.0.tar.gz | 3 --- google-api-core-1.7.0.tar.gz | 3 +++ python-google-api-core.changes | 36 ++++++++++++++++++++++++++++++++++ python-google-api-core.spec | 23 +++++++++++++--------- 4 files changed, 53 insertions(+), 12 deletions(-) delete mode 100644 google-api-core-1.4.0.tar.gz create mode 100644 google-api-core-1.7.0.tar.gz diff --git a/google-api-core-1.4.0.tar.gz b/google-api-core-1.4.0.tar.gz deleted file mode 100644 index 97ee595..0000000 --- a/google-api-core-1.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:121cc7b93fcf5bde0bf8047a5fb9b5217a7e663eaf83f828044a073781c88901 -size 55571 diff --git a/google-api-core-1.7.0.tar.gz b/google-api-core-1.7.0.tar.gz new file mode 100644 index 0000000..f086cbc --- /dev/null +++ b/google-api-core-1.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:85693e163a1a6faea69a74f8feaf35d54dfa2559fbdbbe389c93ffb3bb4c9a79 +size 68086 diff --git a/python-google-api-core.changes b/python-google-api-core.changes index 42183e7..6514454 100644 --- a/python-google-api-core.changes +++ b/python-google-api-core.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Mon Feb 18 05:48:46 UTC 2019 - John Vandenberg + +- Activate tests +- Update to version 1.7.0 + * New Features + + Support converting DatetimeWithNanos to / from + google.protobuf.timestamp_pb2.Timestamp + * Documentation + + Document Python 2 deprecation. (#6910) + + Add usage example for google.api_core.iam.Polcy. (#6855) + * Internal / Testing Changes + + Work around pytype big for ABCMeta.register +- from version 1.6.0 + (not documented) +- from version 1.5.2 + * Implementation Changes + + Retry transient errors in 'PollingFuture.result' + * Dependencies + + Remove hyphen from named extra in api_core. (#6468) + + Bump minimum 'api_core' version for all GAPIC libs to 1.4.1. (#6391) + + Avoid broken 'google-common-apis 1.5.4' release +- from version 1.5.1 + * Implementation Changes + + Don't URL-encode slashes in gRPC request headers + * Internal / Testing Changes + + Back out changes from #6267 +- from version 1.5.0 + * New Features + + Add bidi, Bidirection Streaming, to api-core + * Internal / Testing Changes + + Use new Nox +- from version 1.4.1 + * Internal / Testing Changes + + Add type-checking via pytype to api_core + ------------------------------------------------------------------- Tue Dec 4 12:48:31 UTC 2018 - Matej Cepl diff --git a/python-google-api-core.spec b/python-google-api-core.spec index 26d9b72..fa44334 100644 --- a/python-google-api-core.spec +++ b/python-google-api-core.spec @@ -1,7 +1,7 @@ # # spec file for package python-google-api-core # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,24 +18,28 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-google-api-core -Version: 1.4.0 +Version: 1.7.0 Release: 0 Summary: Google API client core 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-api-core/google-api-core-%{version}.tar.gz -BuildRequires: %{python_module google-auth} -BuildRequires: %{python_module googleapis-common-protos} -BuildRequires: %{python_module grpcio} +BuildRequires: %{python_module google-auth >= 0.4.0} +BuildRequires: %{python_module googleapis-common-protos >= 1.5.3} +BuildRequires: %{python_module grpcio >= 1.8.2} +BuildRequires: %{python_module grpcio-gcp >= 0.2.2} BuildRequires: %{python_module mock} BuildRequires: %{python_module protobuf} BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytz} -BuildRequires: %{python_module requests} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module requests >= 2.18.0} +BuildRequires: %{python_module setuptools >= 34.0.0} +BuildRequires: %{python_module six >= 1.10.0} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildRequires: python2-enum34 +BuildRequires: python2-futures >= 3.2.0 %ifpython2 BuildRequires: python2-enum34 BuildRequires: python2-futures @@ -52,6 +56,7 @@ Requires: python-enum34 Requires: python-futures >= 3.2.0 %endif Requires: python-grpcio >= 1.8.2 +Suggests: python-grpcio-gcp >= 0.2.2 BuildArch: noarch %python_subpackages @@ -69,8 +74,8 @@ Core Library for Google Client Libraries %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -#%%check -#%%python_expand PYTHONPATH=. py.test-%{$python_version} tests/unit +%check +%python_exec -m pytest %files %{python_files} %license LICENSE