Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/google-auth-library-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.47.0
Choose a base ref
...
head repository: googleapis/google-auth-library-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.48.0
Choose a head ref
  • 19 commits
  • 45 files changed
  • 14 contributors

Commits on Jan 8, 2026

  1. fix: Use user_verification=preferred for ReAuth WebAuthn challenge (#…

    …1798)
    
    Since ReAuth is a second factor credential, it is not necessary to
    require UV here. This was discussed with ReAuth folks.
    
    Also, in practice, downstream clients disregard this because the U2F
    protocol doesn't expose UV enforcement.
    
    ---------
    
    Co-authored-by: Kevin Zheng <147537668+gkevinzheng@users.noreply.github.com>
    Co-authored-by: Chalmer Lowe <chalmerlowe@google.com>
    Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    4 people authored Jan 8, 2026
    Configuration menu
    Copy the full SHA
    3f88a24 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2026

  1. fix: replace deprecated utcfromtimestamp (#1799)

    addresses #1781 
    
    * Moves away from using `utcfromtimestamp()` in the `datetime` library
    due to deprecation.
    * Adds a new helper function to manage internal handling of timezone
    aware versus timezone naive timestamps.
    
    ```
    DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
    ```
    
    ---------
    
    Co-authored-by: Kevin Zheng <147537668+gkevinzheng@users.noreply.github.com>
    Co-authored-by: Chalmer Lowe <chalmerlowe@google.com>
    3 people authored Jan 9, 2026
    Configuration menu
    Copy the full SHA
    e431f20 View commit details
    Browse the repository at this point in the history
  2. feat: honor NO_GCE_CHECK environment variable (#1610)

    Currently, `google.auth.default()` always attempts to authenticate using
    the Google Compute Engine (GCE) metadata service as a fallback. There is
    no easy way to prevent this behavior, leading to unnecessary delays and
    unhelpful exceptions, particularly in cases where GCE-based
    authentication is pointless or undesired.
    
    This pull request introduces a `NO_GCE_CHECK` environment variable,
    allowing users to explicitly skip GCE metadata service authentication.
    This implementation mirrors `NO_GCE_CHECK` in
    [googleapis/google-auth-library-java](https://github.com/googleapis/google-auth-library-java/blob/f154edb3d8503d29f0020b6904dfa40e034ded93/README.md?plain=1#L106-L119):
    
    > _The following are searched (in order) to find the Application Default
    Credentials:_
    >
    > [...]
    >
    > 5. Google Compute Engine built-in credentials
    > - Skip this check by setting the environment variable
    `NO_GCE_CHECK=true`
    
    > [!NOTE]
    > Other clouds also provide similar environment variables, such as
    `AWS_EC2_METADATA_DISABLED` on AWS.
    
    This change is also tangentially related to the following pull requests:
    - #1488
    - #1481
    
    ---------
    
    Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    Co-authored-by: Chalmer Lowe <chalmerlowe@google.com>
    3 people authored Jan 9, 2026
    Configuration menu
    Copy the full SHA
    383c982 View commit details
    Browse the repository at this point in the history
  3. fix: detect correct auth when ADC env var is set but empty (#1374)

    Treat empty strings as if the env var was not set. This fixes an issue where an environment variable for `GOOGLE_APPLICATION_CREDENTIALS` is set, but it empty. Because the default sentinel is `None`, the auth library attempts to load this file. Some systems can set or update an env var, but not unset an env var (e.g. Docker).
    
    Fixes: https://togithub.com/googleapis/python-pubsub/issues/983
    mbrancato authored Jan 9, 2026
    Configuration menu
    Copy the full SHA
    bfc07e1 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2026

  1. chore: add warning for rsa library (#1925)

    The `rsa` library is archived, and scheduled to be removed.
    `google-auth` already supports an alternate implementation, using
    `cryptography`. This PR adds a warning to users still relying on the old
    library, and adds `rsa` as an optional dependency to allow users to
    continue to opt-in to rsa during deprecation persion
    
    After release, a follow-up version will remove rsa as a required
    dependency, leaving it only for opt-in users
    daniel-sanche authored Jan 10, 2026
    Configuration menu
    Copy the full SHA
    6cfdeeb View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2026

  1. feat: add configurable GCE Metadata Server retries (#1488)

    This PR aims to replicate the functionality of the Nodejs library implemented here: https://togithub.com/googleapis/gcp-metadata/pull/275
    judahrand authored Jan 12, 2026
    Configuration menu
    Copy the full SHA
    454b441 View commit details
    Browse the repository at this point in the history
  2. chore(deps): update all dependencies (#1923)

    This PR contains the following updates:
    
    | Package | Change |
    [Age](https://docs.renovatebot.com/merge-confidence/) |
    [Confidence](https://docs.renovatebot.com/merge-confidence/) |
    |---|---|---|---|
    |
    [google-auth](https://redirect.github.com/googleapis/google-auth-library-python)
    | `==2.45.0` → `==2.47.0` |
    ![age](https://developer.mend.io/api/mc/badges/age/pypi/google-auth/2.47.0?slim=true)
    |
    ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/google-auth/2.45.0/2.47.0?slim=true)
    |
    |
    [google-cloud-compute](https://redirect.github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-compute)
    ([source](https://redirect.github.com/googleapis/google-cloud-python)) |
    `==1.40.0` → `==1.41.0` |
    ![age](https://developer.mend.io/api/mc/badges/age/pypi/google-cloud-compute/1.41.0?slim=true)
    |
    ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/google-cloud-compute/1.40.0/1.41.0?slim=true)
    |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>googleapis/google-auth-library-python (google-auth)</summary>
    
    ###
    [`v2.47.0`](https://redirect.github.com/googleapis/google-auth-library-python/blob/HEAD/CHANGELOG.md#2470-2026-01-06)
    
    [Compare
    Source](https://redirect.github.com/googleapis/google-auth-library-python/compare/v2.46.0...v2.47.0)
    
    ##### Features
    
    - drop `cachetools` dependency in favor of simple local implementation
    ([#&#8203;1590](https://redirect.github.com/googleapis/google-auth-library-python/issues/1590))
    ([5c07e1c](https://redirect.github.com/googleapis/google-auth-library-python/commit/5c07e1c4f52bc77a1b16fa3b7b3c5269c242f6f4))
    
    ##### Bug Fixes
    
    - Python 3.8 support
    ([#&#8203;1918](https://redirect.github.com/googleapis/google-auth-library-python/issues/1918))
    ([60dc200](https://redirect.github.com/googleapis/google-auth-library-python/commit/60dc20014a35ec4ba71e8065b9a33ecbdbeca97a))
    
    ###
    [`v2.46.0`](https://redirect.github.com/googleapis/google-auth-library-python/blob/HEAD/CHANGELOG.md#2460-2026-01-05)
    
    [Compare
    Source](https://redirect.github.com/googleapis/google-auth-library-python/compare/v2.45.0...v2.46.0)
    
    ##### Documentation
    
    - update urllib3 docstrings for v2 compatibility
    ([#&#8203;1903](https://redirect.github.com/googleapis/google-auth-library-python/issues/1903))
    ([3f1aeea](https://redirect.github.com/googleapis/google-auth-library-python/commit/3f1aeea2d1014ea1d244a4c3470e52d74d55404b))
    
    ##### Features
    
    - Recognize workload certificate config in
    has\_default\_client\_cert\_source for mTLS for Agentic Identities
    ([#&#8203;1907](https://redirect.github.com/googleapis/google-auth-library-python/issues/1907))
    ([0b9107d](https://redirect.github.com/googleapis/google-auth-library-python/commit/0b9107d573123e358c347ffa067637f992af61b4))
    
    ##### Bug Fixes
    
    - add types to default and verify\_token and Request **init** based on
    comments in the source code.
    ([#&#8203;1588](https://redirect.github.com/googleapis/google-auth-library-python/issues/1588))
    ([59a5f58](https://redirect.github.com/googleapis/google-auth-library-python/commit/59a5f588f7793b59d923a4185c8c07738da618f7))
    - fix the document of secure\_authorized\_session
    ([#&#8203;1536](https://redirect.github.com/googleapis/google-auth-library-python/issues/1536))
    ([5d00147](https://redirect.github.com/googleapis/google-auth-library-python/commit/5d0014707fc359782df5ccfcaa75fd372fe9dce3))
    - remove setup.cfg configuration for creating universal wheels
    ([#&#8203;1693](https://redirect.github.com/googleapis/google-auth-library-python/issues/1693))
    ([c767531](https://redirect.github.com/googleapis/google-auth-library-python/commit/c767531ce05a89002d109f595187aff1fcaacfb7))
    - use .read() instead of .content.read() in aiohttp transport
    ([#&#8203;1899](https://redirect.github.com/googleapis/google-auth-library-python/issues/1899))
    ([12f4470](https://redirect.github.com/googleapis/google-auth-library-python/commit/12f4470f808809e8abf1141f98d88ab720c3899b))
    - raise RefreshError for missing token in impersonated credentials
    ([#&#8203;1897](https://redirect.github.com/googleapis/google-auth-library-python/issues/1897))
    ([94d04e0](https://redirect.github.com/googleapis/google-auth-library-python/commit/94d04e090fdfc61926dd32bc1d65f8820b9cede5))
    - Fix test coverage for mtls\_helper
    ([#&#8203;1886](https://redirect.github.com/googleapis/google-auth-library-python/issues/1886))
    ([02e7163](https://redirect.github.com/googleapis/google-auth-library-python/commit/02e71631fe275d93825c2e957e830773e75133f7))
    
    </details>
    
    <details>
    <summary>googleapis/google-cloud-python (google-cloud-compute)</summary>
    
    ###
    [`v1.41.0`](https://redirect.github.com/googleapis/google-cloud-python/releases/tag/google-cloud-compute-v1.41.0):
    google-cloud-compute 1.41.0
    
    [Compare
    Source](https://redirect.github.com/googleapis/google-cloud-python/compare/google-cloud-compute-v1.40.0...google-cloud-compute-v1.41.0)
    
    ####
    [1.41.0](https://redirect.github.com/googleapis/google-cloud-python/compare/google-cloud-compute-v1.40.0...google-cloud-compute-v1.41.0)
    (2026-01-08)
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - At any time (no schedule defined),
    Automerge - At any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you
    are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.
    
    👻 **Immortal**: This PR will be recreated if closed unmerged. Get
    [config
    help](https://redirect.github.com/renovatebot/renovate/discussions) if
    that's undesired.
    
    ---
    
    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box
    
    ---
    
    This PR was generated by [Mend Renovate](https://mend.io/renovate/).
    View the [repository job
    log](https://developer.mend.io/github/googleapis/google-auth-library-python).
    
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi42OS4xIiwidXBkYXRlZEluVmVyIjoiNDIuNzQuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
    
    Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    renovate-bot and parthea authored Jan 12, 2026
    Configuration menu
    Copy the full SHA
    35670fc View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2026

  1. fix: removes content-header from AWS IMDS get request (#1934)

    When performing a IMDS request, the code incorrectly adds a content-type
    header to the request:
    
    `content-type: application/json` to AWS metadata (IMDS) GET requests.`
    
    Some services at AWS (such as AWS SageMaker Jupyter notebook) have a
    stricter than normal metadata server (IMDS, both v1 and v2) when it
    comes to handling incoming http requests.
    
    This PR removes the default content-header and replaces it with `None`.
    
    NOTE: initializing headers to `None` (instead of an empty `dict`) when
    no session token is present matches the existing behavior in
    `_get_metadata_role_name` and allows the transport adapter to handle
    default headers cleanly.
    
    This PR updates existing unit tests (`tests/test_aws.py`) to match the
    new behavior.
    
    NOTE: closing PR #1489 due to inactivity as we make the push to migrate
    this library to the `google-cloud-python` monorepo
    
    For more information about the genesis of this, see the following issue:
    https://issuetracker.google.com/issues/328089077
    chalmerlowe authored Jan 14, 2026
    Configuration menu
    Copy the full SHA
    97bfea9 View commit details
    Browse the repository at this point in the history
  2. chore(deps): update dependency google-cloud-storage to v3.8.0 (#1935)

    This PR contains the following updates:
    
    | Package | Change |
    [Age](https://docs.renovatebot.com/merge-confidence/) |
    [Confidence](https://docs.renovatebot.com/merge-confidence/) |
    |---|---|---|---|
    |
    [google-cloud-storage](https://redirect.github.com/googleapis/python-storage)
    | `==3.7.0` → `==3.8.0` |
    ![age](https://developer.mend.io/api/mc/badges/age/pypi/google-cloud-storage/3.8.0?slim=true)
    |
    ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/google-cloud-storage/3.7.0/3.8.0?slim=true)
    |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>googleapis/python-storage (google-cloud-storage)</summary>
    
    ###
    [`v3.8.0`](https://redirect.github.com/googleapis/python-storage/blob/HEAD/CHANGELOG.md#380-2026-01-13)
    
    [Compare
    Source](https://redirect.github.com/googleapis/python-storage/compare/v3.7.0...v3.8.0)
    
    ##### Features
    
    - flush the last chunk in append method
    ([#&#8203;1699](https://redirect.github.com/googleapis/python-storage/issues/1699))
    ([89bfe7a5fcd0391da35e9ceccc185279782b5420](https://redirect.github.com/googleapis/python-storage/commit/89bfe7a5fcd0391da35e9ceccc185279782b5420))
    - add write resumption strategy
    ([#&#8203;1663](https://redirect.github.com/googleapis/python-storage/issues/1663))
    ([a57ea0ec786a84c7ae9ed82c6ae5d38ecadba4af](https://redirect.github.com/googleapis/python-storage/commit/a57ea0ec786a84c7ae9ed82c6ae5d38ecadba4af))
    - add bidi stream retry manager.
    ([#&#8203;1632](https://redirect.github.com/googleapis/python-storage/issues/1632))
    ([d90f0ee09902a21b186106bcf0a8cb0b81b34340](https://redirect.github.com/googleapis/python-storage/commit/d90f0ee09902a21b186106bcf0a8cb0b81b34340))
    - implement "append\_from\_file"
    ([#&#8203;1686](https://redirect.github.com/googleapis/python-storage/issues/1686))
    ([1333c956da18b4db753cda98c41c3619c84caf69](https://redirect.github.com/googleapis/python-storage/commit/1333c956da18b4db753cda98c41c3619c84caf69))
    - make flush size configurable
    ([#&#8203;1677](https://redirect.github.com/googleapis/python-storage/issues/1677))
    ([f7095faf0a81239894ff9d277849788b62eb6ac5](https://redirect.github.com/googleapis/python-storage/commit/f7095faf0a81239894ff9d277849788b62eb6ac5))
    - compute chunk wise checksum for bidi\_writes
    ([#&#8203;1675](https://redirect.github.com/googleapis/python-storage/issues/1675))
    ([139390cb01f93a2d61e7ec201e3637dffe0b2a34](https://redirect.github.com/googleapis/python-storage/commit/139390cb01f93a2d61e7ec201e3637dffe0b2a34))
    - expose persisted size in mrd
    ([#&#8203;1671](https://redirect.github.com/googleapis/python-storage/issues/1671))
    ([0e2961bef285fc064174a5c18e3db05c7a682521](https://redirect.github.com/googleapis/python-storage/commit/0e2961bef285fc064174a5c18e3db05c7a682521))
    
    ##### Bug Fixes
    
    - add system test for opening with read\_handle
    ([#&#8203;1672](https://redirect.github.com/googleapis/python-storage/issues/1672))
    ([6dc711dacd4d38c573aa4ca9ad71fe412c0e49c1](https://redirect.github.com/googleapis/python-storage/commit/6dc711dacd4d38c573aa4ca9ad71fe412c0e49c1))
    - no state lookup while opening bidi-write stream
    ([#&#8203;1636](https://redirect.github.com/googleapis/python-storage/issues/1636))
    ([2d5a7b16846a69f3a911844971241899f60cce14](https://redirect.github.com/googleapis/python-storage/commit/2d5a7b16846a69f3a911844971241899f60cce14))
    - close write object stream always
    ([#&#8203;1661](https://redirect.github.com/googleapis/python-storage/issues/1661))
    ([4a609a4b3f4ba1396825911cb02f8a9649135cd5](https://redirect.github.com/googleapis/python-storage/commit/4a609a4b3f4ba1396825911cb02f8a9649135cd5))
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - At any time (no schedule defined),
    Automerge - At any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you
    are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update
    again.
    
    ---
    
    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box
    
    ---
    
    This PR was generated by [Mend Renovate](https://mend.io/renovate/).
    View the [repository job
    log](https://developer.mend.io/github/googleapis/google-auth-library-python).
    
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43NC41IiwidXBkYXRlZEluVmVyIjoiNDIuNzQuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
    
    Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    renovate-bot and parthea authored Jan 14, 2026
    Configuration menu
    Copy the full SHA
    f2ac281 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2026

  1. chore: dedent deprecation warning message (#1932)

    The indentation and leading/trailing newlines made it a little harder than necessary to `filterwarnings` the deprecation warning.
    
    (For instance, for pytest's filterwarnings, you'd need `"ignore:\\s+You are using a Python version 3.8:FutureWarning",`...)
    akx authored Jan 15, 2026
    Configuration menu
    Copy the full SHA
    71e6e8e View commit details
    Browse the repository at this point in the history
  2. chore: extracts unit tests to individual github actions (#1941)

    Extracts unit tests into individual github actions to help parallelize
    the tests and increase development velocity.
    chalmerlowe authored Jan 15, 2026
    Configuration menu
    Copy the full SHA
    4848ac4 View commit details
    Browse the repository at this point in the history
  3. chore(deps): update dependency google-cloud-compute to v1.42.0 (#1939)

    This PR contains the following updates:
    
    | Package | Change |
    [Age](https://docs.renovatebot.com/merge-confidence/) |
    [Confidence](https://docs.renovatebot.com/merge-confidence/) |
    |---|---|---|---|
    |
    [google-cloud-compute](https://redirect.github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-compute)
    ([source](https://redirect.github.com/googleapis/google-cloud-python)) |
    `==1.41.0` → `==1.42.0` |
    ![age](https://developer.mend.io/api/mc/badges/age/pypi/google-cloud-compute/1.42.0?slim=true)
    |
    ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/google-cloud-compute/1.41.0/1.42.0?slim=true)
    |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>googleapis/google-cloud-python (google-cloud-compute)</summary>
    
    ###
    [`v1.42.0`](https://redirect.github.com/googleapis/google-cloud-python/releases/tag/google-cloud-compute-v1.42.0):
    google-cloud-compute 1.42.0
    
    [Compare
    Source](https://redirect.github.com/googleapis/google-cloud-python/compare/google-cloud-compute-v1.41.0...google-cloud-compute-v1.42.0)
    
    ##### Features
    
    - Update Compute Engine v1 API to revision
    [`2025121`](https://redirect.github.com/googleapis/google-cloud-python/commit/20251210)
    ([#&#8203;1137](https://redirect.github.com/googleapis/google-cloud-python/issues/1137))
    ([63cc1cdf](https://redirect.github.com/googleapis/google-cloud-python/commit/63cc1cdf))
    
    - Update Compute Engine v1 API to revision
    [`2025103`](https://redirect.github.com/googleapis/google-cloud-python/commit/20251031)
    ([63cc1cdf](https://redirect.github.com/googleapis/google-cloud-python/commit/63cc1cdf))
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - At any time (no schedule defined),
    Automerge - At any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you
    are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update
    again.
    
    ---
    
    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box
    
    ---
    
    This PR was generated by [Mend Renovate](https://mend.io/renovate/).
    View the [repository job
    log](https://developer.mend.io/github/googleapis/google-auth-library-python).
    
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43NC41IiwidXBkYXRlZEluVmVyIjoiNDIuNzQuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
    
    Co-authored-by: Chalmer Lowe <chalmerlowe@google.com>
    renovate-bot and chalmerlowe authored Jan 15, 2026
    Configuration menu
    Copy the full SHA
    4292ab0 View commit details
    Browse the repository at this point in the history
  4. tests: system tests for expired User Credentials (#1937)

    This PR fixes flaky system tests that fail when `google.auth.default()`
    picks up expired User Credentials.
    
    The previous logic only exempted failures if the
    `GOOGLE_APPLICATION_CREDENTIALS` environment variable pointed to a file
    ending in "authorized_user.json". However, User Credentials can be
    loaded from other locations (e.g., gcloud config), causing the test to
    fail with `RefreshError` instead of ignoring it as intended.
    
    Changes:
    - Added `isinstance` check for `google.oauth2.credentials.Credentials`
    to robustly identify User Credentials.
    - Added `invalid_client` to the list of ignored error messages, as this
    error can also occur with invalid tokens.
    - Applied these fixes to both sync and async system tests.
    
    ---
    *PR created automatically by Jules for task
    [13051961428180802207](https://jules.google.com/task/13051961428180802207)
    started by @chalmerlowe*
    
    Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
    Co-authored-by: Chalmer Lowe <chalmerlowe@google.com>
    google-labs-jules[bot] and chalmerlowe authored Jan 15, 2026
    Configuration menu
    Copy the full SHA
    e5a28b5 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2026

  1. fix: resolve circular imports (#1942)

    We have a couple circular imports in the library:
    - _mtls_helper and _agent_identity_utils both require each other
    - credentials and _default form a cycle
    
    This makes it difficult to import the library into google3
    
    This PR resolved the import issues
    daniel-sanche authored Jan 16, 2026
    Configuration menu
    Copy the full SHA
    25c1b06 View commit details
    Browse the repository at this point in the history
  2. chore(tests): add sleep mocks (#1943)

    Some google3 tests were failing due to timeouts. It seems like there
    were some tests that preformed up to 10 retries, with exponential
    backoff between each one
    
    This PR mocks out sleep, so these tests will complete ~ instantly,
    rather than > 10 mins
    
    ---------
    
    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
    daniel-sanche and gemini-code-assist[bot] authored Jan 16, 2026
    Configuration menu
    Copy the full SHA
    db17a64 View commit details
    Browse the repository at this point in the history
  3. feat(iam): Support the mTLS IAM domain for Certificate based Access (#…

    …1938)
    
    Update the IAM endpoint so that it supports the certificate based Access control
    amtk3 authored Jan 16, 2026
    Configuration menu
    Copy the full SHA
    8dcf91a View commit details
    Browse the repository at this point in the history
  4. feat: add cryptography as required dependency (#1929)

    The `rsa` library has been deprecated and archived. This PR adds
    `cryptography` as a the new preferred backend for RSA operations
    
    In the short term, both `rsa` and `cryptography` will be listed as
    dependencies. Soon, `rsa` will be removed, but still supported as an
    optional dependency. Eventually, it will be completely removed from the
    codebase.
    
    As a part of this change, I introduced new RSASigner and RSAVerifier
    wrapper classes, that can use either cryptography or rsa
    implementations. Previously, the library would only import one or the
    other, depending on if cryptography was installed. This simplifies the
    import structure, and puts rsa and cryptography on equal footing
    
    Fixes
    #912
    Towards
    https://github.com/googleapis/google-auth-library-python/issues/1810
    Towards
    #941
    
    ---------
    
    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
    daniel-sanche and gemini-code-assist[bot] authored Jan 16, 2026
    Configuration menu
    Copy the full SHA
    52558ae View commit details
    Browse the repository at this point in the history
  5. chore(tests): add cryptography to constraints file (#1944)

    Add new required dependency to test constraints, to ensure minimum
    versions are tested
    
    Also, moved constraints file to 3.8, since 3.7 is no longer supported
    daniel-sanche authored Jan 16, 2026
    Configuration menu
    Copy the full SHA
    526d6c6 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2026

  1. chore: librarian release pull request: 20260121T162706Z (#1946)

    PR created by the Librarian CLI to initialize a release. Merging this PR
    will auto trigger a release.
    
    Librarian Version: v1.0.1
    Language Image:
    us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:b8058df4c45e9a6e07f6b4d65b458d0d059241dd34c814f151c8bf6b89211209
    <details><summary>google-auth: 2.48.0</summary>
    
    ##
    [2.48.0](v2.47.0...v2.48.0)
    (2026-01-21)
    
    ### Features
    
    * honor `NO_GCE_CHECK` environment variable (#1610)
    ([383c982](383c9827))
    
    * add configurable GCE Metadata Server retries (#1488)
    ([454b441](454b441b))
    
    * add cryptography as required dependency (#1929)
    ([52558ae](52558ae2))
    
    * Support the mTLS IAM domain for Certificate based Access (#1938)
    ([8dcf91a](8dcf91a1))
    
    ### Bug Fixes
    
    * resolve circular imports (#1942)
    ([25c1b06](25c1b064))
    
    * Use `user_verification=preferred` for ReAuth WebAuthn challenge
    (#1798)
    ([3f88a24](3f88a240))
    
    * removes `content-header` from AWS IMDS get request (#1934)
    ([97bfea9](97bfea9e))
    
    * detect correct auth when ADC env var is set but empty (#1374)
    ([bfc07e1](bfc07e10))
    
    * replace deprecated utcfromtimestamp (#1799)
    ([e431f20](e431f20c))
    
    </details>
    daniel-sanche authored Jan 26, 2026
    Configuration menu
    Copy the full SHA
    6a982be View commit details
    Browse the repository at this point in the history
Loading