Skip to content

fix(runtimeconfig): Drop support for Python 3.9#16947

Merged
parthea merged 4 commits intomainfrom
feat/drop-python-3.7-3.9-google-cloud-runtimeconfig
May 5, 2026
Merged

fix(runtimeconfig): Drop support for Python 3.9#16947
parthea merged 4 commits intomainfrom
feat/drop-python-3.7-3.9-google-cloud-runtimeconfig

Conversation

@chalmerlowe
Copy link
Copy Markdown
Contributor

This PR updates `google-cloud-runtimeconfig` to establish Python 3.10 as the minimum supported version, dropping support for Python 3.9 and below.

Changes

  • Configuration: Updated `setup.py` and `noxfile.py` to require Python 3.10+ and remove references to Python 3.9.
  • Documentation: Updated `README.rst` and `CONTRIBUTING.rst` to reflect supported Python versions.
  • Cleanup: Removed dead deprecation warnings from `pytest.ini`.
  • Constraints: Transferred lower bounds to `constraints-3.10.txt` and dropped `constraints-3.9.txt`.

Verified successfully with 49 passing unit tests under Python 3.10!

Fixes internal issue: http://b/482126936 🦕

@chalmerlowe chalmerlowe requested a review from a team as a code owner May 5, 2026 17:22
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 drops support for Python 3.9 across the google-cloud-runtimeconfig package, updating documentation, CI configurations, and package metadata to reflect a minimum requirement of Python 3.10. Feedback highlights inconsistencies where Python 3.13 and 3.14 are documented as supported but are absent from the setup.py classifiers and noxfile.py test versions.


- The feature must work fully on the following CPython versions:
3.9, 3.10, 3.11, 3.12, 3.13 and 3.14 on both UNIX and Windows.
3.10, 3.11, 3.12, 3.13 and 3.14 on both UNIX and Windows.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The documentation lists Python 3.13 and 3.14 as supported, but these versions are not included in the setup.py classifiers or the UNIT_TEST_PYTHON_VERSIONS in noxfile.py. Please update those files to ensure consistency. Additionally, ensure that all version-specific link targets for 3.13 and 3.14 are correctly defined in this file to avoid broken references.

References
  1. When updating the list of supported Python versions in documentation, ensure that all version-specific link targets are present and correctly defined to avoid broken references.

@parthea parthea changed the title feat(runtimeconfig): Drop support for Python 3.9 fix(runtimeconfig): Drop support for Python 3.9 May 5, 2026
@parthea parthea merged commit e7efd90 into main May 5, 2026
30 checks passed
@parthea parthea deleted the feat/drop-python-3.7-3.9-google-cloud-runtimeconfig branch May 5, 2026 17:56
@chalmerlowe chalmerlowe added this to the Drop support for 3.7-3.9 milestone May 5, 2026
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