diff --git a/gapic/templates/setup.py.j2 b/gapic/templates/setup.py.j2 index 2f265dd994..f796c56c23 100644 --- a/gapic/templates/setup.py.j2 +++ b/gapic/templates/setup.py.j2 @@ -37,6 +37,8 @@ dependencies = [ # Exclude incompatible versions of `google-auth` # See https://github.com/googleapis/google-cloud-python/issues/12364 "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", + "grpcio >= 1.33.2, < 2.0.0", + "grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'", "proto-plus >= 1.22.3, <2.0.0", "proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'", {# Explicitly exclude protobuf versions mentioned in https://cloud.google.com/support/bulletins#GCP-2022-019 #} diff --git a/gapic/templates/testing/_default_constraints.j2 b/gapic/templates/testing/_default_constraints.j2 index 74049d395c..19da09d537 100644 --- a/gapic/templates/testing/_default_constraints.j2 +++ b/gapic/templates/testing/_default_constraints.j2 @@ -2,6 +2,8 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf {% for package_tuple, package_info in pypi_packages.items() %} diff --git a/gapic/templates/testing/constraints-3.13.txt.j2 b/gapic/templates/testing/constraints-3.13.txt.j2 index ef07e24064..c2e7b8a993 100644 --- a/gapic/templates/testing/constraints-3.13.txt.j2 +++ b/gapic/templates/testing/constraints-3.13.txt.j2 @@ -8,6 +8,7 @@ # Then this file should have google-cloud-foo>=1 google-api-core>=2 google-auth>=2 +grpcio>=1 proto-plus>=1 protobuf>=6 {% for package_tuple, package_info in pypi_packages.items() %} diff --git a/gapic/templates/testing/constraints-3.14.txt.j2 b/gapic/templates/testing/constraints-3.14.txt.j2 index ef07e24064..c2e7b8a993 100644 --- a/gapic/templates/testing/constraints-3.14.txt.j2 +++ b/gapic/templates/testing/constraints-3.14.txt.j2 @@ -8,6 +8,7 @@ # Then this file should have google-cloud-foo>=1 google-api-core>=2 google-auth>=2 +grpcio>=1 proto-plus>=1 protobuf>=6 {% for package_tuple, package_info in pypi_packages.items() %} diff --git a/gapic/templates/testing/constraints-3.7.txt.j2 b/gapic/templates/testing/constraints-3.7.txt.j2 index 74f8f1ad37..d6d5cd5dd3 100644 --- a/gapic/templates/testing/constraints-3.7.txt.j2 +++ b/gapic/templates/testing/constraints-3.7.txt.j2 @@ -7,6 +7,8 @@ # Then this file should have google-cloud-foo==1.14.0 google-api-core==1.34.1 google-auth==2.14.1 +# TODO(https://github.com/googleapis/gapic-generator-python/issues/2453) +# Add the minimum supported version of grpcio to constraints files proto-plus==1.22.3 protobuf==3.20.2 {% for package_tuple, package_info in pypi_packages.items() %} diff --git a/tests/integration/goldens/asset/setup.py b/tests/integration/goldens/asset/setup.py index 5d506dc2d9..827da67203 100755 --- a/tests/integration/goldens/asset/setup.py +++ b/tests/integration/goldens/asset/setup.py @@ -43,6 +43,8 @@ # Exclude incompatible versions of `google-auth` # See https://github.com/googleapis/google-cloud-python/issues/12364 "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", + "grpcio >= 1.33.2, < 2.0.0", + "grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'", "proto-plus >= 1.22.3, <2.0.0", "proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'", "protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", diff --git a/tests/integration/goldens/asset/testing/constraints-3.10.txt b/tests/integration/goldens/asset/testing/constraints-3.10.txt index 70744e5897..763d545abe 100755 --- a/tests/integration/goldens/asset/testing/constraints-3.10.txt +++ b/tests/integration/goldens/asset/testing/constraints-3.10.txt @@ -2,6 +2,8 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf google-cloud-access-context-manager diff --git a/tests/integration/goldens/asset/testing/constraints-3.11.txt b/tests/integration/goldens/asset/testing/constraints-3.11.txt index 70744e5897..763d545abe 100755 --- a/tests/integration/goldens/asset/testing/constraints-3.11.txt +++ b/tests/integration/goldens/asset/testing/constraints-3.11.txt @@ -2,6 +2,8 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf google-cloud-access-context-manager diff --git a/tests/integration/goldens/asset/testing/constraints-3.12.txt b/tests/integration/goldens/asset/testing/constraints-3.12.txt index 70744e5897..763d545abe 100755 --- a/tests/integration/goldens/asset/testing/constraints-3.12.txt +++ b/tests/integration/goldens/asset/testing/constraints-3.12.txt @@ -2,6 +2,8 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf google-cloud-access-context-manager diff --git a/tests/integration/goldens/asset/testing/constraints-3.13.txt b/tests/integration/goldens/asset/testing/constraints-3.13.txt index 763099d824..c3db09a0c7 100755 --- a/tests/integration/goldens/asset/testing/constraints-3.13.txt +++ b/tests/integration/goldens/asset/testing/constraints-3.13.txt @@ -7,6 +7,7 @@ # Then this file should have google-cloud-foo>=1 google-api-core>=2 google-auth>=2 +grpcio>=1 proto-plus>=1 protobuf>=6 google-cloud-access-context-manager>=0 diff --git a/tests/integration/goldens/asset/testing/constraints-3.14.txt b/tests/integration/goldens/asset/testing/constraints-3.14.txt index 763099d824..c3db09a0c7 100755 --- a/tests/integration/goldens/asset/testing/constraints-3.14.txt +++ b/tests/integration/goldens/asset/testing/constraints-3.14.txt @@ -7,6 +7,7 @@ # Then this file should have google-cloud-foo>=1 google-api-core>=2 google-auth>=2 +grpcio>=1 proto-plus>=1 protobuf>=6 google-cloud-access-context-manager>=0 diff --git a/tests/integration/goldens/asset/testing/constraints-3.7.txt b/tests/integration/goldens/asset/testing/constraints-3.7.txt index aafb24324a..45771b18c6 100755 --- a/tests/integration/goldens/asset/testing/constraints-3.7.txt +++ b/tests/integration/goldens/asset/testing/constraints-3.7.txt @@ -6,6 +6,8 @@ # Then this file should have google-cloud-foo==1.14.0 google-api-core==1.34.1 google-auth==2.14.1 +# TODO(https://github.com/googleapis/gapic-generator-python/issues/2453) +# Add the minimum supported version of grpcio to constraints files proto-plus==1.22.3 protobuf==3.20.2 google-cloud-access-context-manager==0.1.2 diff --git a/tests/integration/goldens/asset/testing/constraints-3.8.txt b/tests/integration/goldens/asset/testing/constraints-3.8.txt index 70744e5897..763d545abe 100755 --- a/tests/integration/goldens/asset/testing/constraints-3.8.txt +++ b/tests/integration/goldens/asset/testing/constraints-3.8.txt @@ -2,6 +2,8 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf google-cloud-access-context-manager diff --git a/tests/integration/goldens/asset/testing/constraints-3.9.txt b/tests/integration/goldens/asset/testing/constraints-3.9.txt index 70744e5897..763d545abe 100755 --- a/tests/integration/goldens/asset/testing/constraints-3.9.txt +++ b/tests/integration/goldens/asset/testing/constraints-3.9.txt @@ -2,6 +2,8 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf google-cloud-access-context-manager diff --git a/tests/integration/goldens/credentials/setup.py b/tests/integration/goldens/credentials/setup.py index 6ffe75b3ba..d2f399fbda 100755 --- a/tests/integration/goldens/credentials/setup.py +++ b/tests/integration/goldens/credentials/setup.py @@ -43,6 +43,8 @@ # Exclude incompatible versions of `google-auth` # See https://github.com/googleapis/google-cloud-python/issues/12364 "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", + "grpcio >= 1.33.2, < 2.0.0", + "grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'", "proto-plus >= 1.22.3, <2.0.0", "proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'", "protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", diff --git a/tests/integration/goldens/credentials/testing/constraints-3.10.txt b/tests/integration/goldens/credentials/testing/constraints-3.10.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/credentials/testing/constraints-3.10.txt +++ b/tests/integration/goldens/credentials/testing/constraints-3.10.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/credentials/testing/constraints-3.11.txt b/tests/integration/goldens/credentials/testing/constraints-3.11.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/credentials/testing/constraints-3.11.txt +++ b/tests/integration/goldens/credentials/testing/constraints-3.11.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/credentials/testing/constraints-3.12.txt b/tests/integration/goldens/credentials/testing/constraints-3.12.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/credentials/testing/constraints-3.12.txt +++ b/tests/integration/goldens/credentials/testing/constraints-3.12.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/credentials/testing/constraints-3.13.txt b/tests/integration/goldens/credentials/testing/constraints-3.13.txt index c20a77817c..1e93c60e50 100755 --- a/tests/integration/goldens/credentials/testing/constraints-3.13.txt +++ b/tests/integration/goldens/credentials/testing/constraints-3.13.txt @@ -7,5 +7,6 @@ # Then this file should have google-cloud-foo>=1 google-api-core>=2 google-auth>=2 +grpcio>=1 proto-plus>=1 protobuf>=6 diff --git a/tests/integration/goldens/credentials/testing/constraints-3.14.txt b/tests/integration/goldens/credentials/testing/constraints-3.14.txt index c20a77817c..1e93c60e50 100755 --- a/tests/integration/goldens/credentials/testing/constraints-3.14.txt +++ b/tests/integration/goldens/credentials/testing/constraints-3.14.txt @@ -7,5 +7,6 @@ # Then this file should have google-cloud-foo>=1 google-api-core>=2 google-auth>=2 +grpcio>=1 proto-plus>=1 protobuf>=6 diff --git a/tests/integration/goldens/credentials/testing/constraints-3.7.txt b/tests/integration/goldens/credentials/testing/constraints-3.7.txt index a77f12bc13..5d29dea386 100755 --- a/tests/integration/goldens/credentials/testing/constraints-3.7.txt +++ b/tests/integration/goldens/credentials/testing/constraints-3.7.txt @@ -6,5 +6,7 @@ # Then this file should have google-cloud-foo==1.14.0 google-api-core==1.34.1 google-auth==2.14.1 +# TODO(https://github.com/googleapis/gapic-generator-python/issues/2453) +# Add the minimum supported version of grpcio to constraints files proto-plus==1.22.3 protobuf==3.20.2 diff --git a/tests/integration/goldens/credentials/testing/constraints-3.8.txt b/tests/integration/goldens/credentials/testing/constraints-3.8.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/credentials/testing/constraints-3.8.txt +++ b/tests/integration/goldens/credentials/testing/constraints-3.8.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/credentials/testing/constraints-3.9.txt b/tests/integration/goldens/credentials/testing/constraints-3.9.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/credentials/testing/constraints-3.9.txt +++ b/tests/integration/goldens/credentials/testing/constraints-3.9.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/eventarc/setup.py b/tests/integration/goldens/eventarc/setup.py index 4cba69da02..c7d3e09907 100755 --- a/tests/integration/goldens/eventarc/setup.py +++ b/tests/integration/goldens/eventarc/setup.py @@ -43,6 +43,8 @@ # Exclude incompatible versions of `google-auth` # See https://github.com/googleapis/google-cloud-python/issues/12364 "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", + "grpcio >= 1.33.2, < 2.0.0", + "grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'", "proto-plus >= 1.22.3, <2.0.0", "proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'", "protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", diff --git a/tests/integration/goldens/eventarc/testing/constraints-3.10.txt b/tests/integration/goldens/eventarc/testing/constraints-3.10.txt index ad3f0fa58e..ef1c92ffff 100755 --- a/tests/integration/goldens/eventarc/testing/constraints-3.10.txt +++ b/tests/integration/goldens/eventarc/testing/constraints-3.10.txt @@ -2,6 +2,8 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf grpc-google-iam-v1 diff --git a/tests/integration/goldens/eventarc/testing/constraints-3.11.txt b/tests/integration/goldens/eventarc/testing/constraints-3.11.txt index ad3f0fa58e..ef1c92ffff 100755 --- a/tests/integration/goldens/eventarc/testing/constraints-3.11.txt +++ b/tests/integration/goldens/eventarc/testing/constraints-3.11.txt @@ -2,6 +2,8 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf grpc-google-iam-v1 diff --git a/tests/integration/goldens/eventarc/testing/constraints-3.12.txt b/tests/integration/goldens/eventarc/testing/constraints-3.12.txt index ad3f0fa58e..ef1c92ffff 100755 --- a/tests/integration/goldens/eventarc/testing/constraints-3.12.txt +++ b/tests/integration/goldens/eventarc/testing/constraints-3.12.txt @@ -2,6 +2,8 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf grpc-google-iam-v1 diff --git a/tests/integration/goldens/eventarc/testing/constraints-3.13.txt b/tests/integration/goldens/eventarc/testing/constraints-3.13.txt index 2010e549cc..2ae5a677e8 100755 --- a/tests/integration/goldens/eventarc/testing/constraints-3.13.txt +++ b/tests/integration/goldens/eventarc/testing/constraints-3.13.txt @@ -7,6 +7,7 @@ # Then this file should have google-cloud-foo>=1 google-api-core>=2 google-auth>=2 +grpcio>=1 proto-plus>=1 protobuf>=6 grpc-google-iam-v1>=0 diff --git a/tests/integration/goldens/eventarc/testing/constraints-3.14.txt b/tests/integration/goldens/eventarc/testing/constraints-3.14.txt index 2010e549cc..2ae5a677e8 100755 --- a/tests/integration/goldens/eventarc/testing/constraints-3.14.txt +++ b/tests/integration/goldens/eventarc/testing/constraints-3.14.txt @@ -7,6 +7,7 @@ # Then this file should have google-cloud-foo>=1 google-api-core>=2 google-auth>=2 +grpcio>=1 proto-plus>=1 protobuf>=6 grpc-google-iam-v1>=0 diff --git a/tests/integration/goldens/eventarc/testing/constraints-3.7.txt b/tests/integration/goldens/eventarc/testing/constraints-3.7.txt index 56affbd9bd..5b1ee6c35a 100755 --- a/tests/integration/goldens/eventarc/testing/constraints-3.7.txt +++ b/tests/integration/goldens/eventarc/testing/constraints-3.7.txt @@ -6,6 +6,8 @@ # Then this file should have google-cloud-foo==1.14.0 google-api-core==1.34.1 google-auth==2.14.1 +# TODO(https://github.com/googleapis/gapic-generator-python/issues/2453) +# Add the minimum supported version of grpcio to constraints files proto-plus==1.22.3 protobuf==3.20.2 grpc-google-iam-v1==0.14.0 diff --git a/tests/integration/goldens/eventarc/testing/constraints-3.8.txt b/tests/integration/goldens/eventarc/testing/constraints-3.8.txt index ad3f0fa58e..ef1c92ffff 100755 --- a/tests/integration/goldens/eventarc/testing/constraints-3.8.txt +++ b/tests/integration/goldens/eventarc/testing/constraints-3.8.txt @@ -2,6 +2,8 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf grpc-google-iam-v1 diff --git a/tests/integration/goldens/eventarc/testing/constraints-3.9.txt b/tests/integration/goldens/eventarc/testing/constraints-3.9.txt index ad3f0fa58e..ef1c92ffff 100755 --- a/tests/integration/goldens/eventarc/testing/constraints-3.9.txt +++ b/tests/integration/goldens/eventarc/testing/constraints-3.9.txt @@ -2,6 +2,8 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf grpc-google-iam-v1 diff --git a/tests/integration/goldens/logging/setup.py b/tests/integration/goldens/logging/setup.py index 23a3a12a2b..654744319a 100755 --- a/tests/integration/goldens/logging/setup.py +++ b/tests/integration/goldens/logging/setup.py @@ -43,6 +43,8 @@ # Exclude incompatible versions of `google-auth` # See https://github.com/googleapis/google-cloud-python/issues/12364 "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", + "grpcio >= 1.33.2, < 2.0.0", + "grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'", "proto-plus >= 1.22.3, <2.0.0", "proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'", "protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", diff --git a/tests/integration/goldens/logging/testing/constraints-3.10.txt b/tests/integration/goldens/logging/testing/constraints-3.10.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/logging/testing/constraints-3.10.txt +++ b/tests/integration/goldens/logging/testing/constraints-3.10.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/logging/testing/constraints-3.11.txt b/tests/integration/goldens/logging/testing/constraints-3.11.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/logging/testing/constraints-3.11.txt +++ b/tests/integration/goldens/logging/testing/constraints-3.11.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/logging/testing/constraints-3.12.txt b/tests/integration/goldens/logging/testing/constraints-3.12.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/logging/testing/constraints-3.12.txt +++ b/tests/integration/goldens/logging/testing/constraints-3.12.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/logging/testing/constraints-3.13.txt b/tests/integration/goldens/logging/testing/constraints-3.13.txt index c20a77817c..1e93c60e50 100755 --- a/tests/integration/goldens/logging/testing/constraints-3.13.txt +++ b/tests/integration/goldens/logging/testing/constraints-3.13.txt @@ -7,5 +7,6 @@ # Then this file should have google-cloud-foo>=1 google-api-core>=2 google-auth>=2 +grpcio>=1 proto-plus>=1 protobuf>=6 diff --git a/tests/integration/goldens/logging/testing/constraints-3.14.txt b/tests/integration/goldens/logging/testing/constraints-3.14.txt index c20a77817c..1e93c60e50 100755 --- a/tests/integration/goldens/logging/testing/constraints-3.14.txt +++ b/tests/integration/goldens/logging/testing/constraints-3.14.txt @@ -7,5 +7,6 @@ # Then this file should have google-cloud-foo>=1 google-api-core>=2 google-auth>=2 +grpcio>=1 proto-plus>=1 protobuf>=6 diff --git a/tests/integration/goldens/logging/testing/constraints-3.7.txt b/tests/integration/goldens/logging/testing/constraints-3.7.txt index a77f12bc13..5d29dea386 100755 --- a/tests/integration/goldens/logging/testing/constraints-3.7.txt +++ b/tests/integration/goldens/logging/testing/constraints-3.7.txt @@ -6,5 +6,7 @@ # Then this file should have google-cloud-foo==1.14.0 google-api-core==1.34.1 google-auth==2.14.1 +# TODO(https://github.com/googleapis/gapic-generator-python/issues/2453) +# Add the minimum supported version of grpcio to constraints files proto-plus==1.22.3 protobuf==3.20.2 diff --git a/tests/integration/goldens/logging/testing/constraints-3.8.txt b/tests/integration/goldens/logging/testing/constraints-3.8.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/logging/testing/constraints-3.8.txt +++ b/tests/integration/goldens/logging/testing/constraints-3.8.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/logging/testing/constraints-3.9.txt b/tests/integration/goldens/logging/testing/constraints-3.9.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/logging/testing/constraints-3.9.txt +++ b/tests/integration/goldens/logging/testing/constraints-3.9.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/logging_internal/setup.py b/tests/integration/goldens/logging_internal/setup.py index 23a3a12a2b..654744319a 100755 --- a/tests/integration/goldens/logging_internal/setup.py +++ b/tests/integration/goldens/logging_internal/setup.py @@ -43,6 +43,8 @@ # Exclude incompatible versions of `google-auth` # See https://github.com/googleapis/google-cloud-python/issues/12364 "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", + "grpcio >= 1.33.2, < 2.0.0", + "grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'", "proto-plus >= 1.22.3, <2.0.0", "proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'", "protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", diff --git a/tests/integration/goldens/logging_internal/testing/constraints-3.10.txt b/tests/integration/goldens/logging_internal/testing/constraints-3.10.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/logging_internal/testing/constraints-3.10.txt +++ b/tests/integration/goldens/logging_internal/testing/constraints-3.10.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/logging_internal/testing/constraints-3.11.txt b/tests/integration/goldens/logging_internal/testing/constraints-3.11.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/logging_internal/testing/constraints-3.11.txt +++ b/tests/integration/goldens/logging_internal/testing/constraints-3.11.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/logging_internal/testing/constraints-3.12.txt b/tests/integration/goldens/logging_internal/testing/constraints-3.12.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/logging_internal/testing/constraints-3.12.txt +++ b/tests/integration/goldens/logging_internal/testing/constraints-3.12.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/logging_internal/testing/constraints-3.13.txt b/tests/integration/goldens/logging_internal/testing/constraints-3.13.txt index c20a77817c..1e93c60e50 100755 --- a/tests/integration/goldens/logging_internal/testing/constraints-3.13.txt +++ b/tests/integration/goldens/logging_internal/testing/constraints-3.13.txt @@ -7,5 +7,6 @@ # Then this file should have google-cloud-foo>=1 google-api-core>=2 google-auth>=2 +grpcio>=1 proto-plus>=1 protobuf>=6 diff --git a/tests/integration/goldens/logging_internal/testing/constraints-3.14.txt b/tests/integration/goldens/logging_internal/testing/constraints-3.14.txt index c20a77817c..1e93c60e50 100755 --- a/tests/integration/goldens/logging_internal/testing/constraints-3.14.txt +++ b/tests/integration/goldens/logging_internal/testing/constraints-3.14.txt @@ -7,5 +7,6 @@ # Then this file should have google-cloud-foo>=1 google-api-core>=2 google-auth>=2 +grpcio>=1 proto-plus>=1 protobuf>=6 diff --git a/tests/integration/goldens/logging_internal/testing/constraints-3.7.txt b/tests/integration/goldens/logging_internal/testing/constraints-3.7.txt index a77f12bc13..5d29dea386 100755 --- a/tests/integration/goldens/logging_internal/testing/constraints-3.7.txt +++ b/tests/integration/goldens/logging_internal/testing/constraints-3.7.txt @@ -6,5 +6,7 @@ # Then this file should have google-cloud-foo==1.14.0 google-api-core==1.34.1 google-auth==2.14.1 +# TODO(https://github.com/googleapis/gapic-generator-python/issues/2453) +# Add the minimum supported version of grpcio to constraints files proto-plus==1.22.3 protobuf==3.20.2 diff --git a/tests/integration/goldens/logging_internal/testing/constraints-3.8.txt b/tests/integration/goldens/logging_internal/testing/constraints-3.8.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/logging_internal/testing/constraints-3.8.txt +++ b/tests/integration/goldens/logging_internal/testing/constraints-3.8.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/logging_internal/testing/constraints-3.9.txt b/tests/integration/goldens/logging_internal/testing/constraints-3.9.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/logging_internal/testing/constraints-3.9.txt +++ b/tests/integration/goldens/logging_internal/testing/constraints-3.9.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/redis/setup.py b/tests/integration/goldens/redis/setup.py index 54fece2f91..6f42e46517 100755 --- a/tests/integration/goldens/redis/setup.py +++ b/tests/integration/goldens/redis/setup.py @@ -43,6 +43,8 @@ # Exclude incompatible versions of `google-auth` # See https://github.com/googleapis/google-cloud-python/issues/12364 "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", + "grpcio >= 1.33.2, < 2.0.0", + "grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'", "proto-plus >= 1.22.3, <2.0.0", "proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'", "protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", diff --git a/tests/integration/goldens/redis/testing/constraints-3.10.txt b/tests/integration/goldens/redis/testing/constraints-3.10.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/redis/testing/constraints-3.10.txt +++ b/tests/integration/goldens/redis/testing/constraints-3.10.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/redis/testing/constraints-3.11.txt b/tests/integration/goldens/redis/testing/constraints-3.11.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/redis/testing/constraints-3.11.txt +++ b/tests/integration/goldens/redis/testing/constraints-3.11.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/redis/testing/constraints-3.12.txt b/tests/integration/goldens/redis/testing/constraints-3.12.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/redis/testing/constraints-3.12.txt +++ b/tests/integration/goldens/redis/testing/constraints-3.12.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/redis/testing/constraints-3.13.txt b/tests/integration/goldens/redis/testing/constraints-3.13.txt index c20a77817c..1e93c60e50 100755 --- a/tests/integration/goldens/redis/testing/constraints-3.13.txt +++ b/tests/integration/goldens/redis/testing/constraints-3.13.txt @@ -7,5 +7,6 @@ # Then this file should have google-cloud-foo>=1 google-api-core>=2 google-auth>=2 +grpcio>=1 proto-plus>=1 protobuf>=6 diff --git a/tests/integration/goldens/redis/testing/constraints-3.14.txt b/tests/integration/goldens/redis/testing/constraints-3.14.txt index c20a77817c..1e93c60e50 100755 --- a/tests/integration/goldens/redis/testing/constraints-3.14.txt +++ b/tests/integration/goldens/redis/testing/constraints-3.14.txt @@ -7,5 +7,6 @@ # Then this file should have google-cloud-foo>=1 google-api-core>=2 google-auth>=2 +grpcio>=1 proto-plus>=1 protobuf>=6 diff --git a/tests/integration/goldens/redis/testing/constraints-3.7.txt b/tests/integration/goldens/redis/testing/constraints-3.7.txt index a77f12bc13..5d29dea386 100755 --- a/tests/integration/goldens/redis/testing/constraints-3.7.txt +++ b/tests/integration/goldens/redis/testing/constraints-3.7.txt @@ -6,5 +6,7 @@ # Then this file should have google-cloud-foo==1.14.0 google-api-core==1.34.1 google-auth==2.14.1 +# TODO(https://github.com/googleapis/gapic-generator-python/issues/2453) +# Add the minimum supported version of grpcio to constraints files proto-plus==1.22.3 protobuf==3.20.2 diff --git a/tests/integration/goldens/redis/testing/constraints-3.8.txt b/tests/integration/goldens/redis/testing/constraints-3.8.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/redis/testing/constraints-3.8.txt +++ b/tests/integration/goldens/redis/testing/constraints-3.8.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/redis/testing/constraints-3.9.txt b/tests/integration/goldens/redis/testing/constraints-3.9.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/redis/testing/constraints-3.9.txt +++ b/tests/integration/goldens/redis/testing/constraints-3.9.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/redis_selective/setup.py b/tests/integration/goldens/redis_selective/setup.py index 54fece2f91..6f42e46517 100755 --- a/tests/integration/goldens/redis_selective/setup.py +++ b/tests/integration/goldens/redis_selective/setup.py @@ -43,6 +43,8 @@ # Exclude incompatible versions of `google-auth` # See https://github.com/googleapis/google-cloud-python/issues/12364 "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", + "grpcio >= 1.33.2, < 2.0.0", + "grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'", "proto-plus >= 1.22.3, <2.0.0", "proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'", "protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", diff --git a/tests/integration/goldens/redis_selective/testing/constraints-3.10.txt b/tests/integration/goldens/redis_selective/testing/constraints-3.10.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/redis_selective/testing/constraints-3.10.txt +++ b/tests/integration/goldens/redis_selective/testing/constraints-3.10.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/redis_selective/testing/constraints-3.11.txt b/tests/integration/goldens/redis_selective/testing/constraints-3.11.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/redis_selective/testing/constraints-3.11.txt +++ b/tests/integration/goldens/redis_selective/testing/constraints-3.11.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/redis_selective/testing/constraints-3.12.txt b/tests/integration/goldens/redis_selective/testing/constraints-3.12.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/redis_selective/testing/constraints-3.12.txt +++ b/tests/integration/goldens/redis_selective/testing/constraints-3.12.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/redis_selective/testing/constraints-3.13.txt b/tests/integration/goldens/redis_selective/testing/constraints-3.13.txt index c20a77817c..1e93c60e50 100755 --- a/tests/integration/goldens/redis_selective/testing/constraints-3.13.txt +++ b/tests/integration/goldens/redis_selective/testing/constraints-3.13.txt @@ -7,5 +7,6 @@ # Then this file should have google-cloud-foo>=1 google-api-core>=2 google-auth>=2 +grpcio>=1 proto-plus>=1 protobuf>=6 diff --git a/tests/integration/goldens/redis_selective/testing/constraints-3.14.txt b/tests/integration/goldens/redis_selective/testing/constraints-3.14.txt index c20a77817c..1e93c60e50 100755 --- a/tests/integration/goldens/redis_selective/testing/constraints-3.14.txt +++ b/tests/integration/goldens/redis_selective/testing/constraints-3.14.txt @@ -7,5 +7,6 @@ # Then this file should have google-cloud-foo>=1 google-api-core>=2 google-auth>=2 +grpcio>=1 proto-plus>=1 protobuf>=6 diff --git a/tests/integration/goldens/redis_selective/testing/constraints-3.7.txt b/tests/integration/goldens/redis_selective/testing/constraints-3.7.txt index a77f12bc13..5d29dea386 100755 --- a/tests/integration/goldens/redis_selective/testing/constraints-3.7.txt +++ b/tests/integration/goldens/redis_selective/testing/constraints-3.7.txt @@ -6,5 +6,7 @@ # Then this file should have google-cloud-foo==1.14.0 google-api-core==1.34.1 google-auth==2.14.1 +# TODO(https://github.com/googleapis/gapic-generator-python/issues/2453) +# Add the minimum supported version of grpcio to constraints files proto-plus==1.22.3 protobuf==3.20.2 diff --git a/tests/integration/goldens/redis_selective/testing/constraints-3.8.txt b/tests/integration/goldens/redis_selective/testing/constraints-3.8.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/redis_selective/testing/constraints-3.8.txt +++ b/tests/integration/goldens/redis_selective/testing/constraints-3.8.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf diff --git a/tests/integration/goldens/redis_selective/testing/constraints-3.9.txt b/tests/integration/goldens/redis_selective/testing/constraints-3.9.txt index ed7f9aed25..93e6826f2a 100755 --- a/tests/integration/goldens/redis_selective/testing/constraints-3.9.txt +++ b/tests/integration/goldens/redis_selective/testing/constraints-3.9.txt @@ -2,5 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core +google-auth +grpcio proto-plus protobuf