Skip to content

ci: ignore the google-api-core Python 3.10 warning - #12158

Merged
deepyaman merged 1 commit into
mainfrom
google-api-core-py310
Oct 13, 2026
Merged

deepyaman merged 1 commit into
mainfrom
google-api-core-py310

Conversation

@deepyaman

Copy link
Copy Markdown
Collaborator

Description of changes

google.api_core emits a FutureWarning at import time once Google's support window for the running Python version has ended, which is now the case for Python 3.10. Our filterwarnings = ["error", ...] turns that into a collection error, failing every Python 3.10 job on every branch:

FutureWarning: You are using a non-supported Python version (3.10.22). Google will not post any further updates to google.api_core supporting this Python version. Please upgrade to the latest Python version, or at least Python 3.11, and then update google.api_core.

Ignore it alongside the other google-api-core warning filters. With this change, all 29 Python 3.10 jobs passed on #12147, where it was first carried.

🤖 Generated with Claude Code

`google.api_core` emits a `FutureWarning` at import time once Google's
support window for the running Python version has ended, which is now
the case for Python 3.10. Our `filterwarnings = ["error", ...]` turns
that into a collection error, failing every Python 3.10 job. Ignore it
alongside the other google-api-core warning filters.

Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>
deepyaman added a commit that referenced this pull request Oct 12, 2026
`google.api_core` emits a `FutureWarning` at import time once Google's
support window for the running Python version has ended, which is now
the case for Python 3.10. Our `filterwarnings = ["error", ...]` turns
that into a collection error, failing every Python 3.10 job. Ignore it
alongside the other google-api-core warning filters.

Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>
@deepyaman
deepyaman requested a review from NickCrews October 12, 2026 22:35
@deepyaman

Copy link
Copy Markdown
Collaborator Author

I've also included this trivial fix in #12147; happy to land it through a rebase-merge there, too.

@NickCrews

Copy link
Copy Markdown
Contributor

I like landing it here in the separate PR so we have a better audit trail. LGTM, thanks!

@deepyaman
deepyaman merged commit 8bfda4f into main Oct 13, 2026
85 checks passed
@deepyaman
deepyaman deleted the google-api-core-py310 branch October 13, 2026 00:53
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