From 98c76ba4d962fc5fa0d3eb0b28ff11a8ca711dac Mon Sep 17 00:00:00 2001 From: Lingqing Gan Date: Wed, 8 Oct 2025 11:20:57 -0700 Subject: [PATCH 1/3] chore: add trove classifier for Python 3.14 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index da404ab3..97910d19 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,6 +40,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Operating System :: OS Independent", "Topic :: Internet", ] From 7f9d4fc65de5da58b37c3da87ee27d2a122e5f94 Mon Sep 17 00:00:00 2001 From: Lingqing Gan Date: Wed, 8 Oct 2025 11:37:33 -0700 Subject: [PATCH 2/3] pin grpcio and grpcio-status versions --- pyproject.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 97910d19..d42c4ae2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,9 +62,15 @@ Repository = "https://github.com/googleapis/python-api-core" async_rest = ["google-auth[aiohttp] >= 2.35.0, < 3.0.0"] grpc = [ "grpcio >= 1.33.2, < 2.0.0", - "grpcio >= 1.49.1, < 2.0.0; python_version >= '3.11'", + "grpcio >= 1.49.1, < 2.0.0; python_version == '3.11'", + "grpcio >= 1.59.0, < 2.0.0; python_version == '3.12'", + "grpcio >= 1.67.0, < 2.0.0; python_version == '3.13'", + "grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'", "grpcio-status >= 1.33.2, < 2.0.0", - "grpcio-status >= 1.49.1, < 2.0.0; python_version >= '3.11'", + "grpcio-status >= 1.49.1, < 2.0.0; python_version == '3.11'", + "grpcio-status >= 1.59.0, < 2.0.0; python_version == '3.12'", + "grpcio-status >= 1.67.0, < 2.0.0; python_version == '3.13'", + "grpcio-status >= 1.75.1, < 2.0.0; python_version >= '3.14'", ] grpcgcp = ["grpcio-gcp >= 0.2.2, < 1.0.0"] grpcio-gcp = ["grpcio-gcp >= 0.2.2, < 1.0.0"] From e34dc07eca00ff3c229bbac15d275dafdb264bc5 Mon Sep 17 00:00:00 2001 From: Lingqing Gan Date: Wed, 8 Oct 2025 12:55:44 -0700 Subject: [PATCH 3/3] revert pinning grpcio for python 3.12 and 3.13 --- pyproject.toml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d42c4ae2..71ce7224 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,14 +62,10 @@ Repository = "https://github.com/googleapis/python-api-core" async_rest = ["google-auth[aiohttp] >= 2.35.0, < 3.0.0"] grpc = [ "grpcio >= 1.33.2, < 2.0.0", - "grpcio >= 1.49.1, < 2.0.0; python_version == '3.11'", - "grpcio >= 1.59.0, < 2.0.0; python_version == '3.12'", - "grpcio >= 1.67.0, < 2.0.0; python_version == '3.13'", + "grpcio >= 1.49.1, < 2.0.0; python_version >= '3.11'", "grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'", "grpcio-status >= 1.33.2, < 2.0.0", - "grpcio-status >= 1.49.1, < 2.0.0; python_version == '3.11'", - "grpcio-status >= 1.59.0, < 2.0.0; python_version == '3.12'", - "grpcio-status >= 1.67.0, < 2.0.0; python_version == '3.13'", + "grpcio-status >= 1.49.1, < 2.0.0; python_version >= '3.11'", "grpcio-status >= 1.75.1, < 2.0.0; python_version >= '3.14'", ] grpcgcp = ["grpcio-gcp >= 0.2.2, < 1.0.0"]