Skip to content

feat(spanner): drop python runtime 3.9 #17070

Merged
chalmerlowe merged 2 commits into
mainfrom
feat/drop-python-3.9-spanner-clean
May 13, 2026
Merged

feat(spanner): drop python runtime 3.9 #17070
chalmerlowe merged 2 commits into
mainfrom
feat/drop-python-3.9-spanner-clean

Conversation

@chalmerlowe
Copy link
Copy Markdown
Contributor

Description

This Pull Request drops support for Python 3.9 in the google-cloud-spanner package. This is part of our ongoing effort to modernize the Cloud SDK libraries and remove support for End-of-Life (EOL) Python versions.

Changes

  • Removed Python 3.9 from testing configurations and constraints files.
  • Resolved dependency conflicts arising from dropping support.
  • Cleaned up obsolete code related to Python 3.9 support.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the minimum supported Python version to 3.10, removing support for Python 3.9 and earlier. It includes corresponding updates to the documentation, dependency requirements in setup.py, and CI configuration. Additionally, the PR cleans up legacy code paths related to older Python versions, updates OpenTelemetry attribute keys, and removes now-unnecessary code coverage workarounds in the test suite. There are no review comments to address.

@chalmerlowe chalmerlowe marked this pull request as ready for review May 13, 2026 13:49
@chalmerlowe chalmerlowe requested a review from a team as a code owner May 13, 2026 13:49
@chalmerlowe chalmerlowe changed the title feat(python): drop python runtime 3.9 feat(spanner): drop python runtime 3.9 May 13, 2026
@chalmerlowe chalmerlowe merged commit cddabc0 into main May 13, 2026
31 checks passed
@chalmerlowe chalmerlowe deleted the feat/drop-python-3.9-spanner-clean branch May 13, 2026 14:12
nidhiii-27 pushed a commit that referenced this pull request May 18, 2026
## Description
This Pull Request drops support for Python 3.9 in the
`google-cloud-spanner` package. This is part of our ongoing effort to
modernize the Cloud SDK libraries and remove support for End-of-Life
(EOL) Python versions.

## Changes
- Removed Python 3.9 from testing configurations and constraints files.
- Resolved dependency conflicts arising from dropping support.
- Cleaned up obsolete code related to Python 3.9 support.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants