Comparing v3.61.0...v3.62.0 · googleapis/python-spanner

This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Permalink

  • 5 commits
  • 22 files changed
  • 5 contributors

Commits on Dec 17, 2025

  1. Configuration menu

    Browse the repository at this point in the history

Commits on Jan 6, 2026

  1. fix: resolve pre-release dependency failures and sqlparse recursion (#…

    …1472)
    
    1. add cryptography to prerelease dependencies
    The prerelease dependency check installs packages with `--no-deps`,
    which causes `google-auth` to fail because its dependency `cryptography`
    and `cffi` is missing. This change explicitly adds `cryptography` and
    `cffi` to the `prerel_deps` list in `noxfile.py` to ensure it is
    installed during the test session.
    
    2. bypass sqlparse for RUN PARTITION commands
    Check for RUN PARTITION command to avoid sqlparse processing it.
    sqlparse fails with "Maximum grouping depth exceeded" on long partition
    IDs causing flakiness in system tests.
    Configuration menu

    Browse the repository at this point in the history

  2. Configuration menu

    Browse the repository at this point in the history

Commits on Jan 14, 2026

  1. fix(spanner): handle errors during stream restart in snapshot (#1471)

    ***Handle errors during stream restart in snapshot***
    
    **Root Cause**
    When `_restart_on_unavailable` caught a `ServiceUnavailable` or
    resumable `InternalServerError`, it attempted to re-initialize the
    iterator immediately within the `except` block. If this
    re-initialization failed (e.g. due to a persistent transient error), the
    exception would propagate unhandled, breaking the retry loop.
    
    **Fix**
    This change modifies the logic to reset the iterator to `None` and
    `continue` the loop, forcing the re-initialization to occur inside the
    `try` block. This ensures that subsequent errors during restart are
    properly caught and retried.
    
    **Testing**
    Added unit tests to cover this specific behavior
    Configuration menu

    Browse the repository at this point in the history

Commits on Jan 16, 2026

  1. chore: librarian release pull request: 20260114T204223Z (#1478)

    PR created by the Librarian CLI to initialize a release. Merging this PR
    will auto trigger a release.
    
    Librarian Version: v1.0.0
    Language Image:
    us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:b8058df4c45e9a6e07f6b4d65b458d0d059241dd34c814f151c8bf6b89211209
    <details><summary>google-cloud-spanner: 3.62.0</summary>
    
    ##
    [3.62.0](v3.61.0...v3.62.0)
    (2026-01-14)
    
    ### Features
    
    * add uuid support (#1310)
    ([3b1792a](3b1792aa))
    
    ### Bug Fixes
    
    * transaction_tag should be set on BeginTransactionRequest (#1463)
    ([3d3cea0](3d3cea0b))
    
    * resolve pre-release dependency failures and sqlparse recursion (#1472)
    ([9ec95b7](9ec95b7d))
    
    * handle errors during stream restart in snapshot (#1471)
    ([c066873](c0668735))
    
    </details>
    Configuration menu

    Browse the repository at this point in the history