Skip to content

Commit 0c60076

Browse files
committed
WIP: try requiring api-core at a minimum of 2.11.0 to get fragment tests to pass
1 parent ce8f57c commit 0c60076

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

gapic/templates/setup.py.j2

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ dependencies = [
4141
"grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
4242
"proto-plus >= 1.22.3, <2.0.0",
4343
"proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'",
44-
{# Explicitly exclude protobuf versions mentioned in https://cloud.google.com/support/bulletins#GCP-2022-019 #}
4544
"protobuf >= 4.25.8, <7.0.0",
4645
{% for package_tuple, package_info in pypi_packages.items() %}
4746
{# Quick check to make sure `package_info.package_name` is not the package being generated so we don't circularly include this package in its own constraints file. #}
@@ -55,7 +54,7 @@ dependencies = [
5554
extras = {
5655
{% if rest_async_io_enabled %}
5756
"async_rest": [
58-
"google-api-core[grpc] >= 2.21.0, < 3.0.0",
57+
"google-api-core[grpc] >= 2.11.0, < 3.0.0",
5958
"google-auth[aiohttp] >= 2.35.0, <3.0.0"
6059
],
6160
{% endif %}

tests/integration/goldens/redis/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
]
5252
extras = {
5353
"async_rest": [
54-
"google-api-core[grpc] >= 2.21.0, < 3.0.0",
54+
"google-api-core[grpc] >= 2.11.0, < 3.0.0",
5555
"google-auth[aiohttp] >= 2.35.0, <3.0.0"
5656
],
5757
}

tests/integration/goldens/redis_selective/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
]
5252
extras = {
5353
"async_rest": [
54-
"google-api-core[grpc] >= 2.21.0, < 3.0.0",
54+
"google-api-core[grpc] >= 2.11.0, < 3.0.0",
5555
"google-auth[aiohttp] >= 2.35.0, <3.0.0"
5656
],
5757
}

0 commit comments

Comments
 (0)