Dominique Leuenberger 2021-07-07 16:30:25 +00:00 committed by Git OBS Bridge
commit 4f4f8f7293
4 changed files with 37 additions and 13 deletions

View File

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

View File

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

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Mon Jul 5 19:41:14 UTC 2021 - Martin Wilck <mwilck@suse.com>
- Update to version 1.12.8
* add httplib2 authorization to thread_safety (#1005), closes #808
- from version 1.12.7
* Update Webmasters API sample (#1092)
- from version 1.12.6
* Dcoumentation fixes
- from version 1.12.5
* don't raise when downloading zero byte files (#1074)
- from version 1.12.4
* don't set content-range on empty uploads (#1070)
- from version 1.12.3
* deps: update setup.py to install httplib2>=0.15.0 (#1050)
- from version 1.12.2
* add method to close httplib2 connections (#1038), closes #618
- from version 1.12.1
* deps: require six>=1.13.0 (#1030)
- from version 1.12.0
* convert print statement to function (#988), closes #987
* remove http from batch execute docs (#1003), closes #1002
-------------------------------------------------------------------
Thu Sep 10 14:05:18 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-google-api-python-client
#
# 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
@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-google-api-python-client
Version: 1.11.0
Version: 1.12.8
Release: 0
Summary: Google APIs Python Client
License: Apache-2.0
@ -27,24 +27,24 @@ URL: https://github.com/google/google-api-python-client
Source: https://files.pythonhosted.org/packages/source/g/google-api-python-client/google-api-python-client-%{version}.tar.gz
# https://github.com/googleapis/google-api-python-client/pull/929
Patch0: python-google-api-python-client-no-unittest2.patch
BuildRequires: %{python_module google-api-core >= 1.18.0}
BuildRequires: %{python_module google-api-core >= 1.21.0}
BuildRequires: %{python_module google-auth >= 1.16.0}
BuildRequires: %{python_module google-auth-httplib2 >= 0.0.3}
BuildRequires: %{python_module httplib2 >= 0.9.2}
BuildRequires: %{python_module httplib2 >= 0.15.0}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module oauth2client}
BuildRequires: %{python_module parameterized}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.6.1}
BuildRequires: %{python_module six >= 1.13.0}
BuildRequires: %{python_module uritemplate >= 3.0.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-google-api-core >= 1.18.0
Requires: python-google-api-core >= 1.21.0
Requires: python-google-auth >= 1.16.0
Requires: python-google-auth-httplib2 >= 0.0.3
Requires: python-httplib2 >= 0.9.2
Requires: python-six >= 1.6.1
Requires: python-httplib2 >= 0.15.0
Requires: python-six >= 1.13.0
Requires: python-uritemplate >= 3.0.0
# Package renamed in SLE 12, do not remove Provides, Obsolete directives
# until after SLE 12 EOL
@ -68,9 +68,10 @@ Google APIs Client Library for Python
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# DiscoveryFromDocument::test_api_endpoint_override_from_client_options and
# DiscoveryFromDocument::test_api_endpoint_override_from_client_options and
# DiscoveryFromDocument::test_api_endpoint_override_from_client_options_dict fail with "server unavailable"
%pytest -k "not (test_api_endpoint_override_from_client_options and Document)"
# DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive fails with "socket.gaierror: [Errno -3] Temporary failure in name resolution"
%pytest -k "not (test_api_endpoint_override_from_client_options and Document) and not test_credentials_and_credentials_file_mutually_exclusive"
%files %{python_files}
%doc README.md