FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: drop support for Python 3.7-3.9 by ohmayr · Pull Request #2770 · googleapis/google-api-python-client · GitHub

fix: drop support for Python 3.7-3.9 - #2770

Merged
parthea merged 4 commits into
mainfrom
drop-python-3.7-3.9
Aug 20, 2026
Merged

fix: drop support for Python 3.7-3.9#2770
parthea merged 4 commits into
mainfrom
drop-python-3.7-3.9

Conversation

ohmayr commented Jun 19, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

Drop support for Python 3.7. 3.8, and 3.9.

Fixes: #2769

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

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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.

Copy link
Copy Markdown

I ran the version scanner on this PR, once for each of Python 3.7, 3.8, 3.9.
Here are the results:

Python 3.7: Google Sheet Link (4 matches)
Python 3.8: Google Sheet Link (9 matches)
Python 3.9: Google Sheet Link (7 matches)

There may be a few false positives, but I know that:

  • the github workflow still references Python 3.9
  • there are still constraints-3.7.txt through *-3.9.txt

parthea changed the title chore: drop support for Python 3.7-3.9 fix: drop support for Python 3.7-3.9 Aug 20, 2026
parthea enabled auto-merge (squash) August 20, 2026 20:22
parthea merged commit 7b8de0b into main Aug 20, 2026
17 checks passed
parthea deleted the drop-python-3.7-3.9 branch August 20, 2026 20:44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

3 participants


Back | FazBrowse Home | New Git URL