Accepting request 833487 from home:glaubitz:branches:devel:languages:python

- Update to version 1.11.0
  * add support for mtls env variables (#1008)
- from version 1.10.1
  * discovery uses V2 when version is None (#975), closes (#971)
  * fix deprecation warnings due to invalid escape sequences. (#996), closes (#995)
  * fix link to service accounts documentation (#986)
  * update generated docs (#981)
- from version 1.10.0
  * allow to use 'six.moves.collections_abc.Mapping' in 'client_options.from_dict()' (#943)
  * Build universal wheels (#948)
  * discovery supports retries (#967), closes (#848)
  * consolidating and updating the Contribution Guide (#964), closes (#963)
- from version 1.9.3
  * update GOOGLE_API_USE_MTLS values (#940)
- from version 1.9.2
  * bump api-core version (#936)
- from version 1.9.1
  * fix python-api-core dependency issue (#931)
- from version 1.9.0
  * add mtls feature (#917)
  * add templates for python samples projects (#506), (#924)
- Refresh patches for new version
  + python-google-api-python-client-no-unittest2.patch
- Update BuildRequires and Requires from setup.py

OBS-URL: https://build.opensuse.org/request/show/833487
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-python-client?expand=0&rev=39
This commit is contained in:
2020-09-10 14:15:10 +00:00
committed by Git OBS Bridge
parent 0d941cd3f6
commit 0b35eabb0b
5 changed files with 88 additions and 70 deletions

View File

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

View File

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

View File

@@ -1,8 +1,7 @@
Index: google-api-python-client-1.8.4/tests/test__auth.py
===================================================================
--- google-api-python-client-1.8.4.orig/tests/test__auth.py 2020-05-26 22:17:53.000000000 +0200
+++ google-api-python-client-1.8.4/tests/test__auth.py 2020-06-01 15:48:23.340280191 +0200
@@ -18,7 +18,7 @@ import google.auth.credentials
diff -Nru google-api-python-client-1.11.0.orig/tests/test__auth.py google-api-python-client-1.11.0/tests/test__auth.py
--- google-api-python-client-1.11.0.orig/tests/test__auth.py 2020-08-27 23:33:51.000000000 +0200
+++ google-api-python-client-1.11.0/tests/test__auth.py 2020-09-10 15:54:13.243410474 +0200
@@ -18,7 +18,7 @@
import google_auth_httplib2
import httplib2
import oauth2client.client
@@ -11,11 +10,10 @@ Index: google-api-python-client-1.8.4/tests/test__auth.py
from googleapiclient import _auth
Index: google-api-python-client-1.8.4/tests/test_channel.py
===================================================================
--- google-api-python-client-1.8.4.orig/tests/test_channel.py 2020-05-26 22:17:53.000000000 +0200
+++ google-api-python-client-1.8.4/tests/test_channel.py 2020-06-01 15:48:45.200411976 +0200
@@ -3,7 +3,7 @@ from __future__ import absolute_import
diff -Nru google-api-python-client-1.11.0.orig/tests/test_channel.py google-api-python-client-1.11.0/tests/test_channel.py
--- google-api-python-client-1.11.0.orig/tests/test_channel.py 2020-08-27 23:33:51.000000000 +0200
+++ google-api-python-client-1.11.0/tests/test_channel.py 2020-09-10 15:54:13.243410474 +0200
@@ -3,7 +3,7 @@
__author__ = "jcgregorio@google.com (Joe Gregorio)"
@@ -24,23 +22,9 @@ Index: google-api-python-client-1.8.4/tests/test_channel.py
import datetime
from googleapiclient import channel
Index: google-api-python-client-1.8.4/tests/test_discovery.py
===================================================================
--- google-api-python-client-1.8.4.orig/tests/test_discovery.py 2020-05-26 22:17:53.000000000 +0200
+++ google-api-python-client-1.8.4/tests/test_discovery.py 2020-06-01 15:49:06.480540264 +0200
@@ -37,7 +37,7 @@ import os
import pickle
import re
import sys
-import unittest2 as unittest
+import unittest
import mock
Index: google-api-python-client-1.8.4/tests/test_discovery_cache.py
===================================================================
--- google-api-python-client-1.8.4.orig/tests/test_discovery_cache.py 2020-05-26 22:17:53.000000000 +0200
+++ google-api-python-client-1.8.4/tests/test_discovery_cache.py 2020-06-01 15:49:21.664631801 +0200
diff -Nru google-api-python-client-1.11.0.orig/tests/test_discovery_cache.py google-api-python-client-1.11.0/tests/test_discovery_cache.py
--- google-api-python-client-1.11.0.orig/tests/test_discovery_cache.py 2020-08-27 23:33:51.000000000 +0200
+++ google-api-python-client-1.11.0/tests/test_discovery_cache.py 2020-09-10 15:54:13.243410474 +0200
@@ -18,7 +18,7 @@
"""Discovery document cache tests."""
@@ -50,11 +34,22 @@ Index: google-api-python-client-1.8.4/tests/test_discovery_cache.py
import mock
Index: google-api-python-client-1.8.4/tests/test_errors.py
===================================================================
--- google-api-python-client-1.8.4.orig/tests/test_errors.py 2020-05-26 22:17:53.000000000 +0200
+++ google-api-python-client-1.8.4/tests/test_errors.py 2020-06-01 15:49:32.728698502 +0200
@@ -21,7 +21,7 @@ from __future__ import absolute_import
diff -Nru google-api-python-client-1.11.0.orig/tests/test_discovery.py google-api-python-client-1.11.0/tests/test_discovery.py
--- google-api-python-client-1.11.0.orig/tests/test_discovery.py 2020-08-27 23:33:51.000000000 +0200
+++ google-api-python-client-1.11.0/tests/test_discovery.py 2020-09-10 15:54:40.883760261 +0200
@@ -37,7 +37,7 @@
import pickle
import re
import sys
-import unittest2 as unittest
+import unittest
from collections import defaultdict
from parameterized import parameterized
diff -Nru google-api-python-client-1.11.0.orig/tests/test_errors.py google-api-python-client-1.11.0/tests/test_errors.py
--- google-api-python-client-1.11.0.orig/tests/test_errors.py 2020-08-27 23:33:51.000000000 +0200
+++ google-api-python-client-1.11.0/tests/test_errors.py 2020-09-10 15:54:13.247410524 +0200
@@ -21,7 +21,7 @@
__author__ = "afshar@google.com (Ali Afshar)"
@@ -63,11 +58,10 @@ Index: google-api-python-client-1.8.4/tests/test_errors.py
import httplib2
Index: google-api-python-client-1.8.4/tests/test_http.py
===================================================================
--- google-api-python-client-1.8.4.orig/tests/test_http.py 2020-05-26 22:17:53.000000000 +0200
+++ google-api-python-client-1.8.4/tests/test_http.py 2020-06-01 15:49:53.456823460 +0200
@@ -35,7 +35,7 @@ import io
diff -Nru google-api-python-client-1.11.0.orig/tests/test_http.py google-api-python-client-1.11.0/tests/test_http.py
--- google-api-python-client-1.11.0.orig/tests/test_http.py 2020-08-27 23:33:51.000000000 +0200
+++ google-api-python-client-1.11.0/tests/test_http.py 2020-09-10 15:54:13.247410524 +0200
@@ -35,7 +35,7 @@
import logging
import mock
import os
@@ -76,11 +70,10 @@ Index: google-api-python-client-1.8.4/tests/test_http.py
import random
import socket
import ssl
Index: google-api-python-client-1.8.4/tests/test_json_model.py
===================================================================
--- google-api-python-client-1.8.4.orig/tests/test_json_model.py 2020-05-26 22:17:53.000000000 +0200
+++ google-api-python-client-1.8.4/tests/test_json_model.py 2020-06-01 15:50:08.064911523 +0200
@@ -28,7 +28,7 @@ import json
diff -Nru google-api-python-client-1.11.0.orig/tests/test_json_model.py google-api-python-client-1.11.0/tests/test_json_model.py
--- google-api-python-client-1.11.0.orig/tests/test_json_model.py 2020-08-27 23:33:51.000000000 +0200
+++ google-api-python-client-1.11.0/tests/test_json_model.py 2020-09-10 15:54:13.247410524 +0200
@@ -28,7 +28,7 @@
import os
import pkg_resources
import platform
@@ -89,11 +82,10 @@ Index: google-api-python-client-1.8.4/tests/test_json_model.py
import httplib2
import googleapiclient.model
Index: google-api-python-client-1.8.4/tests/test_mocks.py
===================================================================
--- google-api-python-client-1.8.4.orig/tests/test_mocks.py 2020-05-26 22:17:53.000000000 +0200
+++ google-api-python-client-1.8.4/tests/test_mocks.py 2020-06-01 15:50:21.572991364 +0200
@@ -24,7 +24,7 @@ __author__ = "jcgregorio@google.com (Joe
diff -Nru google-api-python-client-1.11.0.orig/tests/test_mocks.py google-api-python-client-1.11.0/tests/test_mocks.py
--- google-api-python-client-1.11.0.orig/tests/test_mocks.py 2020-08-27 23:33:51.000000000 +0200
+++ google-api-python-client-1.11.0/tests/test_mocks.py 2020-09-10 15:54:13.247410524 +0200
@@ -24,7 +24,7 @@
import httplib2
import os
@@ -102,11 +94,10 @@ Index: google-api-python-client-1.8.4/tests/test_mocks.py
from googleapiclient.errors import HttpError
from googleapiclient.errors import UnexpectedBodyError
Index: google-api-python-client-1.8.4/tests/test_model.py
===================================================================
--- google-api-python-client-1.8.4.orig/tests/test_model.py 2020-05-26 22:17:53.000000000 +0200
+++ google-api-python-client-1.8.4/tests/test_model.py 2020-06-01 15:50:35.321072029 +0200
@@ -23,7 +23,7 @@ from __future__ import absolute_import
diff -Nru google-api-python-client-1.11.0.orig/tests/test_model.py google-api-python-client-1.11.0/tests/test_model.py
--- google-api-python-client-1.11.0.orig/tests/test_model.py 2020-08-27 23:33:51.000000000 +0200
+++ google-api-python-client-1.11.0/tests/test_model.py 2020-09-10 15:54:13.247410524 +0200
@@ -23,7 +23,7 @@
__author__ = "jcgregorio@google.com (Joe Gregorio)"
@@ -115,11 +106,10 @@ Index: google-api-python-client-1.8.4/tests/test_model.py
from googleapiclient.model import BaseModel
from googleapiclient.model import makepatch
Index: google-api-python-client-1.8.4/tests/test_protobuf_model.py
===================================================================
--- google-api-python-client-1.8.4.orig/tests/test_protobuf_model.py 2020-05-26 22:17:53.000000000 +0200
+++ google-api-python-client-1.8.4/tests/test_protobuf_model.py 2020-06-01 15:50:53.605179328 +0200
@@ -22,7 +22,7 @@ from __future__ import absolute_import
diff -Nru google-api-python-client-1.11.0.orig/tests/test_protobuf_model.py google-api-python-client-1.11.0/tests/test_protobuf_model.py
--- google-api-python-client-1.11.0.orig/tests/test_protobuf_model.py 2020-08-27 23:33:51.000000000 +0200
+++ google-api-python-client-1.11.0/tests/test_protobuf_model.py 2020-09-10 15:54:13.247410524 +0200
@@ -22,7 +22,7 @@
__author__ = "mmcdonald@google.com (Matt McDonald)"
@@ -128,11 +118,10 @@ Index: google-api-python-client-1.8.4/tests/test_protobuf_model.py
import httplib2
import googleapiclient.model
Index: google-api-python-client-1.8.4/tests/test_schema.py
===================================================================
--- google-api-python-client-1.8.4.orig/tests/test_schema.py 2020-05-26 22:17:53.000000000 +0200
+++ google-api-python-client-1.8.4/tests/test_schema.py 2020-06-01 15:51:08.885268956 +0200
@@ -19,7 +19,7 @@ __author__ = "jcgregorio@google.com (Joe
diff -Nru google-api-python-client-1.11.0.orig/tests/test_schema.py google-api-python-client-1.11.0/tests/test_schema.py
--- google-api-python-client-1.11.0.orig/tests/test_schema.py 2020-08-27 23:33:51.000000000 +0200
+++ google-api-python-client-1.11.0/tests/test_schema.py 2020-09-10 15:54:13.247410524 +0200
@@ -19,7 +19,7 @@
import json
import os

View File

@@ -1,3 +1,31 @@
-------------------------------------------------------------------
Thu Sep 10 14:05:18 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 1.11.0
* add support for mtls env variables (#1008)
- from version 1.10.1
* discovery uses V2 when version is None (#975), closes (#971)
* fix deprecation warnings due to invalid escape sequences. (#996), closes (#995)
* fix link to service accounts documentation (#986)
* update generated docs (#981)
- from version 1.10.0
* allow to use 'six.moves.collections_abc.Mapping' in 'client_options.from_dict()' (#943)
* Build universal wheels (#948)
* discovery supports retries (#967), closes (#848)
* consolidating and updating the Contribution Guide (#964), closes (#963)
- from version 1.9.3
* update GOOGLE_API_USE_MTLS values (#940)
- from version 1.9.2
* bump api-core version (#936)
- from version 1.9.1
* fix python-api-core dependency issue (#931)
- from version 1.9.0
* add mtls feature (#917)
* add templates for python samples projects (#506), (#924)
- Refresh patches for new version
+ python-google-api-python-client-no-unittest2.patch
- Update BuildRequires and Requires from setup.py
-------------------------------------------------------------------
Thu Jun 25 10:42:58 UTC 2020 - pgajdos@suse.com

View File

@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-google-api-python-client
Version: 1.8.4
Version: 1.11.0
Release: 0
Summary: Google APIs Python Client
License: Apache-2.0
@@ -27,20 +27,21 @@ 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.13.0}
BuildRequires: %{python_module google-auth >= 1.4.1}
BuildRequires: %{python_module google-api-core >= 1.18.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 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 uritemplate >= 3.0.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-google-api-core >= 1.13.0
Requires: python-google-auth >= 1.4.1
Requires: python-google-api-core >= 1.18.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