Skip to content

chore: drop support for Python 3.7-3.9#2770

Open
ohmayr wants to merge 3 commits into
mainfrom
drop-python-3.7-3.9
Open

chore: drop support for Python 3.7-3.9#2770
ohmayr wants to merge 3 commits into
mainfrom
drop-python-3.7-3.9

Conversation

@ohmayr

@ohmayr ohmayr commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Drop support for Python 3.7. 3.8, and 3.9.

Fixes: #2769

@ohmayr ohmayr requested review from a team as code owners June 19, 2026 03:09
@ohmayr ohmayr requested a review from parthea June 19, 2026 03:09
@product-auto-label product-auto-label Bot added the size: m Pull request size is medium. label Jun 19, 2026

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

Copy link
Copy Markdown

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.7, 3.8, and 3.9, raising the minimum supported Python version to 3.10 across configuration files, documentation, setup scripts, and tests. It also updates issue/PR assignment configurations and modernizes GCS copy commands in Kokoro scripts. The reviewer feedback highlights obsolete notes in CONTRIBUTING.rst regarding older Python 3 versions and Python 2 compatibility that should be removed or updated.

Comment thread CONTRIBUTING.rst
.. note::

System tests are only configured to run under Python 3.8.
System tests are only configured to run under Python 3.10.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

Since Python 3.10 is now the minimum supported version, the note on the following line ('For expediency, we do not run them in older versions of Python 3.') is obsolete because there are no older supported versions of Python 3. Consider removing or updating that sentence to avoid confusion.

Comment thread CONTRIBUTING.rst


We also explicitly decided to support Python 3 beginning with version 3.7.
We also explicitly decided to support Python 3 beginning with version 3.10.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

Since the minimum supported Python version is now 3.10, the reasons listed below (specifically the third bullet point regarding Unicode literal support for Python 2 and Python 3 compatibility) are obsolete and no longer applicable. Consider removing or updating that bullet point to reflect modern Python 3.10+ features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop support for Python 3.7, 3.8, and 3.9

1 participant