From c9165933bff89626fdabfa37c7c7a1f479239ae1 Mon Sep 17 00:00:00 2001 From: Deepyaman Datta Date: Mon, 12 Oct 2026 00:45:29 -0600 Subject: [PATCH] ci: ignore the google-api-core Python 3.10 warning `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 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 983305ee9931..b46a431f5a61 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -458,6 +458,7 @@ filterwarnings = [ "ignore:is_sparse is deprecated and will be removed in a future version:DeprecationWarning", # google-api-core "ignore:Please install grpcio-status to obtain helpful grpc error messages.", + "ignore:You are using a non-supported Python version:FutureWarning", # dateutil tz 'ignore:datetime\.datetime\.utcfromtimestamp\(\) is deprecated and scheduled for removal:DeprecationWarning', # types using custom tp_new are deprecated in python 3.12