Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1037 commits
Select commit Hold shift + click to select a range
5b36d86
fix: fix vm universe_domain bug (#1433)
arithmetic1728 Dec 6, 2023
fa7954e
chore(main): release 2.25.1 (#1434)
release-please[bot] Dec 6, 2023
e83a0fa
fix: fix user cred universe domain issue (#1436)
arithmetic1728 Dec 8, 2023
f2bbf55
chore(main): release 2.25.2 (#1438)
release-please[bot] Dec 8, 2023
f902c27
fix: external account user cred universe domain support (#1437)
arithmetic1728 Dec 15, 2023
0cb62ef
chore: refresh sys test cred (#1443)
arithmetic1728 Dec 15, 2023
57cc96e
feat: Add optional non blocking refresh for sync auth code (#1368)
clundin25 Dec 18, 2023
91f75b2
fix: Guard delete statements. Add default fallback for _use_non_block…
clundin25 Dec 20, 2023
d50162b
chore(main): release 2.26.0 (#1442)
release-please[bot] Jan 3, 2024
60dc1e1
fix: Ensure that refresh worker is pickle-able. (#1447)
clundin25 Jan 3, 2024
212df44
chore(main): release 2.26.1 (#1448)
release-please[bot] Jan 3, 2024
72af03c
fix: read universe_domain for external account authorized user (#1450)
arithmetic1728 Jan 11, 2024
76bed67
chore(main): release 2.26.2 (#1451)
release-please[bot] Jan 11, 2024
1dc9593
fix: Conditionally import requests only if no request was passed by t…
clundin25 Jan 19, 2024
1a8fea7
feat: Add optional account association for Authorized User credential…
clundin25 Jan 24, 2024
bef62f5
fix: allow custom universe domain for gce creds (#1460)
arithmetic1728 Jan 24, 2024
a6788a9
chore(main): release 2.27.0 (#1457)
release-please[bot] Jan 24, 2024
1d8095c
test: add mds universe domain test for empty response (#1461)
arithmetic1728 Jan 31, 2024
a089d3b
chore: update token (#1462)
BigTailWolf Feb 5, 2024
969808f
Token update (#1470)
BigTailWolf Feb 8, 2024
91d3c65
feat: adding universe domain support for downscroped credentials (#1463)
BigTailWolf Feb 8, 2024
8d0fcad
fix: Change log level to debug for return_none_for_not_found_error (#…
rgryta Feb 9, 2024
84719cc
chore: token update (#1474)
BigTailWolf Feb 12, 2024
0eca92b
chore: refactoring common used constant from the same source (#1472)
BigTailWolf Feb 13, 2024
3426470
chore: refresh sys test cred (#1477)
arithmetic1728 Feb 15, 2024
d645f56
fix: make requests import conditional for gce universe domain (#1476)
sai-sunder-s Feb 15, 2024
55ee4fc
chore(main): release 2.28.0 (#1471)
release-please[bot] Feb 15, 2024
194f7b4
fix: Typo when setting the state for the pickle deserializer. (#1479)
clundin25 Feb 21, 2024
76b2780
chore(main): release 2.28.1 (#1482)
release-please[bot] Feb 21, 2024
29ac92a
build(deps): bump cryptography from 41.0.6 to 42.0.0 in /synthtool/gc…
gcf-owl-bot[bot] Mar 6, 2024
7c1dcb7
fix: remove gce log for expected 404 (#1491)
arithmetic1728 Mar 8, 2024
caf2fa0
chore(main): release 2.28.2 (#1492)
release-please[bot] Mar 8, 2024
3895a32
build(deps): bump cryptography from 42.0.2 to 42.0.4 in .kokoro (#1483)
gcf-owl-bot[bot] Mar 11, 2024
9ab72a8
chore: update token (#1497)
BigTailWolf Mar 14, 2024
1263e89
feat: Adds support for custom suppliers in AWS and Identity Pool cred…
aeitzman Mar 15, 2024
51d84fe
chore: update token (#1502)
BigTailWolf Mar 18, 2024
1e40537
fix: refactor tech debt in aws and identity pool credentials (#1501)
aeitzman Mar 18, 2024
310e266
chore(main): release 2.29.0 (#1498)
release-please[bot] Mar 20, 2024
16e9ab2
chore: update token (#1504)
BigTailWolf Mar 21, 2024
b8633dc
fix: fix id_token iam endpoint for non-gdu service credentials (#1506)
arithmetic1728 Mar 28, 2024
1a12e67
feat: Add WebAuthn plugin component to handle WebAuthn get assertion …
ikimonogakari Mar 29, 2024
6d5ae70
chore: update token (#1515)
BigTailWolf Apr 12, 2024
33e8af3
fix: makes default token_url universe aware (#1514)
aeitzman Apr 12, 2024
2ebd12c
chore(python): update dependencies in /.kokoro (#1499)
gcf-owl-bot[bot] Apr 12, 2024
9dbddb3
chore(python): bump idna from 3.4 to 3.7 in .kokoro (#1517)
gcf-owl-bot[bot] Apr 12, 2024
533a803
chore: Add log when rapt token is acquired. (#1520)
clundin25 May 2, 2024
52aec13
feat: ECP Provider drop cryptography requirement (#1524)
clundin25 May 21, 2024
79411d9
chore: update sys test cred (#1531)
arithmetic1728 Jun 6, 2024
ebe331e
feat: Enable webauthn plugin for security keys (#1528)
cpisunyer Jun 6, 2024
27c916d
chore: update sys test cred (#1532)
arithmetic1728 Jun 6, 2024
11b1f4e
chore(main): release 2.30.0 (#1507)
release-please[bot] Jun 6, 2024
5c1a036
chore: update token (#1534)
BigTailWolf Jun 10, 2024
1931988
fix: pass trust_env kwarg to ClientSession (#1533)
arithmetic1728 Jun 10, 2024
346eb1c
feat: adds X509 workload cert logic (#1527)
aeitzman Jun 10, 2024
fbf1874
chore: Use cryptography for the Provider as well. This is to have an …
clundin25 Jun 17, 2024
d1921d0
fix: Added py.typed to MANIFEST.in (#1526)
jamesbraza Jun 27, 2024
cd255e9
chore(main): release 2.31.0 (#1535)
release-please[bot] Jul 1, 2024
c345077
feat: adds support for X509 workload credential type (#1541)
aeitzman Jul 2, 2024
69ad1a4
chore: update sys test creds (#1555)
arithmetic1728 Jul 8, 2024
735cbd9
chore(python): use python 3.10 for docs build (#1554)
gcf-owl-bot[bot] Jul 8, 2024
c44cb78
chore(main): release 2.32.0 (#1546)
release-please[bot] Jul 8, 2024
a333e2a
chore: Modify exponential backoff implementation to have no initial s…
clundin25 Jul 11, 2024
2677b11
fix(metadata): enhance retry logic for metadata server access in _met…
mrvarmazyar Jul 12, 2024
f11e136
feat: implement base classes for credentials and request sessions (#1…
ohmayr Jul 16, 2024
27519d7
feat: implement async `StaticCredentials` using access tokens (#1559)
ohmayr Jul 17, 2024
2b663dd
docs: Update argument for Credentials initialization (#1557)
ureyes84 Jul 17, 2024
fd35fd5
chore: Add aiohttp requirements test constraint. (#1566)
clundin25 Aug 6, 2024
e81d97c
chore(main): release 2.33.0 (#1560)
release-please[bot] Aug 6, 2024
c05713d
fix: retry token request on retryable status code (#1563)
tommilligan Aug 7, 2024
6deb8bd
feat(auth): Update get_client_ssl_credentials to support X.509 worklo…
andyrzhao Aug 7, 2024
891464a
chore: Update ECP deps. (#1583)
clundin25 Aug 13, 2024
6570a05
chore(main): release 2.34.0 (#1574)
release-please[bot] Aug 14, 2024
c4644bc
feat: add cred info to ADC creds (#1587)
arithmetic1728 Sep 12, 2024
0d38ef8
feat: Add support for asynchronous `AuthorizedSession` api (#1577)
ohmayr Sep 16, 2024
8ade867
fix: remove token_info call from token refresh path (#1595)
sai-sunder-s Sep 16, 2024
9ca98d5
chore: update templated files (#1597)
parthea Sep 17, 2024
7aa815f
chore(main): release 2.35.0 (#1592)
release-please[bot] Sep 19, 2024
143eeea
feat: IAM signblob retries (#1600)
clundin25 Sep 30, 2024
1a9abc8
feat: Support External Account Authorized User as a Source Credential…
sai-sunder-s Oct 17, 2024
60925e1
fix: update secret (#1611)
sai-sunder-s Oct 18, 2024
4b363a2
feat: making iam endpoint universe-aware (#1604)
Oct 19, 2024
0cb82bf
fix: update secret (#1617)
sai-sunder-s Oct 24, 2024
cdc28b2
fix: change universe_domain to universe-domain (#1613)
Oct 24, 2024
b15ef02
fix: revert templates for iam endpoints (#1614)
Oct 24, 2024
d3476ed
chore: update templated files (#1618)
parthea Oct 29, 2024
bc222a3
fix: update secret (#1621)
sai-sunder-s Oct 30, 2024
c03b5f8
fix: remove base class to avoid type conflict (#1619)
ohmayr Oct 30, 2024
e96920f
fix: adding default parameters to updated interfaces (#1622)
Oct 30, 2024
22ab532
chore(main): release 2.36.0 (#1601)
release-please[bot] Oct 31, 2024
06a541e
fix: improve user guide for Impersonation and SA (#1627)
sai-sunder-s Nov 8, 2024
409b172
chore(main): release 2.36.1 (#1630)
release-please[bot] Nov 8, 2024
1f61670
chore: update rt (#1640)
sai-sunder-s Dec 3, 2024
2e2912f
chore: update secret (#1642)
harkamaljot Dec 5, 2024
d34602f
feat: allow users to use jwk keys for verifying ID token (#1641)
harkamaljot Dec 9, 2024
d842f56
chore: update secret (#1644)
sai-sunder-s Dec 11, 2024
3532f3e
chore(main): release 2.37.0 (#1643)
release-please[bot] Dec 11, 2024
d62d652
chore: improve error message in _metadata.py (#1652)
harkamaljot Jan 17, 2025
fcb9c16
feat: adding domain-wide delegation flow in impersonated credential (…
brianhmj Jan 17, 2025
a035836
chore: Add warnings regarding consuming externally sourced credential…
sai-sunder-s Jan 22, 2025
2106f9b
chore(main): release 2.38.0 (#1657)
release-please[bot] Jan 23, 2025
a71b722
chore: update secret for tests (#1664)
sai-sunder-s Jan 30, 2025
7768184
build: configure readthedocs to refresh stale documentation (#1662)
parthea Jan 30, 2025
c55887f
fix: fix systest failure (#1703)
sai-sunder-s Mar 25, 2025
cbcfd34
feat: adds GA support for X.509 workload identity federation (#1695)
aeitzman Mar 25, 2025
99fe856
fix: add request timeout for MDS requests (#1699)
sai-sunder-s Mar 28, 2025
7749adf
fix: add missing packaging dependency for feature requiring urllib3 (…
harkamaljot Apr 7, 2025
c743f43
chore: update secret for tests (#1742)
harkamaljot Apr 9, 2025
56047bf
chore: add testing requirements extra (#1707)
ohmayr Apr 10, 2025
3bfa661
chore(python): update templated files (#1709)
gcf-owl-bot[bot] Apr 10, 2025
ea48ac7
chore: Allow `googleapis-auth` and `aion-sdk` to approve samples/ (#1…
parthea Apr 10, 2025
18e948c
fix: explicitly declare support for Python 3.13 (#1741)
parthea Apr 10, 2025
8476443
fix: add impersonated SA via local ADC support for fetch_id_token (#1…
nolanleastin Apr 10, 2025
ccbaec7
chore: update secret for tests (#1749)
harkamaljot Apr 14, 2025
041248a
chore(main): release 2.39.0 (#1705)
release-please[bot] Apr 14, 2025
7dfedc4
fix: Correct webauthn JSON parsing to be compliant with standard. (#1…
ikimonogakari Apr 14, 2025
e07b847
chore: update secrets (#1752)
sai-sunder-s Apr 28, 2025
7fa3e06
feat: add request response logging to auth (#1678)
ohmayr Apr 29, 2025
b637035
chore(main): release 2.40.0 (#1750)
release-please[bot] May 5, 2025
3ca867d
chore: update secret (#1757)
sai-sunder-s May 6, 2025
9601cac
fix: disable logging response body for async logs (#1756)
ohmayr May 6, 2025
f0081a5
chore(main): release 2.40.1 (#1758)
release-please[bot] May 7, 2025
42116e7
chore: remove unused files (#1691)
parthea May 7, 2025
8b9c5d9
chore: update secret (#1764)
sai-sunder-s May 20, 2025
b7d5889
chore: remove sync response logs in AuthorizedSession (#1761)
ohmayr May 21, 2025
e1bcc40
fix: Update test to consider new error message from cryptography (#1765)
sai-sunder-s May 21, 2025
9a2f188
chore(main): release 2.40.2 (#1766)
release-please[bot] May 21, 2025
cdc34a7
fix: retry 504 errors (#1767)
sai-sunder-s May 21, 2025
b039156
fix: remove unnecessary call to mds service (#1769)
harkamaljot May 23, 2025
4125dd8
chore: update secret (#1774)
sai-sunder-s May 28, 2025
48b356e
Revert "fix: remove unnecessary call to mds service (#1769)" (#1777)
harkamaljot Jun 3, 2025
d0c15fe
fix: auth fetch token from default endpoint (#1779)
harkamaljot Jun 3, 2025
20f38f4
chore(main): release 2.40.3 (#1768)
release-please[bot] Jun 4, 2025
3f7a1eb
chore: update secrets (#1795)
harkamaljot Jul 15, 2025
52d840a
tests: update default runtime used for tests (#1788)
parthea Jul 15, 2025
cc10865
feat: add support for cachetools 6.0 (#1773)
k4nar Jul 15, 2025
d44e1bb
chore: update secret (#1801)
sai-sunder-s Aug 6, 2025
3ebfb7e
feat: Add trust boundary support for service accounts and impersonati…
nbayati Aug 7, 2025
50edc24
chore: update secret (#1803)
sai-sunder-s Aug 12, 2025
e7befed
docs: update user guide to include x509 feature. (#1802)
nbayati Aug 12, 2025
e41c86e
chore: secret update (#1806)
sai-sunder-s Aug 14, 2025
dccad5e
fix: fix type error in credentials.py for python 3.7 and 3.8 (#1805)
nbayati Aug 14, 2025
5ab4b58
chore: update owners (#1813)
sai-sunder-s Sep 25, 2025
4b09a81
fix: Deprecating generic load methods and adding warnings on few cred…
sai-sunder-s Sep 29, 2025
363787e
chore(main): release 2.41.0 (#1797)
release-please[bot] Sep 29, 2025
1fad212
fix: suppress deprecation warning for ADC (#1815)
sai-sunder-s Sep 30, 2025
7b20c83
chore(main): release 2.41.1 (#1816)
release-please[bot] Sep 30, 2025
7ef8b40
test: Add tests to cover deprecation and suppression (#1817)
sai-sunder-s Oct 1, 2025
affbb5e
chore: secret update (#1818)
sai-sunder-s Oct 6, 2025
abbf629
feat: Add trust boundary support for external accounts. (#1809)
nbayati Oct 7, 2025
7e9d495
fix: Read scopes from ADC json for impersoanted cred (#1820)
sai-sunder-s Oct 22, 2025
c3804c5
chore: secret update (#1847)
sai-sunder-s Oct 24, 2025
ec80b4e
chore(main): release 2.42.0 (#1819)
release-please[bot] Oct 28, 2025
5d9fb33
chore: secret update (#1851)
sai-sunder-s Oct 30, 2025
f3c5e95
fix: catch ValueError for json.loads() (#1842)
Linchin Oct 30, 2025
f96e5d0
chore(main): release 2.42.1 (#1853)
release-please[bot] Oct 30, 2025
43e63d9
feat: onboard `google-auth` to librarian (#1838)
ohmayr Oct 30, 2025
e330348
chore: secret upadte (#1857)
sai-sunder-s Nov 3, 2025
9a64b0d
feat: Enable mTLS if GOOGLE_API_USE_CLIENT_CERTIFICATE is not set, i…
agrawalradhika-cell Nov 4, 2025
1518411
chore: update secret (#1860)
sai-sunder-s Nov 5, 2025
7573934
feat: Add public wrapper for _mtls_helper.check_use_client_cert which…
agrawalradhika-cell Nov 5, 2025
aec782f
chore: update prev version in state (#1862)
ohmayr Nov 5, 2025
475513c
chore: librarian release pull request: 20251105T230735Z (#1863)
Linchin Nov 5, 2025
23c4d39
chore: update secret and fix pytest issue (#1868)
Linchin Nov 10, 2025
55e599d
test: create and delete temp folder in scripts (#1869)
Linchin Nov 11, 2025
1e5c797
doc: Custom Credential Suppliers for AWS and Okta. (#1830)
vverman Nov 11, 2025
22986d3
feat: Add shlex to correctly parse executable commands with spaces (#…
nbayati Nov 11, 2025
4179ce1
feat: Implement token revocation in STS client and add revoke() metho…
kdeniz-git Nov 11, 2025
b7a0298
chore: update secret (#1874)
nolanleastin Nov 19, 2025
e7d2c40
feat: MDS connections use mTLS (#1856)
nolanleastin Nov 19, 2025
01c25c1
chore(tests): update secret (#1876)
daniel-sanche Nov 25, 2025
c1e338a
feat: add ecdsa p-384 support (#1872)
shengjiang3 Nov 25, 2025
e425b64
chore: update secret (#1879)
daniel-sanche Dec 1, 2025
bee9432
fix(auth): Delegate workload cert and key default lookup to helper fu…
andyrzhao Dec 1, 2025
27323e9
chore(tests): allow expired secret in system tests (#1883)
daniel-sanche Dec 4, 2025
d51bf7c
fix(auth): Add temporary patch to workload cert logic to accomodate C…
andyrzhao Dec 4, 2025
8c0d918
fix(auth): Use public refresh method for source credentials in Impers…
nbayati Dec 9, 2025
78dc85d
feat: support Python 3.14 (#1822)
Linchin Dec 12, 2025
54ec638
chore: librarian release pull request: 20251212T161150Z (#1888)
vchudnov-g Dec 15, 2025
e42eddf
feat: Adding Agent Identity bound token support and handling certific…
agrawalradhika-cell Dec 15, 2025
7e645c2
chore: librarian release pull request: 20251215T132028Z (#1891)
daniel-sanche Dec 15, 2025
f1eeb22
fix(auth): Fix test coverage for mtls_helper (#1886)
andyrzhao Dec 15, 2025
7086717
chore: update default python version for tests to 3.14 (#1892)
parthea Dec 17, 2025
84407be
chore: update renovate to ignore docs/requirements-docs.txt (#1893)
parthea Dec 17, 2025
a5acb16
chore(deps): update dependency requests to v2.32.4 [security] (#1871)
renovate-bot Dec 17, 2025
0d60150
chore(librarian): clean up owlbot files and pin image sha (#1865)
parthea Dec 17, 2025
4222de4
fix: raise RefreshError for missing token in impersonated credentials…
google-labs-jules[bot] Dec 20, 2025
88dc614
fix: use .read() instead of .content.read() in aiohttp transport (#1899)
google-labs-jules[bot] Dec 22, 2025
7f96abb
test: handle invalid_grant in default creds system tests (#1901)
google-labs-jules[bot] Dec 22, 2025
9de597b
Fix: Convert scopes set to list in Credentials.__init__ (#1898)
google-labs-jules[bot] Dec 23, 2025
c44f0b8
fix: remove setup.cfg configuration for creating universal wheels (#1…
parthea Dec 23, 2025
beee323
chore: fix minor typos (#1651)
parthea Dec 26, 2025
6f07d22
docs: update urllib3 docstrings for v2 compatibility (#1903)
google-labs-jules[bot] Dec 26, 2025
4d2bbe6
fix: fix the document of secure_authorized_session (#1536)
arithmetic1728 Dec 29, 2025
e363f57
chore: improve metadata service error handling (#1902)
google-labs-jules[bot] Dec 29, 2025
f580e8a
Docs: corrected spelling (#1661)
gromag Dec 29, 2025
69108dc
chore: remove use of old external "mock" module (#1786)
a-detiste Dec 29, 2025
d7210bb
fix: add types to default and verify_token and Request __init__ based…
wyattscarpenter Dec 29, 2025
1f3af67
feat: Recognize workload certificate config in has_default_client_cer…
agrawalradhika-cell Dec 30, 2025
b7091f3
tests: make the TLS tests skip when pyopenssl isn't available (#1873)
kraj Dec 30, 2025
2e79254
chore(deps): update all dependencies (#1894)
renovate-bot Jan 5, 2026
9f265f1
chore: rename _refresh_token to _perform_refresh_token (#1900)
daniel-sanche Jan 5, 2026
1615de0
chore: librarian update image pull request: 20260105T112538Z (#1912)
daniel-sanche Jan 5, 2026
4a6f2f6
chore: librarian release pull request: 20260105T122553Z (#1913)
daniel-sanche Jan 5, 2026
6fa5fb6
feat: drop `cachetools` dependency in favor of simple local implement…
akx Jan 5, 2026
5b01d94
fix: Python 3.8 support (#1918)
daniel-sanche Jan 6, 2026
b914cb8
chore: remove Python 3.7 support (#1919)
daniel-sanche Jan 6, 2026
4b7a1fe
chore: librarian release pull request: 20260106T130342Z (#1922)
daniel-sanche Jan 6, 2026
a474872
fix: Use `user_verification=preferred` for ReAuth WebAuthn challenge …
darkfeline Jan 8, 2026
f27029f
fix: replace deprecated utcfromtimestamp (#1799)
andriawang6 Jan 9, 2026
2874ce2
feat: honor `NO_GCE_CHECK` environment variable (#1610)
0x2b3bfa0 Jan 9, 2026
056642b
fix: detect correct auth when ADC env var is set but empty (#1374)
mbrancato Jan 9, 2026
59b6abc
chore: add warning for rsa library (#1925)
daniel-sanche Jan 10, 2026
f7bb638
feat: add configurable GCE Metadata Server retries (#1488)
judahrand Jan 12, 2026
7e5595e
chore(deps): update all dependencies (#1923)
renovate-bot Jan 12, 2026
6cd4191
fix: removes `content-header` from AWS IMDS get request (#1934)
chalmerlowe Jan 14, 2026
ff3e3a9
chore(deps): update dependency google-cloud-storage to v3.8.0 (#1935)
renovate-bot Jan 14, 2026
af46416
chore: dedent deprecation warning message (#1932)
akx Jan 15, 2026
4d7f256
chore: extracts unit tests to individual github actions (#1941)
chalmerlowe Jan 15, 2026
d1d3e0c
chore(deps): update dependency google-cloud-compute to v1.42.0 (#1939)
renovate-bot Jan 15, 2026
507953b
tests: system tests for expired User Credentials (#1937)
google-labs-jules[bot] Jan 15, 2026
0fd4294
fix: resolve circular imports (#1942)
daniel-sanche Jan 16, 2026
a43a18c
chore(tests): add sleep mocks (#1943)
daniel-sanche Jan 16, 2026
8b80731
feat(iam): Support the mTLS IAM domain for Certificate based Access (…
amtk3 Jan 16, 2026
8e86495
feat: add cryptography as required dependency (#1929)
daniel-sanche Jan 16, 2026
7b2d6f2
chore(tests): add cryptography to constraints file (#1944)
daniel-sanche Jan 16, 2026
4598454
chore: librarian release pull request: 20260121T162706Z (#1946)
daniel-sanche Jan 26, 2026
89fc6f2
feat(iam): support an alternative env to decide if mtls should be ena…
amtk3 Jan 30, 2026
3368f27
feat: Add helper methods for asynchronous x.509 certificate discovery…
agrawalradhika-cell Feb 18, 2026
aba9348
chore: replace aion-sdk and platform teams with updated names (#1960)
suztomo Feb 18, 2026
4d818b9
feat: Support timeout as aiohttp.ClientTimeout and total_attempts (ma…
yinghsienwu Feb 20, 2026
7b70fea
feat: mTLS configuration via x.509 for asynchronous session in google…
agrawalradhika-cell Feb 24, 2026
49221b0
chore: Migrate gsutil usage to gcloud storage (#1951)
gurusai-voleti Feb 24, 2026
738c007
chore(deps): update all dependencies (#1963)
renovate-bot Feb 26, 2026
fe0815f
Merge remote-tracking branch 'remote.googleapis/google-auth-library-p…
parthea Mar 2, 2026
e3c1f95
Trigger owlbot post-processor
parthea Mar 2, 2026
511883d
build: google-auth migration: adjust owlbot-related files
parthea Mar 2, 2026
a1124fc
chore: clean up
parthea Mar 2, 2026
4c62551
tests: fix build
parthea Mar 2, 2026
3704f05
tests: See https://github.com/googleapis/gapic-generator-python/issue…
parthea Mar 2, 2026
11636f2
tests: See https://github.com/googleapis/google-cloud-python/issues/1…
parthea Mar 2, 2026
ff9c7fe
chore: lint
parthea Mar 2, 2026
7a356df
tests: fix build
parthea Mar 2, 2026
471b7a9
tests: fix build
parthea Mar 2, 2026
926bff5
tests: enable system tests
parthea Mar 2, 2026
384caa0
tests: enable system tests
parthea Mar 2, 2026
d155670
chore: typo
parthea Mar 2, 2026
823bf64
tests: enable system tests
parthea Mar 2, 2026
4d61086
tests: enable system tests
parthea Mar 2, 2026
b750a30
tests: enable system tests
parthea Mar 2, 2026
f8b74d2
test: fix for system tests
ohmayr Mar 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .kokoro/system-single.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@ pwd

# If NOX_SESSION is set, it only runs the specified session,
# otherwise run all the sessions.
SESSION_ARG=""
NOX_SESSION_ARG=""

[[ -z "${NOX_SESSION}" ]] || SESSION_ARG="-s ${NOX_SESSION}"
python3 -m nox ${SESSION_ARG}
# IF NOX_FILE is set, it runs the specific nox file,
# otherwise it runs noxfile.py in the package directory.
NOX_FILE_ARG=""

[[ -z "${NOX_SESSION}" ]] || NOX_SESSION_ARG="-s ${NOX_SESSION}"

[[ -z "${NOX_FILE}" ]] || NOX_FILE_ARG="-f ${NOX_FILE}"

python3 -m nox ${NOX_SESSION_ARG} $NOX_FILE_ARG
36 changes: 27 additions & 9 deletions .kokoro/system.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,34 @@ packages_with_system_tests_pattern=$(printf "|*%s*" "${packages_with_system_test
packages_with_system_tests_pattern="${packages_with_system_tests_pattern:1}" # Remove the leading pipe


# Run system tests for each package with directory packages/*/tests/system
for dir in `find 'packages' -type d -wholename 'packages/*/tests/system'`; do
# Get the path to the package by removing the suffix /tests/system
package=$(echo $dir | cut -f -2 -d '/')
# Run system tests for each package with directory `packages/*/tests/system` or directory `packages/*/system_tests`
for dir in `find 'packages' -type d -wholename 'packages/*/tests/system' -o -wholename 'packages/*/system_tests'`; do
# Extract the package name and define the relative package path
# 1. Remove the 'packages/' prefix from the start
# 2. Remove everything after the first '/' remaining
package_name=${dir#packages/}
package_name=${package_name%%/*}
package_path="packages/${package_name}"

case "${package_name}" in
"google-auth")
export NOX_FILE="system_tests/noxfile.py"
# Run all nox sessions for this file
export NOX_SESSION=""
;;
*)
# Fallback/Default
export NOX_FILE="noxfile.py"
# Run the system nox session
export NOX_SESSION="system-3.12"
;;
esac

# Run system tests on every change to these libraries
if [[ $package == @($packages_with_system_tests_pattern) ]]; then
files_to_check=${package}
if [[ $package_name == @($packages_with_system_tests_pattern) ]]; then
files_to_check=${package_path}
else
files_to_check=${package}/CHANGELOG.md
files_to_check=${package_path}/CHANGELOG.md
fi

echo "checking changes with 'git diff "${KOKORO_GITHUB_PULL_REQUEST_TARGET_BRANCH}...${KOKORO_GITHUB_PULL_REQUEST_COMMIT}" -- ${files_to_check}'"
Expand All @@ -81,8 +99,8 @@ for dir in `find 'packages' -type d -wholename 'packages/*/tests/system'`; do
echo "no change detected in ${files_to_check}, skipping"
else
echo "change detected in ${files_to_check}"
echo "Running system tests for ${package}"
pushd ${package}
echo "Running system tests for ${package_name}"
pushd ${package_path}
# Temporarily allow failure.
set +e
${system_test_script}
Expand Down
17 changes: 17 additions & 0 deletions packages/google-auth/.coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[run]
branch = True

[report]
omit =
*/samples/*
*/conftest.py
*/google-cloud-sdk/lib/*
# NOTE: Temporarily disabling coverage for `_requests_base.py`.
*/_requests_base.py
exclude_lines =
# Re-enable the standard pragma
pragma: NO COVER
# Ignore debug-only repr
def __repr__
# Don't complain if tests don't hit defensive assertion code:
raise NotImplementedError
8 changes: 8 additions & 0 deletions packages/google-auth/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[flake8]
ignore = E203, E266, E501, W503
exclude =
# Standard linting exemptions.
__pycache__,
.git,
*.pyc,
conf.py
50 changes: 50 additions & 0 deletions packages/google-auth/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Build artifacts
*.py[cod]
__pycache__
*.egg-info/
build/
dist/

# Documentation-related
docs/_build

# Test files
.nox/
.tox/
.cache/
.pytest_cache/
cert_path
key_path

# Django test database
db.sqlite3

# Coverage files
.coverage
coverage.xml
*sponge_log.xml
nosetests.xml
htmlcov/

# Files with private / local data
scripts/local_test_setup
tests/data/key.json
tests/data/key.p12
tests/data/user-key.json
system_tests/data/

# PyCharm configuration:
.idea
venv/

# Generated files
pylintrc
pylintrc.test
pytype_output/

.python-version
.DS_Store
cert_path
key_path
env/
.vscode/
22 changes: 22 additions & 0 deletions packages/google-auth/.readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the OS, Python version, and other tools you might need
build:
os: ubuntu-24.04
tools:
python: "3.10"

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py

python:
install:
- requirements: docs/requirements-docs.txt
# Install our python package before building the docs
- method: pip
path: .
11 changes: 11 additions & 0 deletions packages/google-auth/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "google-auth",
"name_pretty": "Google Auth Python Library",
"client_documentation": "https://googleapis.dev/python/google-auth/latest",
"issue_tracker": "https://github.com/googleapis/google-auth-library-python/issues",
"release_level": "stable",
"language": "python",
"library_type": "AUTH",
"repo": "googleapis/google-auth-library-python",
"distribution_name": "google-auth"
}
Loading
Loading