1
0

127 Commits

Author SHA256 Message Date
7244c113f4 Accepting request 1320345 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1320345
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=60
2025-12-02 12:18:29 +00:00
4f8b89fba8 - Add upstream pytest9.patch to fix tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=125
2025-11-27 13:44:54 +00:00
75e08467ab Accepting request 1316970 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1316970
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=59
2025-11-11 18:19:38 +00:00
1c151ff518 - Update to version 2.43.0
* Add public wrapper for _mtls_helper.check_use_client_cert which
    enables mTLS if GOOGLE_API_USE_CLIENT_CERTIFICATE is not set,
    when the MWID/X.509 cert sources detected (#1859) Add public
    wrapper for check_use_client_cert which enables mTLS if
    GOOGLE_API_USE_CLIENT_CERTIFICATE is not set, when the MWID/X.509
    cert sources detected. Also, fix check_use_client_cert to return
    boolean value.
    Change #1848 added the check_use_client_cert method that helps know
    if client cert should be used for mTLS connection. However, that was
    in a private class, thus, created a public wrapper of the same function
    so that it can be used by python Client Libraries. Also, updated
    check_use_client_cert to return a boolean value instead of existing
    string value for better readability and future scope.
  * Enable mTLS if GOOGLE_API_USE_CLIENT_CERTIFICATE  is not set, if
    the MWID/X.509 cert sources detected (#1848) The Python SDK will
    use a hybrid approach for mTLS enablement:
  * If the GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable is set
    (either true or false), the SDK will respect that setting. This is
    necessary for test scenarios and users who need to explicitly control
    mTLS behavior.
  * If the GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable is not
    set, the SDK will automatically enable mTLS only if it detects Managed
    Workload Identity (MWID) or X.509 Workforce Identity Federation (WIF)
    certificate sources. In other cases where the variable is not set, mTLS
    will remain disabled.
    ** This change also adds the helper method `check_use_client_cert` and
       it's unit test, which will be used for checking the criteria for setting
       the mTLS to true
    ** This change is only for Auth-Library, other changes will be created

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=123
2025-11-10 17:02:50 +00:00
2edae15cf3 Accepting request 1315328 from devel:languages:python
Forwarded request #1315294 from glaubitz

- Update to version 2.42.1
    * Catch ValueError for json.loads() (#1842)
  - from version 2.42.0
    * Add trust boundary support for external accounts. (#1809)
    * Read scopes from ADC json for impersoanted cred (#1820)
  - Refresh python-google-auth-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/1315328
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=58
2025-11-04 17:40:39 +00:00
7f0eb7ddd1 - Update to version 2.42.1
* Catch ValueError for json.loads() (#1842)
- from version 2.42.0
  * Add trust boundary support for external accounts. (#1809)
  * Read scopes from ADC json for impersoanted cred (#1820)
- Refresh python-google-auth-no-mock.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=121
2025-11-03 14:37:15 +00:00
655e371e78 Accepting request 1311034 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1311034
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=57
2025-10-14 16:05:48 +00:00
e21e9d9f67 - Update to version 2.41.1
* Suppress deprecation warning for ADC (#1815)
- from version 2.41.0
  * Add support for cachetools 6.0 (#1773)
  * Add trust boundary support for service accounts and impersonation. (#1778)
  * Deprecating load_credentials_from_dict (58b66ec)
  * Fix type error in credentials.py for python 3.7 and 3.8 (#1805)
  * Update user guide to include x509 feature. (#1802)
- Refresh patches for new version
  * python-google-auth-no-mock.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=119
2025-10-13 08:52:09 +00:00
f8c9888498 Accepting request 1285541 from devel:languages:python
- Convert to pip-based build

- Update to version 2.40.3
  * Auth fetch token from default endpoint (#1779)
  * Remove unnecessary call to mds service (#1769)
  * Retry 504 errors (#1767)

OBS-URL: https://build.opensuse.org/request/show/1285541
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=56
2025-06-14 14:17:18 +00:00
c400bf075a - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=117
2025-06-13 15:25:51 +00:00
9e52cf27dc - Update to version 2.40.3
* Auth fetch token from default endpoint (#1779)
  * Remove unnecessary call to mds service (#1769)
  * Retry 504 errors (#1767)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=116
2025-06-13 10:47:22 +00:00
eeb001c5ba Accepting request 1281290 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1281290
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=55
2025-05-31 17:14:38 +00:00
413d891197 - Update to version 2.40.2
* Remove sync response logs in AuthorizedSession
  * Update test to consider new error message from cryptography (#1765)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=114
2025-05-30 07:58:02 +00:00
384672a2f1 Accepting request 1278548 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1278548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=54
2025-05-23 12:27:33 +00:00
42ffe31aeb Accepting request 1278404 from home:glaubitz:branches:devel:languages:python
- Update to version 2.40.1
  * Disable logging response body for async logs (#1756)
- from version 2.40.0
  * Add request response logging to auth (#1678)
  * Correct webauthn JSON parsing to be compliant with standard. (#1658)
- from version 2.39.0
  * Adds GA support for X.509 workload identity federation (#1695)
  * Add impersonated SA via local ADC support for fetch_id_token (#1740)
  * Add missing packaging dependency for feature requiring urllib3 (#1732)
  * Add request timeout for MDS requests (#1699)
  * Explicitly declare support for Python 3.13 ([#1741)
- Refresh python-google-auth-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/1278404
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=112
2025-05-20 08:16:44 +00:00
8bb7122fa7 Accepting request 1243430 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1243430
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=53
2025-02-06 21:01:59 +00:00
f70b877889 - Skip test broken with new pyOpenSSL
* as pyOpenSSL should not be used anymore and continues deprecating 
    functionality, this library should really be migrated to cryptography,
    otherwise we are facing serious problems in the future
  * https://github.com/googleapis/google-auth-library-python/issues/1665

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=110
2025-02-05 15:49:04 +00:00
f62a355999 Accepting request 1242604 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1242604
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=52
2025-02-04 17:09:46 +00:00
3b28091878 - Update to version 2.38.0
* Adding domain-wide delegation flow in impersonated credential (#1624) (34ee3fe)
  * Add warnings regarding consuming externally sourced credentials (d049370)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=108
2025-02-03 10:03:09 +00:00
aaac06d6f2 Accepting request 1236166 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1236166
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=51
2025-01-12 10:10:15 +00:00
26773a3c4f - Update to version 2.37.0
* Allow users to use jwk keys for verifying ID token (#1641)
- from version 2.36.1
  * Improve user guide for Impersonation and SA (#1627)
- Update BuildRequires and Recommends from setup.py

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=106
2025-01-09 12:17:02 +00:00
4de666e778 Accepting request 1228735 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1228735
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=50
2024-12-08 10:36:24 +00:00
fbb0c7ef60 - Update to version 2.36.0
* IAM signblob retries (#1600)
  * Making IAM endpoint universe-aware (#1604)
  * Support External Account Authorized User as a Source
    Credential for impersonated credentials in ADC (#1608)
  * Adding default parameters to updated interfaces (#1622)
  * Change universe_domain to universe-domain (#1613)
  * Remove base class to avoid type conflict (#1619)
  * Revert templates for iam endpoints (#1614)
  * Update secret (#1611)
  * Update secret (#1617)
  * Update secret (#1621)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=104
2024-12-06 10:36:02 +00:00
ea96425ea8 Accepting request 1204964 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1204964
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=49
2024-10-03 16:00:01 +00:00
38dfc3a89c - Update to version 2.35.0
* Add cred info to ADC creds (#1587)
  * Add support for asynchronous `AuthorizedSession` api (#1577)
  * Remove token_info call from token refresh path (#1595)
- Refresh patches for new version
  * python-google-auth-no-mock.patch
- Updates BuildRequires from setup.py

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=102
2024-10-01 15:50:17 +00:00
1215c29649 Accepting request 1201612 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1201612
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=48
2024-09-18 13:26:36 +00:00
95656c2673 - Update to version 2.34.0
* **auth:** Update get_client_ssl_credentials to support X.509 workload certs (#1558)
  * Retry token request on retryable status code (#1563)
- from version 2.33.0
  * Implement async `StaticCredentials` using access tokens (#1559)
  * Implement base classes for credentials and request sessions (#1551)
  * **metadata:** Enhance retry logic for metadata server access in _metadata.py (#1545)
  * Update argument for Credentials initialization (#1557)
- Refresh patches for new version
  * python-google-auth-no-mock.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=100
2024-09-17 12:28:19 +00:00
d1355b60ce Accepting request 1186602 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1186602
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=47
2024-07-11 18:29:24 +00:00
95aa5e467f Accepting request 1186355 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1186355
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=46
2024-07-09 18:03:02 +00:00
5049d655b6 Accepting request 1185759 from home:glaubitz:branches:devel:languages:python
- Update to version 2.31.0
  * Adds X509 workload cert logic (#1527)
  * Added py.typed to MANIFEST.in (#1526)
  * Pass trust_env kwarg to ClientSession (#1533)

OBS-URL: https://build.opensuse.org/request/show/1185759
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=96
2024-07-09 10:04:44 +00:00
839ee48869 Accepting request 1185401 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1185401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=45
2024-07-05 17:45:15 +00:00
84cfdd8e41 Accepting request 1185340 from home:glaubitz:branches:devel:languages:python
- Update to version 2.30.0
  * Add WebAuthn plugin component to handle WebAuthn get assertion request (#1464)
  * ECP Provider drop cryptography requirement (#1524)
  * Enable webauthn plugin for security keys (#1528)
  * Fix id_token iam endpoint for non-gdu service credentials (#1506)
  * Makes default token_url universe aware (#1514)
- Refresh patches for new version
  * python-google-auth-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/1185340
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=94
2024-07-04 13:19:17 +00:00
9820916367 Accepting request 1174861 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1174861
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=44
2024-05-20 16:09:41 +00:00
ca0ec94ea6 Accepting request 1174827 from home:glaubitz:branches:devel:languages:python
- Update to version 2.29.0
  * Adds support for custom suppliers in AWS and Identity Pool credentials (#1496)
  * Refactor tech debt in aws and identity pool credentials (#1501)
- from version 2.28.2
  * Remove gce log for expected 404 (#1491)
- from version 2.28.1
  * Typo when setting the state for the pickle deserializer. (#1479)
- from version 2.28.0
  * Adding universe domain support for downscroped credentials (#1463)
  * Change log level to debug for return_none_for_not_found_error (#1473)
  * Make requests import conditional for gce universe domain (#1476)
- Refresh patches for new version
  * python-google-auth-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/1174827
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=92
2024-05-17 13:13:32 +00:00
60007c0b0d Accepting request 1160417 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1160417
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=43
2024-03-26 18:24:13 +00:00
76233bd1ab - Do not force transition to Python 3.11 it breaks SUMa
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=90
2024-03-14 15:57:00 +00:00
5ce10c2dcb Accepting request 1157354 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1157354
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=42
2024-03-13 21:16:04 +00:00
9e12b67ed3 Accepting request 1154917 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1154917
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=41
2024-03-06 22:04:15 +00:00
0735cb4e39 - Obsolete Python 3.6 build for SLE 15 SP4 and openSUSE Leap 15.4 and later
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=87
2024-03-05 20:47:29 +00:00
c39cbd37f9 - Version update in SLE 15 SP4 and later (jsc#PED-6697)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=86
2024-02-26 20:27:52 +00:00
c5c437afa1 Accepting request 1143977 from devel:languages:python
- update to 2.27.0:
  * Add optional account association for Authorized User
    credentials.
  * Allow custom universe domain for gce creds
  * Conditionally import requests only if no request was passed
    by the caller.

OBS-URL: https://build.opensuse.org/request/show/1143977
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=40
2024-02-06 15:32:24 +00:00
5d70b6bf37 - update to 2.27.0:
* Add optional account association for Authorized User
    credentials.
  * Allow custom universe domain for gce creds
  * Conditionally import requests only if no request was passed
    by the caller.
- update to 2.26.2:
  * Read universe_domain for external account authorized user
- update to 2.26.1:
  * Ensure that refresh worker is pickle-able.
- update to 2.26.0:
  * Add optional non blocking refresh for sync auth code
  * Add optional non blocking refresh for sync auth code
  * External account user cred universe domain support
  * Guard delete statements. Add default fallback for
    _use_non_blocking_refresh.
- update to 2.25.2:
  * Fix user cred universe domain issue
- update to 2.25.1:
  * Fix vm universe_domain bug
- update to 2.25.0:
  * Add custom tls signer for ECP Provider.
  * Add custom tls signer for ECP Provider.
  * Add with_universe_domain
  * Fixes issue where Python37DeprecationWarning cannot be
    filtered
- update to 2.24.0:
  * Add support for Python 3.12
  * Add universe domain support for VM cred
  * Modify the token refresh window

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=84
2024-02-04 10:13:52 +00:00
1f08d7742e Accepting request 1138146 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1138146
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=39
2024-01-12 22:44:42 +00:00
0f26e1a684 Accepting request 1138141 from home:glaubitz:branches:devel:languages:python
- Update to 2.26.2
  * Read universe_domain for external account authorized user (#1450)

OBS-URL: https://build.opensuse.org/request/show/1138141
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=82
2024-01-11 15:12:59 +00:00
1728c54431 Accepting request 1136770 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1136770
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=38
2024-01-05 21:59:55 +00:00
e009efa82e Accepting request 1136757 from home:glaubitz:branches:devel:languages:python
- Update to 2.26.1
  * Ensure that refresh worker is pickle-able. (#1447)
- from version 2.26.0
  * Add optional non blocking refresh for sync auth code (a6dc2c3)
  * Add optional non blocking refresh for sync auth code (#1368)
  * External account user cred universe domain support (#1437)
  * Guard delete statements. Add default fallback for _use_non_blocking_refresh. (#1445)
- Refresh patches for new version
  * python-google-auth-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/1136757
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=80
2024-01-04 10:40:39 +00:00
9267817aff Accepting request 1133637 from devel:languages:python
- update to 2.25.2:
  * Fix user cred universe domain issue (#1436)

OBS-URL: https://build.opensuse.org/request/show/1133637
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=37
2023-12-17 20:28:59 +00:00
83f72f0c12 - update to 2.25.2:
* Fix user cred universe domain issue (#1436)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=78
2023-12-16 19:27:32 +00:00
a313e3347d Accepting request 1131735 from devel:languages:python
- update to 2.25.1:
  * Fix vm universe_domain bug (#1433) (8683520)
  * Add custom tls signer for ECP Provider. (39eb287)
  * Add custom tls signer for ECP Provider. (#1402) (39eb287)
  * Add with_universe_domain (#1408) (505910c)
  * Fixes issue where Python37DeprecationWarning cannot be
    filtered (#1428) (f22f767)
  * Remove broken link in Python37DeprecationWarning (#1430)
  * Add support for Python 3.12 (#1421) (307916c)
  * Add universe domain support for VM cred (#1409) (7ab0fce)
  * Modify the token refresh window (#1419) (c6af1d6)
  * Add missing before request to async oauth2 credentials.
    (#1420) (8eaa878)
  * Auto create self signed jwt cred (#1418) (6c610a5)
  * Migrate datetime.utcnow for python 3.12 (#1413) (e4d9c27)
  * Update user cred doc (#1414) (3f426bc)

  * Less restrictive content-type header check for google authentication
 * Add get_bq_config_path() to _cloud_sdk.py
- unpin urllib3 to resolve conflict with python-kubernetes
  * migrate signBlob to iamcredentials.googleapis.com
  * encrypted mtls private key support
  * signBytes for impersonated credentials
  * catch exceptions.RefreshError

OBS-URL: https://build.opensuse.org/request/show/1131735
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=36
2023-12-09 21:49:03 +00:00
06f00e5ea7 - update to 2.25.1:
* Fix vm universe_domain bug (#1433) (8683520)
  * Add custom tls signer for ECP Provider. (39eb287)
  * Add custom tls signer for ECP Provider. (#1402) (39eb287)
  * Add with_universe_domain (#1408) (505910c)
  * Fixes issue where Python37DeprecationWarning cannot be
    filtered (#1428) (f22f767)
  * Remove broken link in Python37DeprecationWarning (#1430)
  * Add support for Python 3.12 (#1421) (307916c)
  * Add universe domain support for VM cred (#1409) (7ab0fce)
  * Modify the token refresh window (#1419) (c6af1d6)
  * Add missing before request to async oauth2 credentials.
    (#1420) (8eaa878)
  * Auto create self signed jwt cred (#1418) (6c610a5)
  * Migrate datetime.utcnow for python 3.12 (#1413) (e4d9c27)
  * Update user cred doc (#1414) (3f426bc)
  * Less restrictive content-type header check for google authentication
 * Add get_bq_config_path() to _cloud_sdk.py
- unpin urllib3 to resolve conflict with python-kubernetes
  * migrate signBlob to iamcredentials.googleapis.com
  * encrypted mtls private key support
  * signBytes for impersonated credentials
  * catch exceptions.RefreshError

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=76
2023-12-07 22:38:25 +00:00
ac3873bd54 Accepting request 1128592 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1128592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=35
2023-11-26 18:36:33 +00:00
0facd0114d Accepting request 1128590 from home:glaubitz:branches:devel:languages:python
- Update to 2.23.4
  * Export detect_gce_residency_linux function (#1403)
- from version 2.23.3
  * Serialize signer keys on __getstate__ for pickling (#1394),
    closes (#1383)

OBS-URL: https://build.opensuse.org/request/show/1128590
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=74
2023-11-24 14:09:00 +00:00
219ca00c78 Accepting request 1115071 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1115071
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=34
2023-10-04 20:30:42 +00:00
ec1664221e Accepting request 1115013 from home:mcalabkova:branches:devel:languages:python
- update to 2.23.2
  * Less restrictive content-type header check for google authentication 
  * Trust boundary meta header renaming
  * Support urllib3 2.0

OBS-URL: https://build.opensuse.org/request/show/1115013
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=72
2023-10-03 20:52:45 +00:00
a9aa213e58 Accepting request 1112803 from home:mimi_vx:branches:devel:languages:python
- refresh python-google-auth-no-mock.patch
- update to 2.23.0
 * Expose universe domain in credentials
 * Make external_account resistant to string type 'expires_in' responses from non-compliant services
 * Missing ssj for impersonate cred ()
 * Skip checking projectid on cred if env var is set
 * Add get_bq_config_path() to _cloud_sdk.py

OBS-URL: https://build.opensuse.org/request/show/1112803
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=71
2023-09-21 16:51:37 +00:00
b676736f09 Accepting request 1103816 from devel:languages:python
- unpin urllib3 to resolve conflict with python-kubernetes 

- Fix not installable error

- Update to 2.22.0
  * Adding meta header for trust boundary (#1334)
  * Introduce compatibility with native namespace packages (#1205)
  * Deprecate UserAccessTokenCredentials (#1344)
- Update file list in %files section

- Require python-urllib3 < 2.0 if python-urllib3: urllib3 seems not
  strictly required, but when it's there, we need it to be older
  than version 2.0.

OBS-URL: https://build.opensuse.org/request/show/1103816
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=33
2023-08-16 12:16:29 +00:00
ff1f53c804 - unpin urllib3 to resolve conflict with python-kubernetes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=69
2023-08-14 09:05:38 +00:00
b7930c98b0 Accepting request 1100639 from home:ecsos:python
- Fix not installable error

OBS-URL: https://build.opensuse.org/request/show/1100639
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=68
2023-07-26 14:26:02 +00:00
d4c65819e9 Accepting request 1099243 from home:glaubitz:branches:devel:languages:python
- Update to 2.22.0
  * Adding meta header for trust boundary (#1334)
  * Introduce compatibility with native namespace packages (#1205)
  * Deprecate UserAccessTokenCredentials (#1344)
- Update file list in %files section

OBS-URL: https://build.opensuse.org/request/show/1099243
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=67
2023-07-19 14:26:06 +00:00
51ad9b1d1e Accepting request 1097897 from home:dimstar:Factory
- Require python-urllib3 < 2.0 if python-urllib3: urllib3 seems not
  strictly required, but when it's there, we need it to be older
  than version 2.0.

OBS-URL: https://build.opensuse.org/request/show/1097897
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=66
2023-07-10 09:48:25 +00:00
946ae18d77 Accepting request 1095589 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1095589
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=32
2023-06-29 15:27:45 +00:00
e119883536 Accepting request 1095583 from home:glaubitz:branches:devel:languages:python
- Update to 2.21.0
  * Add framework for BYOID metrics headers (#1332)
  * Pypy unit test build (#1335)
- from version 2.20.0
  * Add public API load_credentials_from_dict (#1326)
  * Expiry in compute_engine.IDTokenCredentials (#1327), closes (#1323)
  * Expiry in impersonated_credentials.IDTokenCredentials (#1330)
  * Invalid `dev` version identifiers in `setup.py` (#1322), closes (#1321)
- from version 2.19.1
  * Check id token error response (#1315)
  * Fix "AttributeError: 'str' object has no attribute 'get'" (dac7cc3)
  * Replacing abc.com with example.com (dac7cc3)
- from version 2.19.0
  * Add metrics (part 1) (#1298)
  * Add metrics (part 2) (#1303)
  * Add metrics (part 3) (#1305)
  * Expose `universe_domain` for external account creds (#1296)
  * Remove python 2.7 from setup.py and nox tests (#1301)
- from version 2.18.1
  * Self signed jwt token should be string type (#1294)
- from version 2.18.0
  * Add smbios check to detect GCE residency (#1276)
  * Universe domain support for service account (#1286)
- Refresh patches for new version
  * python-google-auth-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/1095583
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=64
2023-06-27 11:07:04 +00:00
117b342d7b Accepting request 1089287 from devel:languages:python
- drop urllib3-2.patch and limit to urllib3 < 2.x as that
  matches the requires and avoids coinstallability isuses

OBS-URL: https://build.opensuse.org/request/show/1089287
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=31
2023-05-30 20:02:03 +00:00
06ef50339a - drop urllib3-2.patch and limit to urllib3 < 2.x as that
matches the requires and avoids coinstallability isuses

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=62
2023-05-27 07:27:00 +00:00
0d82f693e3 Accepting request 1085995 from devel:languages:python
- Add urllib3-2.patch to support newer urllib3 -- gh#googleapis/google-auth-library-python#1290
- Remove no-python3.patch
- Update to 2.17.3:
  * Add useEmailAzp claim for id token iam flow (#1270) (7a9c6f2)
- 2.17.2:
  * Do not create new JWT credentials if they make the same claims as
    the existing. (#1267) (eebb7b6)
- 2.17.1:
  * Print out reauth plugin error and raise if challenge output is
    None (#1265) (08d22fe)
- 2.17.0:
  * Experimental service account iam endpoint flow for id token
    (#1258) (8ff0de5)
  * Python: Remove aws url validation (#1254) (20a966b)
- 2.16.3:
  * Read both applicationId and relyingPartyId. (#1246) (e125dfe)
- 2.16.2:
  * Call gcloud config get project to get project for user cred
    (#1243) (c078a13)
  * Do not use hardcoded string 'python', when you mean
    sys.executable. (#1233) (91ac8e6)
  * Don't retry if error or error_description is not string (#1241)
    (e2d263a)
  * Improve ADC related errors and warnings (#1237) (2dfa213)

OBS-URL: https://build.opensuse.org/request/show/1085995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=30
2023-05-19 09:55:10 +00:00
2466116199 - Add urllib3-2.patch to support newer urllib3 -- gh#googleapis/google-auth-library-python#1290
- Remove no-python3.patch
- Update to 2.17.3:
  * Add useEmailAzp claim for id token iam flow (#1270) (7a9c6f2)
- 2.17.2:
  * Do not create new JWT credentials if they make the same claims as
    the existing. (#1267) (eebb7b6)
- 2.17.1:
  * Print out reauth plugin error and raise if challenge output is
    None (#1265) (08d22fe)
- 2.17.0:
  * Experimental service account iam endpoint flow for id token
    (#1258) (8ff0de5)
  * Python: Remove aws url validation (#1254) (20a966b)
- 2.16.3:
  * Read both applicationId and relyingPartyId. (#1246) (e125dfe)
- 2.16.2:
  * Call gcloud config get project to get project for user cred
    (#1243) (c078a13)
  * Do not use hardcoded string 'python', when you mean
    sys.executable. (#1233) (91ac8e6)
  * Don't retry if error or error_description is not string (#1241)
    (e2d263a)
  * Improve ADC related errors and warnings (#1237) (2dfa213)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=60
2023-05-10 07:33:05 +00:00
15aead8403 Accepting request 1081905 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081905
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=29
2023-04-22 20:00:42 +00:00
1ba68139d3 Accepting request 1081424 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081424
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=58
2023-04-21 14:34:25 +00:00
78bfa494e0 Accepting request 1072128 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1072128
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=28
2023-03-17 16:02:20 +00:00
73ed1a413d Accepting request 1072127 from home:dirkmueller:acdc
- Remove conflicts and clean up SPEC file.

OBS-URL: https://build.opensuse.org/request/show/1072127
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=56
2023-03-15 14:34:28 +00:00
44bb2c25ea Accepting request 1069120 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1069120
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=27
2023-03-04 21:42:16 +00:00
714215fd61 Accepting request 1068671 from home:glaubitz:branches:devel:languages:python
- Update to 2.16.1
  * Add support for python 3.11 (#1212)
  * Remove 3PI config url validation (#1220)
  * Update the docs generator interpreter to unblock documentation build (#1218)
- from version 2.16.0
  * AwsCredentials should not call metadata server if security creds and region
    are retrievable through the environment variables (#1195)
  * Wrap all python built-in exceptions into library excpetions (#1191)
  * Allow get_project_id to take a request (#1203)
  * Make OAUTH2.0 client resistant to string type 'expires_in' responses from
    non-compliant services (#1208)
- Drop obsolete patches
  * ga_python-executable-name.patch
- Refresh patches for new version
  * no-python3.patch

OBS-URL: https://build.opensuse.org/request/show/1068671
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=54
2023-03-03 09:27:50 +00:00
f55683f229 Accepting request 1067210 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1067210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=26
2023-02-25 18:54:17 +00:00
61dfd155d6 Accepting request 1067209 from home:dirkmueller:acdc
- Add no-python3.patch replacing call of the
  string literal 'python3' with sys.executable
  (gh#googleapis/google-auth-library-python!1233).

OBS-URL: https://build.opensuse.org/request/show/1067209
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=52
2023-02-22 20:10:17 +00:00
7b162632d4 Accepting request 1039574 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1039574
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=25
2022-12-03 09:03:18 +00:00
be9b275f44 Accepting request 1039539 from home:glaubitz:branches:devel:languages:python
- Update to 2.15.0
  * Add api_key credentials (#1184)
  * Introduce a way to provide scopes granted by user (#1189)
  * Allow mtls sts endpoint for external account token urls. (#1185)
  * CI broken by removal of py.path (#1194)
  * Ensure JWT segments have the right types (#1162)
  * Updated the lower bound of interactive timeout and fix the kwarg… (#1182)

OBS-URL: https://build.opensuse.org/request/show/1039539
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=50
2022-12-02 12:19:18 +00:00
28f365e18d Accepting request 1036286 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1036286
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=24
2022-11-17 16:23:32 +00:00
0bbcc08a11 Accepting request 1036254 from home:glaubitz:branches:devel:languages:python
- Update to 2.14.1
  * Apply quota project for compute cred in adc (#1177)
  * Update minimum required version of cryptography in pyopenssl extra (#1176)
  * Validate url domain for aws metadata urls (#1174)
- Update Requires from setup.py

OBS-URL: https://build.opensuse.org/request/show/1036254
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=48
2022-11-16 19:19:36 +00:00
f551033ae6 Accepting request 1034434 from devel:languages:python
- Clean up SPEC file, make rpmlint happy.
- Update to 2.14.0
  * Add token_info_url to external account credentials (#1168)
  * Read Quota Project from Environment Variable (#1163)
  * Adding more properties to external_account_authorized_user (#1169)
- from version 2.13.0
  * Adds new external account authorized user credentials (#1160)
  * Implement pluggable auth interactive mode (#1131)
  * Introduce the functionality to override token_uri in credentials (#1159)
  * Adding one more pattern to relax the regex check for sts and
    impersonation url endpoints (#1158)
- Refresh patches for new version
  * python-google-auth-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/1034434
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=23
2022-11-09 11:56:14 +00:00
bbc2634665 - Clean up SPEC file, make rpmlint happy.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=46
2022-11-08 07:20:04 +00:00
8fde43a32b Accepting request 1034209 from home:glaubitz:branches:devel:languages:python
- Update to 2.14.0
  * Add token_info_url to external account credentials (#1168)
  * Read Quota Project from Environment Variable (#1163)
  * Adding more properties to external_account_authorized_user (#1169)
- from version 2.13.0
  * Adds new external account authorized user credentials (#1160)
  * Implement pluggable auth interactive mode (#1131)
  * Introduce the functionality to override token_uri in credentials (#1159)
  * Adding one more pattern to relax the regex check for sts and
    impersonation url endpoints (#1158)
- Refresh patches for new version
  * python-google-auth-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/1034209
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=45
2022-11-08 07:13:30 +00:00
6c92b5b47d Accepting request 1010915 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1010915
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=22
2022-10-15 14:34:57 +00:00
00c858f559 Accepting request 1010710 from home:glaubitz:branches:devel:languages:python
- Update to 2.12.0
  * Retry behavior (#1113)
  * Modify RefreshError exception to use gcloud ADC command. (#1149)
  * Revert "Update token refresh threshold from 20 seconds to 5 minutes". (186464b)
- Refresh patches for new version
  * python-google-auth-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/1010710
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=43
2022-10-14 12:17:32 +00:00
334ebd4260 Accepting request 1001931 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1001931
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=21
2022-09-09 16:22:51 +00:00
c4cc388532 Accepting request 1001906 from home:glaubitz:branches:devel:languages:python
- Update to 2.11.0
  * add integration tests for configurable token lifespan (#1103)
  * Async certificate retrieving (#1101)
- from version 2.10.0
  * add integration tests for pluggable auth (#1073)
  * support for configurable token lifetime (0dc6a9a)
  * support for configurable token lifetime (#1079)
  * async certificate decoding (#1085)
  * Async system tests were not unwrapping async_generators (#1086)
  * Fix IDTokenCredentials update bug [#1072)
  * make expiration_time optional in response schema (#1091)
  * refactor credential subclass parameters (#1095)
- from version 2.9.1
  * there was a raise missing for throwing exceptions (#1077)
- from version 2.9.0
  * pluggable auth support (#1045)
- from version 2.8.0
  * add experimental GDCH support (#1044)
- Refresh patches for new version
  * python-google-auth-no-mock.patch

    * add experimental enterprise cert support
    * add experimental GDCH support
    * Pluggable auth support
    * validate urls for external accounts
    * revert experimental GDCH support
    * fix changelog header to consistent size
    * silence TypeError during tear down stage
    * add additional missing import in _default.py
    * fix missing import in _default.py

OBS-URL: https://build.opensuse.org/request/show/1001906
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=41
2022-09-08 15:39:55 +00:00
5bc7a2f1ba Accepting request 981276 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/981276
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=20
2022-06-09 12:09:24 +00:00
9a04fcdacd Accepting request 981267 from home:pgajdos:python
- version update to 2.7.0
  ## [2.7.0]
    * add experimental enterprise cert support 
    * add experimental GDCH support 
    * Pluggable auth support 
    * validate urls for external accounts 
    * pluggable auth support [#995]
    * revert experimental GDCH support 
    * fix changelog header to consistent size 
  ## [2.6.6]
    * silence TypeError during tear down stage 
  ## [2.6.5]
    * add additional missing import in _default.py 
  ## [2.6.4]
    * fix missing import in _default.py 
- added patches
  fix https://github.com/googleapis/google-auth-library-python/issues/1055
  + python-google-auth-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/981267
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=39
2022-06-08 09:45:48 +00:00
dbe853848e Accepting request 980908 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/980908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=19
2022-06-06 09:10:08 +00:00
b47ae83ed2 Accepting request 980658 from home:mcalabkova:branches:devel:languages:python
- Update to 2.6.6
  * fix missing import in _default.py
  * add additional missing import in _default.py
  * silence TypeError during tear down stage

OBS-URL: https://build.opensuse.org/request/show/980658
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=37
2022-06-05 16:42:44 +00:00
676e17f526 Accepting request 970265 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/970265
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=18
2022-04-17 21:49:43 +00:00
8799faaf04 Accepting request 970247 from home:bnavigator:branches:devel:languages:python
- Don't test the converter for the deprecated oauth2client library

OBS-URL: https://build.opensuse.org/request/show/970247
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=35
2022-04-15 04:36:32 +00:00
b84ad840b9 Accepting request 968048 from devel:languages:python
- Improve %files to be more restrictive.
- Update to 2.6.3
  Bug Fixes
  * change requests lib import place (#1010)
  * clean up HTTP session and pool during tear down phase (#1007)
  * pin click version and update sys test creds (#1008)
- from version 2.6.2
  Bug Fixes
  * Rename aws imdsv2 url field and update token lifetime (#982)
  Miscellaneous Chores
  * let release-please finish the release (#991)
- from version 2.6.1
  Bug Fixes
  * Add AWS session token to metadata requests (#958)
- from version 2.6.0
  Features
  * ADC can load an impersonated service account credentials. (#962)
  Bug Fixes
  * revert "feat: add api key support (#826)

OBS-URL: https://build.opensuse.org/request/show/968048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=17
2022-04-11 22:13:52 +00:00
072b1352cf - Improve %files to be more restrictive.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=33
2022-04-09 19:20:55 +00:00
8f4c0c6c1f Accepting request 967831 from home:glaubitz:branches:devel:languages:python
- Update to 2.6.3
  Bug Fixes
  * change requests lib import place (#1010)
  * clean up HTTP session and pool during tear down phase (#1007)
  * pin click version and update sys test creds (#1008)
- from version 2.6.2
  Bug Fixes
  * Rename aws imdsv2 url field and update token lifetime (#982)
  Miscellaneous Chores
  * let release-please finish the release (#991)
- from version 2.6.1
  Bug Fixes
  * Add AWS session token to metadata requests (#958)
- from version 2.6.0
  Features
  * ADC can load an impersonated service account credentials. (#962)
  Bug Fixes
  * revert "feat: add api key support (#826)

OBS-URL: https://build.opensuse.org/request/show/967831
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=32
2022-04-09 18:47:33 +00:00
2c8b6a1ab8 Accepting request 949687 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/949687
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=16
2022-01-29 19:57:35 +00:00
2196786dce Accepting request 949379 from home:buschmann23:branches:devel:languages:python
- Update to 2.5.0
  * ADC can load an impersonated service account credentials. (#965)
- from version 2.4.1
  * fix urrlib3 import (gh#googleapis/google-auth-library-python#953)
- from version 2.4.0
  * add 'py.typed' declaration (#919)
  * add api key support (#826)
  * deps: allow cachetools 5.0 for python 3.7+
    (gh#googleapis/google-auth-library-python#937)
  * fix the message format for metadata server exception
    (gh#googleapis/google-auth-library-python#916)
- from version 2.3.3
  * add fetch_id_token_credentials (gh#googleapis/google-auth-library-python#866)
  * fix error in sign_bytes (gh#googleapis/google-auth-library-python#905)
  * use 'int.to_bytes' and 'int.from_bytes' for py3
    (gh#googleapis/google-auth-library-python#904)
- from version 2.3.2
  * add clock_skew_in_seconds to verify_token functions
    (gh#googleapis/google-auth-library-python#894)
- from version 2.3.1
  * add back python 2.7 for gcloud usage only
    (gh#googleapis/google-auth-library-python#892)
- from version 2.3.0
  * add support for Python 3.10 (#882)
  * ADC with impersonated workforce pools
    (gh#googleapis/google-auth-library-python#877)
- from version 2.2.1
  * disable self signed jwt for domain wide delegation
    (gh#googleapis/google-auth-library-python#873)
- from version 2.2.0
  * add support for workforce pool credentials (#868)
- from version 2.1.0
  * Improve handling of clock skew (#858)
  * add SAML challenge to reauth
    (gh#googleapis/google-auth-library-python#819)
  * disable warning if quota project id provided to auth.default()
    (gh#googleapis/google-auth-library-python#856)
  * rename CLOCK_SKEW and separate client/server user case
    (gh#googleapis/google-auth-library-python#863)
- from version 2.0.2
  * use 'int.to_bytes' rather than deprecated crypto wrapper
    (gh#googleapis/google-auth-library-python#848)
  * use int.from_bytes (gh#googleapis/google-auth-library-python#846)

OBS-URL: https://build.opensuse.org/request/show/949379
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=31
2022-01-28 13:16:45 +00:00
3b4474fd9c Accepting request 913349 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/913349
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=15
2021-08-25 18:55:59 +00:00
bd0ba2d18d 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
2021-08-20 13:11:54 +00:00
4d29a2b324 Accepting request 860750 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/860750
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=14
2021-01-08 16:33:10 +00:00
3e9ae989ae Accepting request 860736 from home:buschmann23:branches:devel:languages:python
- Update to 1.24.0
  * add Python 3.9 support, drop Python 3.5 support
    (gh#googleapis/google-auth-library-python#654)
  * avoid losing the original '_include_email' parameter in impersonated
    credentials (gh#googleapis/google-auth-library-python#626)
- from version 1.23.0
  * Add custom scopes for access tokens from the metadata service
    (gh#googleapis/google-auth-library-python#633)
  * remove checks for ancient versions of Cryptography
- from version 1.22.1
  * move aiohttp to extra as it is currently internal surface
    (gh#googleapis/google-auth-library-python#619)
- from version 1.22.0
  * add asyncio based auth flow
    (gh#googleapis/google-auth-library-python#612)
- from version 1.21.3
  * fix expiry for to_json()
    (gh#googleapis/google-auth-library-python#589)
- Skip build for python2 as it is not supported anymore and unit tests
  can not be run because of unsatisfiable dependencies (mock >= 3.6)
- Add urllib3 to the build requirements needed for testing and remove
  cryptography

OBS-URL: https://build.opensuse.org/request/show/860736
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=28
2021-01-06 14:16:09 +00:00
5535c7560d Accepting request 836319 from devel:languages:python
- update to 1.21.2:
  * migrate signBlob to iamcredentials.googleapis.com

OBS-URL: https://build.opensuse.org/request/show/836319
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=13
2020-09-25 14:21:37 +00:00
11d7aa4e5e - update to 1.21.2:
* migrate signBlob to iamcredentials.googleapis.com

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=26
2020-09-23 13:06:18 +00:00
543fff9461 Accepting request 833484 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/833484
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=12
2020-09-15 14:15:32 +00:00
bb180f0b2b Accepting request 833479 from home:glaubitz:branches:devel:languages:python
- Update to 1.21.1
  * dummy commit to trigger a auto release (#597)
- from version 1.21.0
  * add GOOGLE_API_USE_CLIENT_CERTIFICATE support (#592)
- from version 1.20.1
  * reduce refresh clock skew to 10 seconds (#581)
  * set Content-Type header in the request to signBlob API
    to avoid Invalid JSON payload error (#439)
- from version 1.20.0
  * Add debug logging that can help with diagnosing auth lib. path (#473)
  * Show the transport exception that happened for GCE Metadata (#474)
  * **packaging:** add support for Python 3.8 (#569), closes (#568)
- from version 1.19.2
  * Revert "fix: migrate signBlob to iamcredentials.googleapis.com"  (#563)
- from version 1.19.1
  * don't add empty quota project  (#560)
- from version 1.19.0
  * add quota project to base credentials class (#546)
  * check 'iss' in `verify_oauth2_token` (#500)
  * migrate signBlob to iamcredentials.googleapis.com (#553)
  * remove 3.4 from supported versions list (#549)
- from version 1.18.0
  * make ``load_credentials_from_file`` a public method (#530)
  * no warning if quota_project_id is given (#537)

OBS-URL: https://build.opensuse.org/request/show/833479
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=24
2020-09-10 13:51:44 +00:00
3792e17d69 Accepting request 817774 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/817774
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=11
2020-06-30 19:54:54 +00:00
Tomáš Chvátal
d1231f0e25 Accepting request 817752 from home:seanmarlow:branches:devel:languages:python
- Add missing pyOpenSSL test dependency which is listed upstream.

OBS-URL: https://build.opensuse.org/request/show/817752
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=22
2020-06-29 19:17:56 +00:00
e210871c07 Accepting request 815724 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/815724
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=10
2020-06-21 16:52:00 +00:00
Tomáš Chvátal
f540f387b2 Accepting request 815721 from home:glaubitz:branches:devel:languages:python
- Update to 1.17.2
  + Bug Fixes
    * narrow acceptable RSA versions to maintain Python 2 compatability (#528)
- from version 1.17.1
  + Features
    * add quota_project_id to service accounts; add with_quota_project methods (#519)
- from version 1.16.1
  + Bug Fixes
    * fix impersonated cred exception doc (#521)
    * replace environment variable GCE_METADATA_ROOT with GCE_METADATA_HOST (#433)
- from version 1.16.0
  + Features
    * add helper func to for default encrypted cert (#514)
  + Bug Fixes
    * fix impersonated cred for gcloud (#516)

OBS-URL: https://build.opensuse.org/request/show/815721
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=20
2020-06-18 11:14:06 +00:00
c886ef3c13 Accepting request 808798 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/808798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=9
2020-06-05 17:58:42 +00:00
Tomáš Chvátal
0f6868e7a5 Accepting request 808736 from home:polslinux:branches:devel:languages:python
- Update to 1.15.0:
  * encrypted mtls private key support 
  * signBytes for impersonated credentials 
  * catch exceptions.RefreshError 
  * support string type response.data

OBS-URL: https://build.opensuse.org/request/show/808736
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=18
2020-05-25 13:36:01 +00:00
164c264ac0 Accepting request 798566 from devel:languages:python
- 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/request/show/798566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=8
2020-05-01 09:06:21 +00:00
Tomáš Chvátal
2fe3942ed9 - 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
2020-04-28 08:00:21 +00:00
68af506011 Accepting request 717466 from devel:languages:python
- Add patch to build with pytest5:
  * pytest5.patch

OBS-URL: https://build.opensuse.org/request/show/717466
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=7
2019-07-30 11:04:01 +00:00
Tomáš Chvátal
2c8f8c46cf - Add patch to build with pytest5:
* pytest5.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=14
2019-07-22 08:09:21 +00:00
738edbd5a2 Accepting request 685333 from devel:languages:python
- Update to 1.6.3:
  * follow rfc 7515 : strip padding from JWS segments #324 (#324)
  * Add retry to _metadata.ping() (#323)
  * Announce deprecation of Python 2.7 (#311)
  * Link all the PRs in CHANGELOG (#307)
  * Automatically refresh impersonated credentials (#304)
  * Add google.auth.impersonated_credentials (#299)
  * Enable static type checking with pytype (#298)
  * Make classifiers in setup.py an array. (#280)
- Drop oauth-no-appengine.patch should not be needed

OBS-URL: https://build.opensuse.org/request/show/685333
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=6
2019-03-29 19:35:30 +00:00
Tomáš Chvátal
3596303ac4 - Update to 1.6.3:
* follow rfc 7515 : strip padding from JWS segments #324 (#324)
  * Add retry to _metadata.ping() (#323)
  * Announce deprecation of Python 2.7 (#311)
  * Link all the PRs in CHANGELOG (#307)
  * Automatically refresh impersonated credentials (#304)
  * Add google.auth.impersonated_credentials (#299)
  * Enable static type checking with pytype (#298)
  * Make classifiers in setup.py an array. (#280)
- Drop oauth-no-appengine.patch should not be needed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=12
2019-03-15 11:33:48 +00:00
1ece8da704 Accepting request 659397 from devel:languages:python
- Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659397
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=5
2018-12-19 12:53:46 +00:00
66f7961cc0 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=10
2018-12-04 13:30:20 +00:00
f075a4042e Accepting request 635375 from devel:languages:python
- update to 1.5.1:
  - Fix check for error text on Python 3.7. (#278)
  - Use new Auth URIs. (#281)
  - Add code-of-conduct document. (#270)
  - Fix some typos in test_urllib3.py (#268)
  - Warn when using user credentials from the Cloud SDK (#266)
  - Add compute engine-based IDTokenCredentials (#236)
  - Corrected some typos (#265)

OBS-URL: https://build.opensuse.org/request/show/635375
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=4
2018-09-13 22:01:16 +00:00
0fce0e0c9c - update to 1.5.1:
- Fix check for error text on Python 3.7. (#278)
  - Use new Auth URIs. (#281)
  - Add code-of-conduct document. (#270)
  - Fix some typos in test_urllib3.py (#268)
  - Warn when using user credentials from the Cloud SDK (#266)
  - Add compute engine-based IDTokenCredentials (#236)
  - Corrected some typos (#265)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=8
2018-09-12 20:02:07 +00:00
ecac8b326c Accepting request 612907 from devel:languages:python
- update to 1.4.2:
  - Raise a helpful exception when trying to refresh credentials without
    a refresh token. (#262)
  - Fix links to README and CONTRIBUTING in docs/index.rst. (#260)
  - Fix a typo in credentials.py. (#256)
  - Use pytest instead of py.test per upstream recommendation,
    #dropthedot. (#255)
  - Fix typo on exemple of jwt usage (#245)
- Drop Flask from Requires. It is only needed for testing

OBS-URL: https://build.opensuse.org/request/show/612907
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=3
2018-06-02 10:08:44 +00:00
e1d088457e - update to 1.4.2:
- Raise a helpful exception when trying to refresh credentials without
    a refresh token. (#262)
  - Fix links to README and CONTRIBUTING in docs/index.rst. (#260)
  - Fix a typo in credentials.py. (#256)
  - Use pytest instead of py.test per upstream recommendation,
    #dropthedot. (#255)
  - Fix typo on exemple of jwt usage (#245)
- Drop Flask from Requires. It is only needed for testing

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=6
2018-05-29 16:00:25 +00:00
b769b02772 Accepting request 605288 from devel:languages:python
- Add patch to not check for oauth appengine which we disable in
  openSUSE:
  * oauth-no-appengine.patch

- Fix fdupes call and run tests

- New upstream release (bsc#1088358)
  + Version 1.4.1
    - Added a check for the cryptography version before attempting to use it.
  + From version 1.4.0
    - Added `cryptography`-based RSA signer and verifier.
    - Added `google.oauth2.service_account.IDTokenCredentials`.
    - Improved documentation around ID Tokens
  + From version 1.3.0
    - Added ``google.oauth2.credentials.Credentials.from_authorized_user_file``.
    - Dropped direct pyasn1 dependency in favor of letting ``pyasn1-modules``
      specify the right version.
    - ``default()`` now checks for the project ID environment var before
      warning about missing project ID.
    - Fixed the docstrings for ``has_scopes()`` and ``with_scopes()``.
    - Fixed example in docstring for ``ReadOnlyScoped``.
    - Made ``transport.requests`` use timeouts and retries
      to improve reliability.

OBS-URL: https://build.opensuse.org/request/show/605288
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=2
2018-05-10 13:48:29 +00:00
Tomáš Chvátal
66afd5b943 - Add patch to not check for oauth appengine which we disable in
openSUSE:
  * oauth-no-appengine.patch

- Fix fdupes call and run tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=4
2018-05-08 10:27:28 +00:00
Tomáš Chvátal
15a9bfa6a7 Accepting request 605113 from home:glaubitz:branches:devel:languages:python
- New upstream release (bsc#1088358)
  + Version 1.4.1
    - Added a check for the cryptography version before attempting to use it.
  + From version 1.4.0
    - Added `cryptography`-based RSA signer and verifier.
    - Added `google.oauth2.service_account.IDTokenCredentials`.
    - Improved documentation around ID Tokens
  + From version 1.3.0
    - Added ``google.oauth2.credentials.Credentials.from_authorized_user_file``.
    - Dropped direct pyasn1 dependency in favor of letting ``pyasn1-modules``
      specify the right version.
    - ``default()`` now checks for the project ID environment var before
      warning about missing project ID.
    - Fixed the docstrings for ``has_scopes()`` and ``with_scopes()``.
    - Fixed example in docstring for ``ReadOnlyScoped``.
    - Made ``transport.requests`` use timeouts and retries
      to improve reliability.

OBS-URL: https://build.opensuse.org/request/show/605113
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=3
2018-05-07 13:52:18 +00:00
f20b422944 Accepting request 584491 from devel:languages:python
Needed for python-kubernetes

OBS-URL: https://build.opensuse.org/request/show/584491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=1
2018-03-09 09:46:46 +00:00
91c8408225 Accepting request 542949 from home:mcalmer:branches:devel:languages:python
new package

OBS-URL: https://build.opensuse.org/request/show/542949
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=1
2017-11-19 19:18:26 +00:00
6 changed files with 432 additions and 181 deletions

View File

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

View File

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

50
pytest9.patch Normal file
View File

@@ -0,0 +1,50 @@
From 5c372a92bf5086f1b63eaa8979fc13c5c0ce9dc9 Mon Sep 17 00:00:00 2001
From: Lingqing Gan <lingqing.gan@gmail.com>
Date: Mon, 10 Nov 2025 15:58:56 -0800
Subject: [PATCH] chore: update secret and fix pytest issue (#1868)
---
system_tests/secrets.tar.enc | Bin 10324 -> 10324 bytes
tests/transport/aio/test_sessions.py | 22 ++++++++++++++++------
2 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/tests/transport/aio/test_sessions.py b/tests/transport/aio/test_sessions.py
index c91a7c40a..742f863d0 100644
--- a/tests/transport/aio/test_sessions.py
+++ b/tests/transport/aio/test_sessions.py
@@ -32,8 +32,13 @@
@pytest.fixture
-async def simple_async_task():
- return True
+def simple_async_task():
+ # Wrap async fixture within a synchronous fixture to suppress pytest.PytestRemovedIn9Warning
+ # See https://docs.pytest.org/en/stable/deprecations.html#sync-test-depending-on-async-fixture
+ async def inner_fixture():
+ return True
+
+ return inner_fixture()
class MockRequest(Request):
@@ -151,10 +156,15 @@ class TestAsyncAuthorizedSession(object):
credentials = AnonymousCredentials()
@pytest.fixture
- async def mocked_content(self):
- content = [b"Cavefish ", b"have ", b"no ", b"sight."]
- for chunk in content:
- yield chunk
+ def mocked_content(self):
+ # Wrap async fixture within a synchronous fixture to suppress pytest.PytestRemovedIn9Warning
+ # See https://docs.pytest.org/en/stable/deprecations.html#sync-test-depending-on-async-fixture
+ async def inner_fixture():
+ content = [b"Cavefish ", b"have ", b"no ", b"sight."]
+ for chunk in content:
+ yield chunk
+
+ return inner_fixture()
@pytest.mark.asyncio
async def test_constructor_with_default_auth_request(self):

View File

@@ -1,18 +1,18 @@
diff -Nru google-auth-2.30.0.orig/tests/compute_engine/test_credentials.py google-auth-2.30.0/tests/compute_engine/test_credentials.py
--- google-auth-2.30.0.orig/tests/compute_engine/test_credentials.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/compute_engine/test_credentials.py 2024-07-04 10:10:10.154047522 +0200
@@ -14,7 +14,7 @@
import base64
diff -Nru google_auth-2.42.1.orig/tests/compute_engine/test_credentials.py google_auth-2.42.1/tests/compute_engine/test_credentials.py
--- google_auth-2.42.1.orig/tests/compute_engine/test_credentials.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/compute_engine/test_credentials.py 2025-11-03 13:35:00.328319088 +0100
@@ -15,7 +15,7 @@
import datetime
import os
-import mock
+from unittest import mock
import pytest # type: ignore
import responses # type: ignore
diff -Nru google-auth-2.30.0.orig/tests/compute_engine/test__metadata.py google-auth-2.30.0/tests/compute_engine/test__metadata.py
--- google-auth-2.30.0.orig/tests/compute_engine/test__metadata.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/compute_engine/test__metadata.py 2024-07-04 10:10:10.157380876 +0200
diff -Nru google_auth-2.42.1.orig/tests/compute_engine/test__metadata.py google_auth-2.42.1/tests/compute_engine/test__metadata.py
--- google_auth-2.42.1.orig/tests/compute_engine/test__metadata.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/compute_engine/test__metadata.py 2025-11-03 13:35:00.330609617 +0100
@@ -18,7 +18,7 @@
import json
import os
@@ -22,9 +22,9 @@ diff -Nru google-auth-2.30.0.orig/tests/compute_engine/test__metadata.py google-
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google-auth-2.30.0.orig/tests/conftest.py google-auth-2.30.0/tests/conftest.py
--- google-auth-2.30.0.orig/tests/conftest.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/conftest.py 2024-07-04 10:10:10.064046957 +0200
diff -Nru google_auth-2.42.1.orig/tests/conftest.py google_auth-2.42.1/tests/conftest.py
--- google_auth-2.42.1.orig/tests/conftest.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/conftest.py 2025-11-03 13:35:00.252989012 +0100
@@ -15,7 +15,7 @@
import os
import sys
@@ -34,9 +34,9 @@ diff -Nru google-auth-2.30.0.orig/tests/conftest.py google-auth-2.30.0/tests/con
import pytest # type: ignore
diff -Nru google-auth-2.30.0.orig/tests/crypt/test__python_rsa.py google-auth-2.30.0/tests/crypt/test__python_rsa.py
--- google-auth-2.30.0.orig/tests/crypt/test__python_rsa.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/crypt/test__python_rsa.py 2024-07-04 10:10:10.184047711 +0200
diff -Nru google_auth-2.42.1.orig/tests/crypt/test__python_rsa.py google_auth-2.42.1/tests/crypt/test__python_rsa.py
--- google_auth-2.42.1.orig/tests/crypt/test__python_rsa.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/crypt/test__python_rsa.py 2025-11-03 13:35:00.352876856 +0100
@@ -16,7 +16,7 @@
import json
import os
@@ -46,9 +46,9 @@ diff -Nru google-auth-2.30.0.orig/tests/crypt/test__python_rsa.py google-auth-2.
from pyasn1_modules import pem # type: ignore
import pytest # type: ignore
import rsa # type: ignore
diff -Nru google-auth-2.30.0.orig/tests/oauth2/test_challenges.py google-auth-2.30.0/tests/oauth2/test_challenges.py
--- google-auth-2.30.0.orig/tests/oauth2/test_challenges.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/oauth2/test_challenges.py 2024-07-04 10:10:10.130714042 +0200
diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_challenges.py google_auth-2.42.1/tests/oauth2/test_challenges.py
--- google_auth-2.42.1.orig/tests/oauth2/test_challenges.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/oauth2/test_challenges.py 2025-11-03 13:35:00.307598245 +0100
@@ -18,7 +18,7 @@
import os
import sys
@@ -58,9 +58,9 @@ diff -Nru google-auth-2.30.0.orig/tests/oauth2/test_challenges.py google-auth-2.
import pytest # type: ignore
import pyu2f # type: ignore
diff -Nru google-auth-2.30.0.orig/tests/oauth2/test__client.py google-auth-2.30.0/tests/oauth2/test__client.py
--- google-auth-2.30.0.orig/tests/oauth2/test__client.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/oauth2/test__client.py 2024-07-04 10:10:10.117380625 +0200
diff -Nru google_auth-2.42.1.orig/tests/oauth2/test__client.py google_auth-2.42.1/tests/oauth2/test__client.py
--- google_auth-2.42.1.orig/tests/oauth2/test__client.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/oauth2/test__client.py 2025-11-03 13:35:00.296759967 +0100
@@ -18,7 +18,7 @@
import os
import urllib
@@ -70,9 +70,9 @@ diff -Nru google-auth-2.30.0.orig/tests/oauth2/test__client.py google-auth-2.30.
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google-auth-2.30.0.orig/tests/oauth2/test_credentials.py google-auth-2.30.0/tests/oauth2/test_credentials.py
--- google-auth-2.30.0.orig/tests/oauth2/test_credentials.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/oauth2/test_credentials.py 2024-07-04 10:10:10.124047334 +0200
diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_credentials.py google_auth-2.42.1/tests/oauth2/test_credentials.py
--- google_auth-2.42.1.orig/tests/oauth2/test_credentials.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/oauth2/test_credentials.py 2025-11-03 13:35:00.301089606 +0100
@@ -18,7 +18,7 @@
import pickle
import sys
@@ -82,9 +82,9 @@ diff -Nru google-auth-2.30.0.orig/tests/oauth2/test_credentials.py google-auth-2
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google-auth-2.30.0.orig/tests/oauth2/test_gdch_credentials.py google-auth-2.30.0/tests/oauth2/test_gdch_credentials.py
--- google-auth-2.30.0.orig/tests/oauth2/test_gdch_credentials.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/oauth2/test_gdch_credentials.py 2024-07-04 10:10:10.110713917 +0200
diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_gdch_credentials.py google_auth-2.42.1/tests/oauth2/test_gdch_credentials.py
--- google_auth-2.42.1.orig/tests/oauth2/test_gdch_credentials.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/oauth2/test_gdch_credentials.py 2025-11-03 13:35:00.289843323 +0100
@@ -17,7 +17,7 @@
import json
import os
@@ -94,9 +94,9 @@ diff -Nru google-auth-2.30.0.orig/tests/oauth2/test_gdch_credentials.py google-a
import pytest # type: ignore
import requests
diff -Nru google-auth-2.30.0.orig/tests/oauth2/test_id_token.py google-auth-2.30.0/tests/oauth2/test_id_token.py
--- google-auth-2.30.0.orig/tests/oauth2/test_id_token.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/oauth2/test_id_token.py 2024-07-04 10:10:10.110713917 +0200
diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_id_token.py google_auth-2.42.1/tests/oauth2/test_id_token.py
--- google_auth-2.42.1.orig/tests/oauth2/test_id_token.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/oauth2/test_id_token.py 2025-11-03 13:35:00.291748012 +0100
@@ -15,7 +15,7 @@
import json
import os
@@ -106,9 +106,9 @@ diff -Nru google-auth-2.30.0.orig/tests/oauth2/test_id_token.py google-auth-2.30
import pytest # type: ignore
from google.auth import environment_vars
diff -Nru google-auth-2.30.0.orig/tests/oauth2/test_reauth.py google-auth-2.30.0/tests/oauth2/test_reauth.py
--- google-auth-2.30.0.orig/tests/oauth2/test_reauth.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/oauth2/test_reauth.py 2024-07-04 10:10:10.127380688 +0200
diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_reauth.py google_auth-2.42.1/tests/oauth2/test_reauth.py
--- google_auth-2.42.1.orig/tests/oauth2/test_reauth.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/oauth2/test_reauth.py 2025-11-03 13:35:00.302935053 +0100
@@ -14,7 +14,7 @@
import copy
@@ -118,9 +118,9 @@ diff -Nru google-auth-2.30.0.orig/tests/oauth2/test_reauth.py google-auth-2.30.0
import pytest # type: ignore
from google.auth import exceptions
diff -Nru google-auth-2.30.0.orig/tests/oauth2/test_service_account.py google-auth-2.30.0/tests/oauth2/test_service_account.py
--- google-auth-2.30.0.orig/tests/oauth2/test_service_account.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/oauth2/test_service_account.py 2024-07-04 10:10:10.120713979 +0200
diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_service_account.py google_auth-2.42.1/tests/oauth2/test_service_account.py
--- google_auth-2.42.1.orig/tests/oauth2/test_service_account.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/oauth2/test_service_account.py 2025-11-03 13:35:00.299318239 +0100
@@ -16,7 +16,7 @@
import json
import os
@@ -130,9 +130,9 @@ diff -Nru google-auth-2.30.0.orig/tests/oauth2/test_service_account.py google-au
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google-auth-2.30.0.orig/tests/oauth2/test_sts.py google-auth-2.30.0/tests/oauth2/test_sts.py
--- google-auth-2.30.0.orig/tests/oauth2/test_sts.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/oauth2/test_sts.py 2024-07-04 10:10:10.134047397 +0200
diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_sts.py google_auth-2.42.1/tests/oauth2/test_sts.py
--- google_auth-2.42.1.orig/tests/oauth2/test_sts.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/oauth2/test_sts.py 2025-11-03 13:35:00.309483087 +0100
@@ -16,7 +16,7 @@
import json
import urllib
@@ -142,18 +142,18 @@ diff -Nru google-auth-2.30.0.orig/tests/oauth2/test_sts.py google-auth-2.30.0/te
import pytest # type: ignore
from google.auth import exceptions
diff -Nru google-auth-2.30.0.orig/tests/oauth2/test_webauthn_handler_factory.py google-auth-2.30.0/tests/oauth2/test_webauthn_handler_factory.py
--- google-auth-2.30.0.orig/tests/oauth2/test_webauthn_handler_factory.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/oauth2/test_webauthn_handler_factory.py 2024-07-04 10:10:10.137380751 +0200
diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_webauthn_handler_factory.py google_auth-2.42.1/tests/oauth2/test_webauthn_handler_factory.py
--- google_auth-2.42.1.orig/tests/oauth2/test_webauthn_handler_factory.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/oauth2/test_webauthn_handler_factory.py 2025-11-03 13:35:00.313186536 +0100
@@ -1,4 +1,4 @@
-import mock
+from unittest import mock
import pytest # type: ignore
from google.oauth2 import webauthn_handler
diff -Nru google-auth-2.30.0.orig/tests/oauth2/test_webauthn_handler.py google-auth-2.30.0/tests/oauth2/test_webauthn_handler.py
--- google-auth-2.30.0.orig/tests/oauth2/test_webauthn_handler.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/oauth2/test_webauthn_handler.py 2024-07-04 10:10:10.114047271 +0200
diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_webauthn_handler.py google_auth-2.42.1/tests/oauth2/test_webauthn_handler.py
--- google_auth-2.42.1.orig/tests/oauth2/test_webauthn_handler.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/oauth2/test_webauthn_handler.py 2025-11-03 13:35:00.294618698 +0100
@@ -1,7 +1,7 @@
import json
import struct
@@ -163,9 +163,9 @@ diff -Nru google-auth-2.30.0.orig/tests/oauth2/test_webauthn_handler.py google-a
import pytest # type: ignore
from google.auth import exceptions
diff -Nru google-auth-2.30.0.orig/tests/test_app_engine.py google-auth-2.30.0/tests/test_app_engine.py
--- google-auth-2.30.0.orig/tests/test_app_engine.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/test_app_engine.py 2024-07-04 10:10:10.090713791 +0200
diff -Nru google_auth-2.42.1.orig/tests/test_app_engine.py google_auth-2.42.1/tests/test_app_engine.py
--- google_auth-2.42.1.orig/tests/test_app_engine.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_app_engine.py 2025-11-03 13:35:00.276012147 +0100
@@ -14,7 +14,7 @@
import datetime
@@ -175,9 +175,9 @@ diff -Nru google-auth-2.30.0.orig/tests/test_app_engine.py google-auth-2.30.0/te
import pytest # type: ignore
from google.auth import app_engine
diff -Nru google-auth-2.30.0.orig/tests/test_aws.py google-auth-2.30.0/tests/test_aws.py
--- google-auth-2.30.0.orig/tests/test_aws.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/test_aws.py 2024-07-04 10:10:10.204047836 +0200
diff -Nru google_auth-2.42.1.orig/tests/test_aws.py google_auth-2.42.1/tests/test_aws.py
--- google_auth-2.42.1.orig/tests/test_aws.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_aws.py 2025-11-03 13:35:00.366320202 +0100
@@ -18,7 +18,7 @@
import os
import urllib.parse
@@ -187,9 +187,9 @@ diff -Nru google-auth-2.30.0.orig/tests/test_aws.py google-auth-2.30.0/tests/tes
import pytest # type: ignore
from google.auth import _helpers, external_account
diff -Nru google-auth-2.30.0.orig/tests/test__cloud_sdk.py google-auth-2.30.0/tests/test__cloud_sdk.py
--- google-auth-2.30.0.orig/tests/test__cloud_sdk.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/test__cloud_sdk.py 2024-07-04 10:10:10.100713854 +0200
diff -Nru google_auth-2.42.1.orig/tests/test__cloud_sdk.py google_auth-2.42.1/tests/test__cloud_sdk.py
--- google_auth-2.42.1.orig/tests/test__cloud_sdk.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test__cloud_sdk.py 2025-11-03 13:35:00.282317740 +0100
@@ -18,7 +18,7 @@
import subprocess
import sys
@@ -199,22 +199,58 @@ diff -Nru google-auth-2.30.0.orig/tests/test__cloud_sdk.py google-auth-2.30.0/te
import pytest # type: ignore
from google.auth import _cloud_sdk
diff -Nru google-auth-2.30.0.orig/tests/test_credentials.py google-auth-2.30.0/tests/test_credentials.py
--- google-auth-2.30.0.orig/tests/test_credentials.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/test_credentials.py 2024-07-04 10:10:10.144047460 +0200
@@ -14,7 +14,7 @@
diff -Nru google_auth-2.42.1.orig/tests/test_credentials.py google_auth-2.42.1/tests/test_credentials.py
--- google_auth-2.42.1.orig/tests/test_credentials.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_credentials.py 2025-11-03 13:35:00.317619651 +0100
@@ -15,7 +15,7 @@
import datetime
import os
-import mock
+from unittest import mock
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google-auth-2.30.0.orig/tests/test__default.py google-auth-2.30.0/tests/test__default.py
--- google-auth-2.30.0.orig/tests/test__default.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/test__default.py 2024-07-04 10:10:10.147380814 +0200
@@ -15,7 +15,7 @@
diff -Nru google_auth-2.42.1.orig/tests/test__default.py google_auth-2.42.1/tests/test__default.py
--- google_auth-2.42.1.orig/tests/test__default.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test__default.py 2025-11-03 13:35:00.320730022 +0100
@@ -16,7 +16,7 @@
import os
import warnings
-import mock
+from unittest import mock
import pytest # type: ignore
from google.auth import _default
diff -Nru google_auth-2.42.1.orig/tests/test_downscoped.py google_auth-2.42.1/tests/test_downscoped.py
--- google_auth-2.42.1.orig/tests/test_downscoped.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_downscoped.py 2025-11-03 13:35:00.325319000 +0100
@@ -17,7 +17,7 @@
import json
import urllib
-import mock
+from unittest import mock
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google_auth-2.42.1.orig/tests/test__exponential_backoff.py google_auth-2.42.1/tests/test__exponential_backoff.py
--- google_auth-2.42.1.orig/tests/test__exponential_backoff.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test__exponential_backoff.py 2025-11-03 13:35:00.247630509 +0100
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import mock
+from unittest import mock
import pytest # type: ignore
from google.auth import _exponential_backoff
diff -Nru google_auth-2.42.1.orig/tests/test_external_account_authorized_user.py google_auth-2.42.1/tests/test_external_account_authorized_user.py
--- google_auth-2.42.1.orig/tests/test_external_account_authorized_user.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_external_account_authorized_user.py 2025-11-03 13:35:00.322985588 +0100
@@ -17,7 +17,7 @@
import json
import os
@@ -222,70 +258,10 @@ diff -Nru google-auth-2.30.0.orig/tests/test__default.py google-auth-2.30.0/test
+from unittest import mock
import pytest # type: ignore
from google.auth import _default
diff -Nru google-auth-2.30.0.orig/tests/test_downscoped.py google-auth-2.30.0/tests/test_downscoped.py
--- google-auth-2.30.0.orig/tests/test_downscoped.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/test_downscoped.py 2024-07-04 10:10:10.154047522 +0200
@@ -17,7 +17,7 @@
import json
import urllib
-import mock
+from unittest import mock
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google-auth-2.30.0.orig/tests/test__exponential_backoff.py google-auth-2.30.0/tests/test__exponential_backoff.py
--- google-auth-2.30.0.orig/tests/test__exponential_backoff.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/test__exponential_backoff.py 2024-07-04 10:10:10.054046894 +0200
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import mock
+from unittest import mock
from google.auth import _exponential_backoff
diff -Nru google-auth-2.30.0.orig/tests/test_external_account_authorized_user.py google-auth-2.30.0/tests/test_external_account_authorized_user.py
--- google-auth-2.30.0.orig/tests/test_external_account_authorized_user.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/test_external_account_authorized_user.py 2024-07-04 10:10:10.150714168 +0200
@@ -16,7 +16,7 @@
import http.client as http_client
import json
-import mock
+from unittest import mock
import pytest # type: ignore
from google.auth import exceptions
diff -Nru google-auth-2.30.0.orig/tests/test_external_account.py google-auth-2.30.0/tests/test_external_account.py
--- google-auth-2.30.0.orig/tests/test_external_account.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/test_external_account.py 2024-07-04 10:10:10.057380248 +0200
@@ -17,7 +17,7 @@
import json
import urllib
-import mock
+from unittest import mock
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google-auth-2.30.0.orig/tests/test_iam.py google-auth-2.30.0/tests/test_iam.py
--- google-auth-2.30.0.orig/tests/test_iam.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/test_iam.py 2024-07-04 10:10:10.164047585 +0200
@@ -17,7 +17,7 @@
import http.client as http_client
import json
-import mock
+from unittest import mock
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google-auth-2.30.0.orig/tests/test_identity_pool.py google-auth-2.30.0/tests/test_identity_pool.py
--- google-auth-2.30.0.orig/tests/test_identity_pool.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/test_identity_pool.py 2024-07-04 10:10:10.167380939 +0200
from google.auth import environment_vars
diff -Nru google_auth-2.42.1.orig/tests/test_external_account.py google_auth-2.42.1/tests/test_external_account.py
--- google_auth-2.42.1.orig/tests/test_external_account.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_external_account.py 2025-11-03 13:35:00.249316773 +0100
@@ -18,7 +18,7 @@
import os
import urllib
@@ -294,10 +270,46 @@ diff -Nru google-auth-2.30.0.orig/tests/test_identity_pool.py google-auth-2.30.0
+from unittest import mock
import pytest # type: ignore
from google.auth import _helpers, external_account
diff -Nru google-auth-2.30.0.orig/tests/test_impersonated_credentials.py google-auth-2.30.0/tests/test_impersonated_credentials.py
--- google-auth-2.30.0.orig/tests/test_impersonated_credentials.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/test_impersonated_credentials.py 2024-07-04 10:10:10.200714482 +0200
from google.auth import _helpers
diff -Nru google_auth-2.42.1.orig/tests/test_iam.py google_auth-2.42.1/tests/test_iam.py
--- google_auth-2.42.1.orig/tests/test_iam.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_iam.py 2025-11-03 13:35:00.335121893 +0100
@@ -17,7 +17,7 @@
import http.client as http_client
import json
-import mock
+from unittest import mock
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google_auth-2.42.1.orig/tests/test_identity_pool.py google_auth-2.42.1/tests/test_identity_pool.py
--- google_auth-2.42.1.orig/tests/test_identity_pool.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_identity_pool.py 2025-11-03 13:35:00.338319381 +0100
@@ -19,7 +19,7 @@
import os
import urllib
-import mock
+from unittest import mock
from OpenSSL import crypto
import pytest # type: ignore
diff -Nru google_auth-2.42.1.orig/tests/test_impersonated_credentials.py google_auth-2.42.1/tests/test_impersonated_credentials.py
--- google_auth-2.42.1.orig/tests/test_impersonated_credentials.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_impersonated_credentials.py 2025-11-03 13:35:00.362320085 +0100
@@ -18,7 +18,7 @@
import json
import os
-import mock
+from unittest import mock
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google_auth-2.42.1.orig/tests/test_jwt.py google_auth-2.42.1/tests/test_jwt.py
--- google_auth-2.42.1.orig/tests/test_jwt.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_jwt.py 2025-11-03 13:35:00.340842665 +0100
@@ -17,7 +17,7 @@
import json
import os
@@ -307,21 +319,9 @@ diff -Nru google-auth-2.30.0.orig/tests/test_impersonated_credentials.py google-
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google-auth-2.30.0.orig/tests/test_jwt.py google-auth-2.30.0/tests/test_jwt.py
--- google-auth-2.30.0.orig/tests/test_jwt.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/test_jwt.py 2024-07-04 10:10:10.170714294 +0200
@@ -17,7 +17,7 @@
import json
import os
-import mock
+from unittest import mock
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google-auth-2.30.0.orig/tests/test_metrics.py google-auth-2.30.0/tests/test_metrics.py
--- google-auth-2.30.0.orig/tests/test_metrics.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/test_metrics.py 2024-07-04 10:10:10.107380563 +0200
diff -Nru google_auth-2.42.1.orig/tests/test_metrics.py google_auth-2.42.1/tests/test_metrics.py
--- google_auth-2.42.1.orig/tests/test_metrics.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_metrics.py 2025-11-03 13:35:00.287107573 +0100
@@ -14,7 +14,7 @@
import platform
@@ -331,9 +331,9 @@ diff -Nru google-auth-2.30.0.orig/tests/test_metrics.py google-auth-2.30.0/tests
from google.auth import metrics
from google.auth import version
diff -Nru google-auth-2.30.0.orig/tests/test__oauth2client.py google-auth-2.30.0/tests/test__oauth2client.py
--- google-auth-2.30.0.orig/tests/test__oauth2client.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/test__oauth2client.py 2024-07-04 10:10:10.094047145 +0200
diff -Nru google_auth-2.42.1.orig/tests/test__oauth2client.py google_auth-2.42.1/tests/test__oauth2client.py
--- google_auth-2.42.1.orig/tests/test__oauth2client.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test__oauth2client.py 2025-11-03 13:35:00.277733889 +0100
@@ -17,7 +17,7 @@
import os
import sys
@@ -343,9 +343,9 @@ diff -Nru google-auth-2.30.0.orig/tests/test__oauth2client.py google-auth-2.30.0
import pytest # type: ignore
try:
diff -Nru google-auth-2.30.0.orig/tests/test_pluggable.py google-auth-2.30.0/tests/test_pluggable.py
--- google-auth-2.30.0.orig/tests/test_pluggable.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/test_pluggable.py 2024-07-04 10:10:10.200714482 +0200
diff -Nru google_auth-2.42.1.orig/tests/test_pluggable.py google_auth-2.42.1/tests/test_pluggable.py
--- google_auth-2.42.1.orig/tests/test_pluggable.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_pluggable.py 2025-11-03 13:35:00.364120814 +0100
@@ -16,7 +16,7 @@
import os
import subprocess
@@ -355,9 +355,9 @@ diff -Nru google-auth-2.30.0.orig/tests/test_pluggable.py google-auth-2.30.0/tes
import pytest # type: ignore
from google.auth import exceptions
diff -Nru google-auth-2.30.0.orig/tests/test__refresh_worker.py google-auth-2.30.0/tests/test__refresh_worker.py
--- google-auth-2.30.0.orig/tests/test__refresh_worker.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/test__refresh_worker.py 2024-07-04 10:10:10.187381065 +0200
diff -Nru google_auth-2.42.1.orig/tests/test__refresh_worker.py google_auth-2.42.1/tests/test__refresh_worker.py
--- google_auth-2.42.1.orig/tests/test__refresh_worker.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test__refresh_worker.py 2025-11-03 13:35:00.355629928 +0100
@@ -17,7 +17,7 @@
import threading
import time
@@ -367,9 +367,33 @@ diff -Nru google-auth-2.30.0.orig/tests/test__refresh_worker.py google-auth-2.30
import pytest # type: ignore
from google.auth import _refresh_worker, credentials, exceptions
diff -Nru google-auth-2.30.0.orig/tests/transport/test__custom_tls_signer.py google-auth-2.30.0/tests/transport/test__custom_tls_signer.py
--- google-auth-2.30.0.orig/tests/transport/test__custom_tls_signer.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/transport/test__custom_tls_signer.py 2024-07-04 10:10:10.067380311 +0200
diff -Nru google_auth-2.42.1.orig/tests/transport/aio/test_aiohttp.py google_auth-2.42.1/tests/transport/aio/test_aiohttp.py
--- google_auth-2.42.1.orig/tests/transport/aio/test_aiohttp.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/transport/aio/test_aiohttp.py 2025-11-03 13:35:00.258192110 +0100
@@ -15,7 +15,7 @@
import asyncio
from aioresponses import aioresponses # type: ignore
-from mock import AsyncMock, Mock, patch
+from unittest.mock import AsyncMock, Mock, patch
import pytest # type: ignore
import pytest_asyncio # type: ignore
diff -Nru google_auth-2.42.1.orig/tests/transport/aio/test_sessions.py google_auth-2.42.1/tests/transport/aio/test_sessions.py
--- google_auth-2.42.1.orig/tests/transport/aio/test_sessions.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/transport/aio/test_sessions.py 2025-11-03 13:35:00.256483423 +0100
@@ -16,7 +16,7 @@
from typing import AsyncGenerator
from aioresponses import aioresponses # type: ignore
-from mock import Mock, patch
+from unittest.mock import Mock, patch
import pytest # type: ignore
from google.auth.aio.credentials import AnonymousCredentials
diff -Nru google_auth-2.42.1.orig/tests/transport/test__custom_tls_signer.py google_auth-2.42.1/tests/transport/test__custom_tls_signer.py
--- google_auth-2.42.1.orig/tests/transport/test__custom_tls_signer.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/transport/test__custom_tls_signer.py 2025-11-03 13:35:00.259865401 +0100
@@ -15,7 +15,7 @@
import ctypes
import os
@@ -379,9 +403,9 @@ diff -Nru google-auth-2.30.0.orig/tests/transport/test__custom_tls_signer.py goo
import pytest # type: ignore
from requests.packages.urllib3.util.ssl_ import create_urllib3_context # type: ignore
import urllib3.contrib.pyopenssl # type: ignore
diff -Nru google-auth-2.30.0.orig/tests/transport/test_grpc.py google-auth-2.30.0/tests/transport/test_grpc.py
--- google-auth-2.30.0.orig/tests/transport/test_grpc.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/transport/test_grpc.py 2024-07-04 10:10:10.070713666 +0200
diff -Nru google_auth-2.42.1.orig/tests/transport/test_grpc.py google_auth-2.42.1/tests/transport/test_grpc.py
--- google_auth-2.42.1.orig/tests/transport/test_grpc.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/transport/test_grpc.py 2025-11-03 13:35:00.261543389 +0100
@@ -16,7 +16,7 @@
import os
import time
@@ -391,9 +415,9 @@ diff -Nru google-auth-2.30.0.orig/tests/transport/test_grpc.py google-auth-2.30.
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google-auth-2.30.0.orig/tests/transport/test__mtls_helper.py google-auth-2.30.0/tests/transport/test__mtls_helper.py
--- google-auth-2.30.0.orig/tests/transport/test__mtls_helper.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/transport/test__mtls_helper.py 2024-07-04 10:10:10.077380374 +0200
diff -Nru google_auth-2.42.1.orig/tests/transport/test__mtls_helper.py google_auth-2.42.1/tests/transport/test__mtls_helper.py
--- google_auth-2.42.1.orig/tests/transport/test__mtls_helper.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/transport/test__mtls_helper.py 2025-11-03 13:35:00.264970803 +0100
@@ -15,7 +15,7 @@
import os
import re
@@ -403,9 +427,9 @@ diff -Nru google-auth-2.30.0.orig/tests/transport/test__mtls_helper.py google-au
from OpenSSL import crypto
import pytest # type: ignore
diff -Nru google-auth-2.30.0.orig/tests/transport/test_mtls.py google-auth-2.30.0/tests/transport/test_mtls.py
--- google-auth-2.30.0.orig/tests/transport/test_mtls.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/transport/test_mtls.py 2024-07-04 10:10:10.080713728 +0200
diff -Nru google_auth-2.42.1.orig/tests/transport/test_mtls.py google_auth-2.42.1/tests/transport/test_mtls.py
--- google_auth-2.42.1.orig/tests/transport/test_mtls.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/transport/test_mtls.py 2025-11-03 13:35:00.266704768 +0100
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
@@ -415,9 +439,9 @@ diff -Nru google-auth-2.30.0.orig/tests/transport/test_mtls.py google-auth-2.30.
import pytest # type: ignore
from google.auth import exceptions
diff -Nru google-auth-2.30.0.orig/tests/transport/test_requests.py google-auth-2.30.0/tests/transport/test_requests.py
--- google-auth-2.30.0.orig/tests/transport/test_requests.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/transport/test_requests.py 2024-07-04 10:10:10.084047083 +0200
diff -Nru google_auth-2.42.1.orig/tests/transport/test_requests.py google_auth-2.42.1/tests/transport/test_requests.py
--- google_auth-2.42.1.orig/tests/transport/test_requests.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/transport/test_requests.py 2025-11-03 13:35:00.269317359 +0100
@@ -19,7 +19,7 @@
import sys
@@ -427,9 +451,9 @@ diff -Nru google-auth-2.30.0.orig/tests/transport/test_requests.py google-auth-2
import OpenSSL
import pytest # type: ignore
import requests
diff -Nru google-auth-2.30.0.orig/tests/transport/test_urllib3.py google-auth-2.30.0/tests/transport/test_urllib3.py
--- google-auth-2.30.0.orig/tests/transport/test_urllib3.py 2024-06-07 01:17:33.000000000 +0200
+++ google-auth-2.30.0/tests/transport/test_urllib3.py 2024-07-04 10:10:10.064046957 +0200
diff -Nru google_auth-2.42.1.orig/tests/transport/test_urllib3.py google_auth-2.42.1/tests/transport/test_urllib3.py
--- google_auth-2.42.1.orig/tests/transport/test_urllib3.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/transport/test_urllib3.py 2025-11-03 13:35:00.254724090 +0100
@@ -16,7 +16,7 @@
import os
import sys

View File

@@ -1,3 +1,171 @@
-------------------------------------------------------------------
Thu Nov 27 09:54:02 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Add upstream pytest9.patch to fix tests
-------------------------------------------------------------------
Mon Nov 10 09:08:33 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 2.43.0
* Add public wrapper for _mtls_helper.check_use_client_cert which
enables mTLS if GOOGLE_API_USE_CLIENT_CERTIFICATE is not set,
when the MWID/X.509 cert sources detected (#1859) Add public
wrapper for check_use_client_cert which enables mTLS if
GOOGLE_API_USE_CLIENT_CERTIFICATE is not set, when the MWID/X.509
cert sources detected. Also, fix check_use_client_cert to return
boolean value.
Change #1848 added the check_use_client_cert method that helps know
if client cert should be used for mTLS connection. However, that was
in a private class, thus, created a public wrapper of the same function
so that it can be used by python Client Libraries. Also, updated
check_use_client_cert to return a boolean value instead of existing
string value for better readability and future scope.
* Enable mTLS if GOOGLE_API_USE_CLIENT_CERTIFICATE is not set, if
the MWID/X.509 cert sources detected (#1848) The Python SDK will
use a hybrid approach for mTLS enablement:
* If the GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable is set
(either true or false), the SDK will respect that setting. This is
necessary for test scenarios and users who need to explicitly control
mTLS behavior.
* If the GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable is not
set, the SDK will automatically enable mTLS only if it detects Managed
Workload Identity (MWID) or X.509 Workforce Identity Federation (WIF)
certificate sources. In other cases where the variable is not set, mTLS
will remain disabled.
** This change also adds the helper method `check_use_client_cert` and
it's unit test, which will be used for checking the criteria for setting
the mTLS to true
** This change is only for Auth-Library, other changes will be created
for Client-Library use-cases.
* onboard `google-auth` to librarian (#1838) This PR onboards `google-auth`
library to the Librarian system.
-------------------------------------------------------------------
Mon Nov 3 12:35:20 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 2.42.1
* Catch ValueError for json.loads() (#1842)
- from version 2.42.0
* Add trust boundary support for external accounts. (#1809)
* Read scopes from ADC json for impersoanted cred (#1820)
- Refresh python-google-auth-no-mock.patch
-------------------------------------------------------------------
Thu Oct 9 14:33:25 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 2.41.1
* Suppress deprecation warning for ADC (#1815)
- from version 2.41.0
* Add support for cachetools 6.0 (#1773)
* Add trust boundary support for service accounts and impersonation. (#1778)
* Deprecating load_credentials_from_dict (58b66ec)
* Fix type error in credentials.py for python 3.7 and 3.8 (#1805)
* Update user guide to include x509 feature. (#1802)
- Refresh patches for new version
* python-google-auth-no-mock.patch
-------------------------------------------------------------------
Fri Jun 13 15:25:25 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Wed Jun 11 08:59:54 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 2.40.3
* Auth fetch token from default endpoint (#1779)
* Remove unnecessary call to mds service (#1769)
* Retry 504 errors (#1767)
-------------------------------------------------------------------
Fri May 30 06:54:17 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 2.40.2
* Remove sync response logs in AuthorizedSession
* Update test to consider new error message from cryptography (#1765)
-------------------------------------------------------------------
Mon May 19 13:09:42 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 2.40.1
* Disable logging response body for async logs (#1756)
- from version 2.40.0
* Add request response logging to auth (#1678)
* Correct webauthn JSON parsing to be compliant with standard. (#1658)
- from version 2.39.0
* Adds GA support for X.509 workload identity federation (#1695)
* Add impersonated SA via local ADC support for fetch_id_token (#1740)
* Add missing packaging dependency for feature requiring urllib3 (#1732)
* Add request timeout for MDS requests (#1699)
* Explicitly declare support for Python 3.13 ([#1741)
- Refresh python-google-auth-no-mock.patch
-------------------------------------------------------------------
Wed Feb 5 13:24:01 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Skip test broken with new pyOpenSSL
* as pyOpenSSL should not be used anymore and continues deprecating
functionality, this library should really be migrated to cryptography,
otherwise we are facing serious problems in the future
* https://github.com/googleapis/google-auth-library-python/issues/1665
-------------------------------------------------------------------
Thu Jan 30 13:30:46 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 2.38.0
* Adding domain-wide delegation flow in impersonated credential (#1624) (34ee3fe)
* Add warnings regarding consuming externally sourced credentials (d049370)
-------------------------------------------------------------------
Thu Jan 9 11:34:17 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 2.37.0
* Allow users to use jwk keys for verifying ID token (#1641)
- from version 2.36.1
* Improve user guide for Impersonation and SA (#1627)
- Update BuildRequires and Recommends from setup.py
-------------------------------------------------------------------
Thu Dec 5 11:00:48 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 2.36.0
* IAM signblob retries (#1600)
* Making IAM endpoint universe-aware (#1604)
* Support External Account Authorized User as a Source
Credential for impersonated credentials in ADC (#1608)
* Adding default parameters to updated interfaces (#1622)
* Change universe_domain to universe-domain (#1613)
* Remove base class to avoid type conflict (#1619)
* Revert templates for iam endpoints (#1614)
* Update secret (#1611)
* Update secret (#1617)
* Update secret (#1621)
-------------------------------------------------------------------
Tue Oct 1 14:24:58 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 2.35.0
* Add cred info to ADC creds (#1587)
* Add support for asynchronous `AuthorizedSession` api (#1577)
* Remove token_info call from token refresh path (#1595)
- Refresh patches for new version
* python-google-auth-no-mock.patch
- Updates BuildRequires from setup.py
-------------------------------------------------------------------
Tue Sep 17 07:34:24 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 2.34.0
* **auth:** Update get_client_ssl_credentials to support X.509 workload certs (#1558)
* Retry token request on retryable status code (#1563)
- from version 2.33.0
* Implement async `StaticCredentials` using access tokens (#1559)
* Implement base classes for credentials and request sessions (#1551)
* **metadata:** Enhance retry logic for metadata server access in _metadata.py (#1545)
* Update argument for Credentials initialization (#1557)
- Refresh patches for new version
* python-google-auth-no-mock.patch
-------------------------------------------------------------------
Wed Jul 10 08:17:34 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-google-auth
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,21 +18,27 @@
%{?sle15_python_module_pythons}
Name: python-google-auth
Version: 2.32.0
Version: 2.43.0
Release: 0
Summary: Google Authentication Library
License: Apache-2.0
URL: https://github.com/googleapis/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
# https://github.com/googleapis/google-auth-library-python/issues/1055
Patch1: python-google-auth-no-mock.patch
# PATCH-FIX-UPSTREAM https://github.com/googleapis/google-auth-library-python/pull/1868 chore: update secret and fix pytest issue
Patch2: pytest9.patch
BuildRequires: %{python_module Flask}
BuildRequires: %{python_module PyJWT >= 2.0}
BuildRequires: %{python_module aiohttp >= 3.6.2}
BuildRequires: %{python_module aioresponses}
BuildRequires: %{python_module cachetools >= 2.0.0}
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pyOpenSSL >= 22.0.0}
BuildRequires: %{python_module pyasn1-modules >= 0.2.1}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest-localserver}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pyu2f >= 0.1.5}
@@ -41,12 +47,14 @@ BuildRequires: %{python_module responses}
BuildRequires: %{python_module rsa >= 3.1.4}
BuildRequires: %{python_module setuptools >= 40.3.0}
BuildRequires: %{python_module urllib3}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-cachetools >= 2.0.0
Requires: python-pyasn1-modules >= 0.2.1
Requires: python-rsa >= 3.1.4
Requires: python-urllib3
Recommends: python-PyJWT >= 2.0
Recommends: python-aiohttp >= 3.6.2
Recommends: python-cryptography >= 38.0.3
Recommends: python-pyOpenSSL >= 22.0.0
@@ -62,15 +70,16 @@ This library simplifies using Googles various server-to-server authentication
%autosetup -p1 -n google_auth-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# don't test deprecated oauth2client utilities if we don't have it anymore
%pytest --ignore tests/test__oauth2client.py
# deprecated OpenSSL.crypto started dropping functionality: https://github.com/googleapis/google-auth-library-python/issues/1665
%pytest --ignore tests/test__oauth2client.py -k "not (TestDecryptPrivateKey and test_success)"
%files %{python_files}
%license LICENSE