Hello community,
here is the log from the commit of package python-google-auth for openSUSE:Factory checked in at 2019-07-30 13:04:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-auth (Old)
and /work/SRC/openSUSE:Factory/.python-google-auth.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-auth"
Tue Jul 30 13:04:01 2019 rev:7 rq:717466 version:1.6.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-google-auth/python-google-auth.changes 2019-03-29 20:35:31.426546888 +0100
+++ /work/SRC/openSUSE:Factory/.python-google-auth.new.4126/python-google-auth.changes 2019-07-30 13:04:02.886406417 +0200
@@ -1,0 +2,6 @@
+Mon Jul 22 08:06:53 UTC 2019 - Tomáš Chvátal
+
+- Add patch to build with pytest5:
+ * pytest5.patch
+
+-------------------------------------------------------------------
New:
----
pytest5.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-google-auth.spec ++++++
--- /var/tmp/diff_new_pack.ss7LTm/_old 2019-07-30 13:04:03.442406298 +0200
+++ /var/tmp/diff_new_pack.ss7LTm/_new 2019-07-30 13:04:03.450406296 +0200
@@ -25,6 +25,7 @@
Group: Development/Languages/Python
URL: https://github.com/GoogleCloudPlatform/google-auth-library-python
Source: https://files.pythonhosted.org/packages/source/g/google-auth/google-auth-%{version}.tar.gz
+Patch0: pytest5.patch
BuildRequires: %{python_module Flask}
BuildRequires: %{python_module cachetools}
BuildRequires: %{python_module cryptography}
@@ -61,6 +62,7 @@
%prep
%setup -q -n google-auth-%{version}
+%patch0 -p1
%build
%python_build
++++++ pytest5.patch ++++++
Index: google-auth-1.6.3/tests/test__default.py
===================================================================
--- google-auth-1.6.3.orig/tests/test__default.py
+++ google-auth-1.6.3/tests/test__default.py
@@ -92,7 +92,7 @@ def test__load_credentials_from_file_aut
def test__load_credentials_from_file_authorized_user_cloud_sdk():
- with pytest.warns(UserWarning, matches='Cloud SDK'):
+ with pytest.warns(UserWarning, match='Cloud SDK'):
credentials, project_id = _default._load_credentials_from_file(
AUTHORIZED_USER_CLOUD_SDK_FILE)
assert isinstance(credentials, google.oauth2.credentials.Credentials)