Skip to content

Commit ec800d7

Browse files
committed
Allow protobuf 6.x
1 parent 15cd6d4 commit ec800d7

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

gapic/ads-templates/setup.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dependencies = [
3434
"googleapis-common-protos >= 1.53.0",
3535
"grpcio >= 1.10.0",
3636
"proto-plus >= 1.22.3, <2.0.0",
37-
"protobuf >= 4.25.8, <5.0.0dev",
37+
"protobuf >= 4.25.8, <7.0.0",
3838
{% if api.requires_package(('google', 'iam', 'v1')) %}
3939
"grpc-google-iam-v1",
4040
{% endif %}

gapic/templates/setup.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ dependencies = [
4242
"proto-plus >= 1.22.3, <2.0.0",
4343
"proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'",
4444
{# Explicitly exclude protobuf versions mentioned in https://cloud.google.com/support/bulletins#GCP-2022-019 #}
45-
"protobuf >= 4.25.8, <5.0.0dev",
45+
"protobuf >= 4.25.8, <7.0.0",
4646
{% for package_tuple, package_info in pypi_packages.items() %}
4747
{# 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. #}
4848
{% if api.naming.warehouse_package_name != package_info.package_name %}

tests/integration/goldens/asset/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
4848
"proto-plus >= 1.22.3, <2.0.0",
4949
"proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'",
50-
"protobuf >= 4.25.8, <5.0.0dev",
50+
"protobuf >= 4.25.8, <7.0.0",
5151
"google-cloud-access-context-manager >= 0.1.2, <1.0.0",
5252
"google-cloud-os-config >= 1.0.0, <2.0.0",
5353
"grpc-google-iam-v1 >= 0.14.0, <1.0.0",

tests/integration/goldens/credentials/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
4848
"proto-plus >= 1.22.3, <2.0.0",
4949
"proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'",
50-
"protobuf >= 4.25.8, <5.0.0dev",
50+
"protobuf >= 4.25.8, <7.0.0",
5151
]
5252
extras = {
5353
}

tests/integration/goldens/eventarc/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
4848
"proto-plus >= 1.22.3, <2.0.0",
4949
"proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'",
50-
"protobuf >= 4.25.8, <5.0.0dev",
50+
"protobuf >= 4.25.8, <7.0.0",
5151
"grpc-google-iam-v1 >= 0.14.0, <1.0.0",
5252
]
5353
extras = {

tests/integration/goldens/logging/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
4848
"proto-plus >= 1.22.3, <2.0.0",
4949
"proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'",
50-
"protobuf >= 4.25.8, <5.0.0dev",
50+
"protobuf >= 4.25.8, <7.0.0",
5151
]
5252
extras = {
5353
}

tests/integration/goldens/logging_internal/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
4848
"proto-plus >= 1.22.3, <2.0.0",
4949
"proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'",
50-
"protobuf >= 4.25.8, <5.0.0dev",
50+
"protobuf >= 4.25.8, <7.0.0",
5151
]
5252
extras = {
5353
}

tests/integration/goldens/redis/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
4848
"proto-plus >= 1.22.3, <2.0.0",
4949
"proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'",
50-
"protobuf >= 4.25.8, <5.0.0dev",
50+
"protobuf >= 4.25.8, <7.0.0",
5151
]
5252
extras = {
5353
"async_rest": [

tests/integration/goldens/redis_selective/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
4848
"proto-plus >= 1.22.3, <2.0.0",
4949
"proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'",
50-
"protobuf >= 4.25.8, <5.0.0dev",
50+
"protobuf >= 4.25.8, <7.0.0",
5151
]
5252
extras = {
5353
"async_rest": [

0 commit comments

Comments
 (0)