1
0

Accepting request 913294 from home:glaubitz:branches:devel:languages:python

- Update to 2.0.1
  * normalize AWS paths correctly on windows (#842)
- from version 2.0.0
  * drop support for Python 2.7 (#778)
  * service account is able to use a private token endpoint (#835)
  * downscoping documentation bugs (#830)
  * Fix missing space in error message. (#821)
  * update user guide/references for downscoped creds (#827)
- from version 1.34.0
  * support refresh callable on google.oauth2.credentials.Credentials (#812)
  * do not use the GAE APIs on gen2+ runtimes (#807)
- from version 1.33.1
  * fallback to source creds expiration in downscoped tokens (#805)
  * revert "feat: service account is able to use a private token endpoint (#784)
- from version 1.33.0
  * define `CredentialAccessBoundary` classes (#793)
  * define `google.auth.downscoped.Credentials` class (#801)
  * service account is able to use a private token endpoint (#784)
  * fix fetch_id_token credential lookup order to match adc (#748)
  * fix code block formatting in 'user-guide.rst' (#794)
- from version 1.32.1
  * avoid leaking sub-session created for '_auth_request' (#789)
- from version 1.32.0
  * allow scopes for self signed jwt (#776)
- from version 1.31.0
  * define useful properties on `google.auth.external_account.Credentials` (#770)
  * avoid deleting items while iterating (#772)
- from version 1.30.2
  * **dependencies:** add urllib3 and requests to aiohttp extra (#755)
  * enforce constraints during unit tests (#760)

OBS-URL: https://build.opensuse.org/request/show/913294
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=30
This commit is contained in:
Markéta Machová 2021-08-20 13:11:54 +00:00 committed by Git OBS Bridge
parent 3e9ae989ae
commit bd0ba2d18d
5 changed files with 85 additions and 4 deletions

View File

@ -0,0 +1,12 @@
diff -Nru google-auth-2.0.1.orig/tests/test__cloud_sdk.py google-auth-2.0.1/tests/test__cloud_sdk.py
--- google-auth-2.0.1.orig/tests/test__cloud_sdk.py 2021-08-19 21:22:12.000000000 +0200
+++ google-auth-2.0.1/tests/test__cloud_sdk.py 2021-08-20 11:09:31.644103701 +0200
@@ -73,7 +73,7 @@
def test__run_subprocess_ignore_stderr():
command = [
- "python",
+ "python3",
"-c",
"from __future__ import print_function;"
+ "import sys;"

View File

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

3
google-auth-2.0.1.tar.gz Normal file
View File

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

View File

@ -1,3 +1,69 @@
-------------------------------------------------------------------
Fri Aug 20 09:17:38 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.0.1
* normalize AWS paths correctly on windows (#842)
- from version 2.0.0
* drop support for Python 2.7 (#778)
* service account is able to use a private token endpoint (#835)
* downscoping documentation bugs (#830)
* Fix missing space in error message. (#821)
* update user guide/references for downscoped creds (#827)
- from version 1.34.0
* support refresh callable on google.oauth2.credentials.Credentials (#812)
* do not use the GAE APIs on gen2+ runtimes (#807)
- from version 1.33.1
* fallback to source creds expiration in downscoped tokens (#805)
* revert "feat: service account is able to use a private token endpoint (#784)
- from version 1.33.0
* define `CredentialAccessBoundary` classes (#793)
* define `google.auth.downscoped.Credentials` class (#801)
* service account is able to use a private token endpoint (#784)
* fix fetch_id_token credential lookup order to match adc (#748)
* fix code block formatting in 'user-guide.rst' (#794)
- from version 1.32.1
* avoid leaking sub-session created for '_auth_request' (#789)
- from version 1.32.0
* allow scopes for self signed jwt (#776)
- from version 1.31.0
* define useful properties on `google.auth.external_account.Credentials` (#770)
* avoid deleting items while iterating (#772)
- from version 1.30.2
* **dependencies:** add urllib3 and requests to aiohttp extra (#755)
* enforce constraints during unit tests (#760)
* session object was never used in aiohttp request (#700)
- from version 1.30.1
* allow user to customize context aware metadata path in _mtls_helper (#754)
* fix function name in signing error message (#751)
- from version 1.30.0
* add reauth support to async user credentials for gcloud (#738)
- from version 1.29.0
* add reauth feature to user credentials for gcloud (#727)
* Allow multiple audiences for id_token.verify_token (#733)
- from version 1.28.1
* support custom alg in jwt header for signing (#729)
- from version 1.28.0
* allow the AWS_DEFAULT_REGION environment variable (#721)
* expose library version at `google.auth.__version` (#683)
* fix unit tests so they can work in g3 (#714)
- from version 1.27.1
* ignore gcloud warning when getting project id (#708)
* use gcloud creds flow (#705)
- from version 1.27.0
* workload identity federation support (#698)
* add pyopenssl as extra dependency (#697)
- from version 1.26.1
* fix a typo in the user guide (avaiable -> available) (#680)
* revert workload identity federation support (#691)
- from version 1.26.0
* workload identity federation support (#686)
- from version 1.25.0
* support self-signed jwt in requests and urllib3 transports (#679)
* use self-signed jwt for service account (#665)
- Add patch to fix filename of Python executable in testsuite
+ ga_python-executable-name.patch
- Update BuildRequires from setup.py
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 6 13:16:24 UTC 2021 - Matthias Fehring <buschmann23@opensuse.org> Wed Jan 6 13:16:24 UTC 2021 - Matthias Fehring <buschmann23@opensuse.org>

View File

@ -20,12 +20,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-google-auth Name: python-google-auth
Version: 1.24.0 Version: 2.0.1
Release: 0 Release: 0
Summary: Google Authentication Library Summary: Google Authentication Library
License: Apache-2.0 License: Apache-2.0
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: ga_python-executable-name.patch
BuildRequires: %{python_module cachetools >= 2.0.0} BuildRequires: %{python_module cachetools >= 2.0.0}
BuildRequires: %{python_module pyasn1-modules >= 0.2.1} BuildRequires: %{python_module pyasn1-modules >= 0.2.1}
BuildRequires: %{python_module rsa >= 3.1.4} BuildRequires: %{python_module rsa >= 3.1.4}
@ -40,6 +41,7 @@ BuildRequires: %{python_module oauth2client}
BuildRequires: %{python_module pyOpenSSL} BuildRequires: %{python_module pyOpenSSL}
BuildRequires: %{python_module pytest-localserver} BuildRequires: %{python_module pytest-localserver}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pyu2f}
BuildRequires: %{python_module requests} BuildRequires: %{python_module requests}
BuildRequires: %{python_module responses} BuildRequires: %{python_module responses}
BuildRequires: %{python_module urllib3} BuildRequires: %{python_module urllib3}
@ -59,6 +61,7 @@ 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