Skip to content

Commit 0953133

Browse files
authored
tests(gapic-generator): ensure tests run with Protobuf 7.x (#17348)
Towards #16001
1 parent 34ca90e commit 0953133

18 files changed

Lines changed: 18 additions & 18 deletions

File tree

packages/gapic-generator/gapic/templates/testing/constraints-3.13.txt.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ google-api-core>=2
1010
google-auth>=2
1111
grpcio>=1
1212
proto-plus>=1
13-
protobuf>=6
13+
protobuf>=7
1414
{% for package_tuple, package_info in pypi_packages.items() %}
1515
{# 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. #}
1616
{% if api.naming.warehouse_package_name != package_info.package_name %}

packages/gapic-generator/gapic/templates/testing/constraints-3.14.txt.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ google-api-core>=2
1010
google-auth>=2
1111
grpcio>=1
1212
proto-plus>=1
13-
protobuf>=6
13+
protobuf>=7
1414
{% for package_tuple, package_info in pypi_packages.items() %}
1515
{# 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. #}
1616
{% if api.naming.warehouse_package_name != package_info.package_name %}

packages/gapic-generator/tests/integration/goldens/asset/testing/constraints-3.13.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ google-api-core>=2
99
google-auth>=2
1010
grpcio>=1
1111
proto-plus>=1
12-
protobuf>=6
12+
protobuf>=7
1313
google-cloud-access-context-manager>=0
1414
google-cloud-os-config>=1
1515
grpc-google-iam-v1>=0

packages/gapic-generator/tests/integration/goldens/asset/testing/constraints-3.14.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ google-api-core>=2
99
google-auth>=2
1010
grpcio>=1
1111
proto-plus>=1
12-
protobuf>=6
12+
protobuf>=7
1313
google-cloud-access-context-manager>=0
1414
google-cloud-os-config>=1
1515
grpc-google-iam-v1>=0

packages/gapic-generator/tests/integration/goldens/credentials/testing/constraints-3.13.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ google-api-core>=2
99
google-auth>=2
1010
grpcio>=1
1111
proto-plus>=1
12-
protobuf>=6
12+
protobuf>=7

packages/gapic-generator/tests/integration/goldens/credentials/testing/constraints-3.14.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ google-api-core>=2
99
google-auth>=2
1010
grpcio>=1
1111
proto-plus>=1
12-
protobuf>=6
12+
protobuf>=7

packages/gapic-generator/tests/integration/goldens/eventarc/testing/constraints-3.13.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ google-api-core>=2
99
google-auth>=2
1010
grpcio>=1
1111
proto-plus>=1
12-
protobuf>=6
12+
protobuf>=7
1313
grpc-google-iam-v1>=0

packages/gapic-generator/tests/integration/goldens/eventarc/testing/constraints-3.14.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ google-api-core>=2
99
google-auth>=2
1010
grpcio>=1
1111
proto-plus>=1
12-
protobuf>=6
12+
protobuf>=7
1313
grpc-google-iam-v1>=0

packages/gapic-generator/tests/integration/goldens/logging/testing/constraints-3.13.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ google-api-core>=2
99
google-auth>=2
1010
grpcio>=1
1111
proto-plus>=1
12-
protobuf>=6
12+
protobuf>=7

packages/gapic-generator/tests/integration/goldens/logging/testing/constraints-3.14.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ google-api-core>=2
99
google-auth>=2
1010
grpcio>=1
1111
proto-plus>=1
12-
protobuf>=6
12+
protobuf>=7

0 commit comments

Comments
 (0)