15
0

Accepting request 860769 from home:buschmann23:branches:devel:languages:python

- Skip build on python2 as it is not supported anymore
- Update to 1.24.1
  * support 'retry' for ops built from HTTP/gRPC responses
    (gh#googleapis/python-api-core#115)
- from version 1.24.0
  * add support for Python 3.9, drop support for Python 3.5
    (gh#googleapis/python-api-core#111)
- from version 1.23.0
  * api-core: pass retry from result() to done()
    (gh#googleapis/python-api-core#9)
  * map LRO errors to library exception types
    (gh#googleapis/python-api-core#15)

OBS-URL: https://build.opensuse.org/request/show/860769
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=33
This commit is contained in:
2021-01-06 17:05:05 +00:00
committed by Git OBS Bridge
parent 2d0d0d9981
commit fdd2469ec7
4 changed files with 30 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-google-api-core
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,9 +17,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
%define skip_python2 1
Name: python-google-api-core
Version: 1.22.4
Version: 1.24.1
Release: 0
Summary: Google API client core library
License: Apache-2.0
@@ -30,13 +30,15 @@ BuildRequires: %{python_module google-auth >= 1.21.1}
BuildRequires: %{python_module googleapis-common-protos >= 1.6.0}
BuildRequires: %{python_module grpcio >= 1.29.0}
BuildRequires: %{python_module grpcio-gcp >= 0.2.2}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module protobuf >= 3.12.0}
BuildRequires: %{python_module pytest}
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}
# START TESTING SECTION
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
# END TESTIN SECTION
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-google-auth >= 1.21.1