1
0

Accepting request 676923 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/676923
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=5
This commit is contained in:
Stephan Kulow 2019-02-28 20:41:00 +00:00 committed by Git OBS Bridge
commit d4a0b36385
4 changed files with 53 additions and 12 deletions

View File

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

View File

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

View File

@ -1,3 +1,39 @@
-------------------------------------------------------------------
Mon Feb 18 05:48:46 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- 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 <mcepl@suse.com>

View File

@ -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