1
0

- 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
This commit is contained in:
Tomáš Chvátal 2020-04-28 08:00:21 +00:00 committed by Git OBS Bridge
parent 2c8f8c46cf
commit 2fe3942ed9
5 changed files with 27 additions and 39 deletions

View File

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

View File

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

View File

@ -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)

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Apr 28 07:49:44 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- 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 <tchvatal@suse.com> Mon Jul 22 08:06:53 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-google-auth # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,42 +18,34 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-google-auth Name: python-google-auth
Version: 1.6.3 Version: 1.14.1
Release: 0 Release: 0
Summary: Google Authentication Library Summary: Google Authentication Library
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/GoogleCloudPlatform/google-auth-library-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 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 Flask}
BuildRequires: %{python_module cachetools} BuildRequires: %{python_module cachetools >= 2.0.0}
BuildRequires: %{python_module cryptography} BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module mock} BuildRequires: %{python_module mock}
BuildRequires: %{python_module oauth2client-gce} BuildRequires: %{python_module oauth2client-gce}
BuildRequires: %{python_module oauth2client} BuildRequires: %{python_module oauth2client}
BuildRequires: %{python_module pyasn1-modules} BuildRequires: %{python_module pyasn1-modules >= 0.2.1}
BuildRequires: %{python_module pyasn1}
BuildRequires: %{python_module pytest-localserver} BuildRequires: %{python_module pytest-localserver}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests} BuildRequires: %{python_module requests}
BuildRequires: %{python_module rsa} BuildRequires: %{python_module responses}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module rsa >= 3.1.4}
BuildRequires: %{python_module six} BuildRequires: %{python_module setuptools >= 40.3.0}
BuildRequires: %{python_module urllib3} BuildRequires: %{python_module six >= 1.9.0}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-cachetools Requires: python-cachetools >= 2.0.0
Requires: python-cryptography Requires: python-pyasn1-modules >= 0.2.1
Requires: python-oauth2client Requires: python-rsa >= 3.1.4
Requires: python-oauth2client-gce Requires: python-setuptools >= 40.3.0
Requires: python-pyasn1 Requires: python-six >= 1.9.0
Requires: python-pyasn1-modules
Requires: python-requests
Requires: python-rsa
Requires: python-setuptools
Requires: python-six
Requires: python-urllib3
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@ -62,7 +54,6 @@ This library simplifies using Googles various server-to-server authentication
%prep %prep
%setup -q -n google-auth-%{version} %setup -q -n google-auth-%{version}
%patch0 -p1
%build %build
%python_build %python_build