From 2fe3942ed944b418b291064b96e2e5dc8d9453ac8ff7d8c5e4d24785c03aa7a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 28 Apr 2020 08:00:21 +0000 Subject: [PATCH] - Update to 1.14.1: * Many bugixes all around - Remove no longer needed patch: * pytest5.patch - Update the dependencies to match up setup.py and what upstream really requires OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=16 --- google-auth-1.14.1.tar.gz | 3 +++ google-auth-1.6.3.tar.gz | 3 --- pytest5.patch | 13 ------------- python-google-auth.changes | 10 ++++++++++ python-google-auth.spec | 37 ++++++++++++++----------------------- 5 files changed, 27 insertions(+), 39 deletions(-) create mode 100644 google-auth-1.14.1.tar.gz delete mode 100644 google-auth-1.6.3.tar.gz delete mode 100644 pytest5.patch diff --git a/google-auth-1.14.1.tar.gz b/google-auth-1.14.1.tar.gz new file mode 100644 index 0000000..ac59ee8 --- /dev/null +++ b/google-auth-1.14.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e63b2210e03c4ed829063b72c4af0c4b867c2788efb3210b6b9439b488bd3afd +size 101834 diff --git a/google-auth-1.6.3.tar.gz b/google-auth-1.6.3.tar.gz deleted file mode 100644 index 3691557..0000000 --- a/google-auth-1.6.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0f7c6a64927d34c1a474da92cfc59e552a5d3b940d3266606c6a28b72888b9e4 -size 80899 diff --git a/pytest5.patch b/pytest5.patch deleted file mode 100644 index ce266b4..0000000 --- a/pytest5.patch +++ /dev/null @@ -1,13 +0,0 @@ -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) diff --git a/python-google-auth.changes b/python-google-auth.changes index 8c13745..d5f1464 100644 --- a/python-google-auth.changes +++ b/python-google-auth.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Apr 28 07:49:44 UTC 2020 - Tomáš Chvátal + +- Update to 1.14.1: + * Many bugixes all around +- Remove no longer needed patch: + * pytest5.patch +- Update the dependencies to match up setup.py and what upstream + really requires + ------------------------------------------------------------------- Mon Jul 22 08:06:53 UTC 2019 - Tomáš Chvátal diff --git a/python-google-auth.spec b/python-google-auth.spec index 8482ee1..9ea1ee3 100644 --- a/python-google-auth.spec +++ b/python-google-auth.spec @@ -1,7 +1,7 @@ # # spec file for package python-google-auth # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,42 +18,34 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-google-auth -Version: 1.6.3 +Version: 1.14.1 Release: 0 Summary: Google Authentication Library License: Apache-2.0 -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 cachetools >= 2.0.0} BuildRequires: %{python_module cryptography} +BuildRequires: %{python_module freezegun} BuildRequires: %{python_module mock} BuildRequires: %{python_module oauth2client-gce} BuildRequires: %{python_module oauth2client} -BuildRequires: %{python_module pyasn1-modules} -BuildRequires: %{python_module pyasn1} +BuildRequires: %{python_module pyasn1-modules >= 0.2.1} BuildRequires: %{python_module pytest-localserver} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests} -BuildRequires: %{python_module rsa} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six} -BuildRequires: %{python_module urllib3} +BuildRequires: %{python_module responses} +BuildRequires: %{python_module rsa >= 3.1.4} +BuildRequires: %{python_module setuptools >= 40.3.0} +BuildRequires: %{python_module six >= 1.9.0} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-cachetools -Requires: python-cryptography -Requires: python-oauth2client -Requires: python-oauth2client-gce -Requires: python-pyasn1 -Requires: python-pyasn1-modules -Requires: python-requests -Requires: python-rsa -Requires: python-setuptools -Requires: python-six -Requires: python-urllib3 +Requires: python-cachetools >= 2.0.0 +Requires: python-pyasn1-modules >= 0.2.1 +Requires: python-rsa >= 3.1.4 +Requires: python-setuptools >= 40.3.0 +Requires: python-six >= 1.9.0 BuildArch: noarch %python_subpackages @@ -62,7 +54,6 @@ This library simplifies using Google’s various server-to-server authentication %prep %setup -q -n google-auth-%{version} -%patch0 -p1 %build %python_build