Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

deps: Remove Python 3.7 and 3.8 as supported runtimes - #2133

Merged
chalmerlowe merged 67 commits into
mainfrom
fix-b387301099-remove-python-37
Feb 28, 2025
Merged

deps: Remove Python 3.7 and 3.8 as supported runtimes#2133
chalmerlowe merged 67 commits into
mainfrom
fix-b387301099-remove-python-37

Conversation

@chalmerlowe

@chalmerlowechalmerlowe commented Feb 14, 2025

Copy link
Copy Markdown
Collaborator

Fix: Update Python versions by dropping support for versions 3.7, 3.8.

Also includes minor fixes and tweaks needed to support the primary changes related to dropping runtimes.

This is a work in progress. Do not merge.

@chalmerlowe
chalmerlowe requested review from a team and Neenu1995February 14, 2025 15:29
@product-auto-labelproduct-auto-labelBot added size: l Pull request size is large. api: bigquery Issues related to the googleapis/python-bigquery API. labels Feb 14, 2025
@chalmerlowe
chalmerlowe removed the request for review from Neenu1995February 14, 2025 15:29
@chalmerlowechalmerlowe added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Feb 14, 2025
@chalmerlowe
chalmerlowe requested a review from a team as a code ownerFebruary 14, 2025 16:29
gcf-owl-botBotand others added 17 commits February 14, 2025 16:31
env | grep KOKORO

# Install nox
# `virtualenv==20.26.6` is added for Python 3.7 compatibility

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.

should we remove virtualenv==20.26.6 because 3.7 is removed too?

Copy link
Copy Markdown
CollaboratorAuthor

Choose a reason for hiding this comment

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

We want virtualenv.
I am testing locally to see if we can simply install virtualenv without specifying a version number.

Copy link
Copy Markdown
CollaboratorAuthor

Choose a reason for hiding this comment

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

Somewhere Owlbot.py did some post processing and reverted that bit of code to add that change back in because it pulled in the template for certain files and overwrote my changes.
I edited owlbot.py so that it will not touch certain templates AND so that for certain templates that it will protect the edits that we need to have go through.

@chalmerlowechalmerlowe added owlbot:run Add this label to trigger the Owlbot post processor. and removed owlbot:ignore instruct owl-bot to ignore a PR labels Feb 28, 2025
@gcf-owl-botgcf-owl-botBot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 28, 2025

@LinchinLinchin left a comment

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.

Thank you so much for working on deprecating 3.7 and 3.8, it's been great work! LGTM. 🎉

@chalmerlowe
chalmerlowe merged commit fb7de39 into mainFeb 28, 2025
@chalmerlowe
chalmerlowe deleted the fix-b387301099-remove-python-37 branch February 28, 2025 18:14
@release-pleaserelease-pleaseBot mentioned this pull request Feb 28, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.size: lPull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@chalmerlowe@tswast@Linchin@alvarowolfx@kokoro-team