From 0edda68319b46ed16b657043b26e7effb4ceb158 Mon Sep 17 00:00:00 2001 From: Matthew Tang Date: Thu, 15 Oct 2026 15:04:50 -0700 Subject: [PATCH] chore: Update min version of google-api-core PiperOrigin-RevId: 1000419189 --- setup.py | 7 ++----- testing/constraints-3.10.txt | 2 +- testing/constraints-3.11.txt | 2 +- testing/constraints-3.12.txt | 2 +- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/setup.py b/setup.py index 7a78fe99fd..8c5481f7ea 100644 --- a/setup.py +++ b/setup.py @@ -266,7 +266,7 @@ "aiohttp", "bigframes; python_version>='3.10' and python_version<'3.14'", # google-api-core 2.x is required since kfp requires protobuf > 4 - "google-api-core >= 2.11, < 3.0.0", + "google-api-core >= 2.27.0, < 3.0.0", "grpcio-testing", "grpcio-tools >= 1.63.0; python_version>='3.13'", "ipython", @@ -315,10 +315,7 @@ platforms="Posix; MacOS X; Windows", include_package_data=True, install_requires=( - ( - "google-api-core[grpc] >= 1.34.1," - " <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*" - ), + "google-api-core[grpc] >= 2.27.0, <3.0.0", "google-auth >= 2.47.0, <3.0.0", "certifi >= 2023.7.22", "proto-plus >= 1.22.3, <2.0.0", diff --git a/testing/constraints-3.10.txt b/testing/constraints-3.10.txt index bae8a3dbaf..590569be42 100644 --- a/testing/constraints-3.10.txt +++ b/testing/constraints-3.10.txt @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # This constraints file is required for unit tests. # List all library dependencies and extras in this file. -google-api-core==2.21.0 # Tests google-api-core with rest async support +google-api-core==2.27.0 # Tests google-api-core with rest async support google-auth==2.49.0 proto-plus==1.22.3 protobuf diff --git a/testing/constraints-3.11.txt b/testing/constraints-3.11.txt index 62acf90a5b..2c2484ef72 100644 --- a/testing/constraints-3.11.txt +++ b/testing/constraints-3.11.txt @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # This constraints file is required for unit tests. # List all library dependencies and extras in this file. -google-api-core==2.21.0 # Tests google-api-core with rest async support +google-api-core==2.27.0 # Tests google-api-core with rest async support google-auth==2.49.0 proto-plus protobuf diff --git a/testing/constraints-3.12.txt b/testing/constraints-3.12.txt index b35278dc6e..8421e7d834 100644 --- a/testing/constraints-3.12.txt +++ b/testing/constraints-3.12.txt @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # This constraints file is required for unit tests. # List all library dependencies and extras in this file. -google-api-core==2.21.0 # Tests google-api-core with rest async support +google-api-core==2.27.0 # Tests google-api-core with rest async support google-auth==2.49.0 proto-plus mock==4.0.2