Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-google-auth-httplib2 for 
openSUSE:Factory checked in at 2022-06-08 15:48:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-auth-httplib2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-google-auth-httplib2.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-google-auth-httplib2"

Wed Jun  8 15:48:06 2022 rev:3 rq:981316 version:0.1.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-google-auth-httplib2/python-google-auth-httplib2.changes
  2021-08-26 23:16:44.184176864 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-google-auth-httplib2.new.1548/python-google-auth-httplib2.changes
        2022-06-08 15:48:10.248750405 +0200
@@ -1,0 +2,8 @@
+Wed Jun  8 11:42:08 UTC 2022 - [email protected]
+
+- do not require python-mock for build
+- added patches
+  fix 
https://github.com/googleapis/google-auth-library-python-httplib2/issues/68
+  + python-google-auth-httplib2-no-mock.patch
+
+-------------------------------------------------------------------

New:
----
  python-google-auth-httplib2-no-mock.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-google-auth-httplib2.spec ++++++
--- /var/tmp/diff_new_pack.RXvpDh/_old  2022-06-08 15:48:10.680750859 +0200
+++ /var/tmp/diff_new_pack.RXvpDh/_new  2022-06-08 15:48:10.684750864 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-google-auth-httplib2
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,10 +25,11 @@
 Group:          Development/Languages/Python
 URL:            
https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2
 Source:         
https://files.pythonhosted.org/packages/source/g/google-auth-httplib2/google-auth-httplib2-%{version}.tar.gz
+# https://github.com/googleapis/google-auth-library-python-httplib2/issues/68
+Patch0:         python-google-auth-httplib2-no-mock.patch
 BuildRequires:  %{python_module Flask}
 BuildRequires:  %{python_module google-auth}
 BuildRequires:  %{python_module httplib2 >= 0.15.0}
-BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module pytest-localserver}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
@@ -46,6 +47,7 @@
 
 %prep
 %setup -q -n google-auth-httplib2-%{version}
+%patch0 -p1
 
 %build
 %python_build

++++++ python-google-auth-httplib2-no-mock.patch ++++++
diff -upr google-auth-httplib2-0.1.0.orig/tests/test_google_auth_httplib2.py 
google-auth-httplib2-0.1.0/tests/test_google_auth_httplib2.py
--- google-auth-httplib2-0.1.0.orig/tests/test_google_auth_httplib2.py  
2022-06-08 13:33:16.841483803 +0200
+++ google-auth-httplib2-0.1.0/tests/test_google_auth_httplib2.py       
2022-06-08 13:33:16.845483827 +0200
@@ -13,7 +13,7 @@
 # limitations under the License.
 
 import httplib2
-import mock
+from unittest import mock
 import six
 from six.moves import http_client
 

Reply via email to