Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-google-api-python-client for
openSUSE:Factory checked in at 2022-08-15 19:58:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-api-python-client (Old)
and /work/SRC/openSUSE:Factory/.python-google-api-python-client.new.1521
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-api-python-client"
Mon Aug 15 19:58:24 2022 rev:21 rq:995084 version:2.56.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-google-api-python-client/python-google-api-python-client.changes
2022-04-16 00:15:01.797711647 +0200
+++
/work/SRC/openSUSE:Factory/.python-google-api-python-client.new.1521/python-google-api-python-client.changes
2022-08-15 20:00:37.241461703 +0200
@@ -1,0 +2,10 @@
+Mon Aug 15 05:38:58 UTC 2022 - Steve Kowalik <[email protected]>
+
+- Update to 2.56.0:
+ * * : update the api
+ * deps: require google-auth 1.19.0 (#1824) (7f478ae)
+ * deps: require python 3.7+
+ * test: Switch to unittest.mock
+- Refresh patches.
+
+-------------------------------------------------------------------
Old:
----
google-api-python-client-2.44.0.tar.gz
New:
----
google-api-python-client-2.56.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-google-api-python-client.spec ++++++
--- /var/tmp/diff_new_pack.Qy7RQY/_old 2022-08-15 20:00:37.709463009 +0200
+++ /var/tmp/diff_new_pack.Qy7RQY/_new 2022-08-15 20:00:37.717463030 +0200
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-google-api-python-client
-Version: 2.44.0
+Version: 2.56.0
Release: 0
Summary: Google APIs Python Client
License: Apache-2.0
@@ -29,10 +29,9 @@
# the distro has to remove it at some point
Patch0: opensuse-remove-oauth2client-tests.patch
BuildRequires: %{python_module google-api-core >= 1.31.5}
-BuildRequires: %{python_module google-auth >= 1.16.0}
+BuildRequires: %{python_module google-auth >= 1.19.0}
BuildRequires: %{python_module google-auth-httplib2 >= 0.1.0}
BuildRequires: %{python_module httplib2 >= 0.15.0}
-BuildRequires: %{python_module mock}
BuildRequires: %{python_module pandas}
BuildRequires: %{python_module parameterized}
BuildRequires: %{python_module pytest}
@@ -41,7 +40,7 @@
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-google-api-core >= 1.31.5
-Requires: python-google-auth >= 1.16.0
+Requires: python-google-auth >= 1.19.0
Requires: python-google-auth-httplib2 >= 0.1.0
Requires: python-httplib2 >= 0.15.0
Requires: python-uritemplate >= 3.0.1
++++++ google-api-python-client-2.44.0.tar.gz ->
google-api-python-client-2.56.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-google-api-python-client/google-api-python-client-2.44.0.tar.gz
/work/SRC/openSUSE:Factory/.python-google-api-python-client.new.1521/google-api-python-client-2.56.0.tar.gz
differ: char 5, line 1
++++++ opensuse-remove-oauth2client-tests.patch ++++++
--- /var/tmp/diff_new_pack.Qy7RQY/_old 2022-08-15 20:00:37.789463231 +0200
+++ /var/tmp/diff_new_pack.Qy7RQY/_new 2022-08-15 20:00:37.793463243 +0200
@@ -1,8 +1,8 @@
-Index: google-api-python-client-2.44.0/tests/test__auth.py
+Index: google-api-python-client-2.56.0/tests/test__auth.py
===================================================================
---- google-api-python-client-2.44.0.orig/tests/test__auth.py
-+++ google-api-python-client-2.44.0/tests/test__auth.py
-@@ -18,7 +18,6 @@ import mock
+--- google-api-python-client-2.56.0.orig/tests/test__auth.py
++++ google-api-python-client-2.56.0/tests/test__auth.py
+@@ -18,7 +18,6 @@ from unittest import mock
import google.auth.credentials
import google_auth_httplib2
import httplib2
@@ -22,7 +22,7 @@
def test_default_credentials(self):
with mock.patch("google.auth.default", autospec=True) as default:
-@@ -103,75 +100,12 @@ class TestAuthWithGoogleAuth(unittest.Te
+@@ -105,75 +102,12 @@ class TestAuthWithGoogleAuth(unittest.Te
self.assertGreater(authorized_http.http.timeout, 0)
@@ -98,20 +98,20 @@
def test_default_credentials(self):
with self.assertRaises(EnvironmentError):
-Index: google-api-python-client-2.44.0/tests/test_discovery.py
+Index: google-api-python-client-2.56.0/tests/test_discovery.py
===================================================================
---- google-api-python-client-2.44.0.orig/tests/test_discovery.py
-+++ google-api-python-client-2.44.0/tests/test_discovery.py
-@@ -82,8 +82,6 @@ from googleapiclient.http import MediaUp
- from googleapiclient.http import tunnel_patch
- from googleapiclient.model import JsonModel
- from googleapiclient.schema import Schemas
+--- google-api-python-client-2.56.0.orig/tests/test_discovery.py
++++ google-api-python-client-2.56.0/tests/test_discovery.py
+@@ -43,8 +43,6 @@ import google.auth.credentials
+ from google.auth.exceptions import MutualTLSChannelError
+ import google_auth_httplib2
+ import httplib2
-from oauth2client import GOOGLE_TOKEN_URI
--from oauth2client.client import OAuth2Credentials, GoogleCredentials
-
+-from oauth2client.client import GoogleCredentials, OAuth2Credentials
+ from parameterized import parameterized
+ import uritemplate
- from googleapiclient import _helpers as util
-@@ -1420,14 +1418,6 @@ class Discovery(unittest.TestCase):
+@@ -1498,14 +1496,6 @@ class Discovery(unittest.TestCase):
self.assertTrue(getattr(plus, "activities"))
self.assertTrue(getattr(plus, "people"))
@@ -126,7 +126,7 @@
def test_google_auth_credentials(self):
credentials = mock.Mock(spec=google.auth.credentials.Credentials)
discovery = read_datafile("plus.json")
-@@ -2088,36 +2078,6 @@ class Discovery(unittest.TestCase):
+@@ -2166,36 +2156,6 @@ class Discovery(unittest.TestCase):
http.request = wrapped_request
return http