Skip to content

Commit

Permalink
fix: add gRPC as a direct dependency for GAPICs
Browse files Browse the repository at this point in the history
  • Loading branch information
ohmayr committed Jul 29, 2024
1 parent dbf4efc commit 8fbca6c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gapic/templates/setup.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ dependencies = [
# Exclude incompatible versions of `google-auth`
# See https://github.com/googleapis/google-cloud-python/issues/12364
"google-auth >= 2.14.1, <3.0.0dev,!=2.24.0,!=2.25.0",
"grpc": [
"grpcio >= 1.33.2, < 2.0dev",
"grpcio >= 1.49.1, < 2.0dev; python_version>='3.11'",
"grpcio-status >= 1.33.2, < 2.0.dev0",
"grpcio-status >= 1.49.1, < 2.0.dev0; python_version>='3.11'",
],
"grpcgcp": "grpcio-gcp >= 0.2.2, < 1.0.dev0",
"grpcio-gcp": "grpcio-gcp >= 0.2.2, < 1.0.dev0",
"proto-plus >= 1.22.3, <2.0.0dev",
{# Explicitly exclude protobuf versions mentioned in https://cloud.google.com/support/bulletins#GCP-2022-019 #}
"protobuf>=3.20.2,<6.0.0dev,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
Expand Down

0 comments on commit 8fbca6c

Please sign in to comment.