Skip to content

Commit 6ab8d92

Browse files
chore: Add gRPC packages under extra-dependencies (#1640)
Add gRPC packages under extra-dependencies Since gRPC in Python SDK is still under `_experimental` directory. Keeping grpc packages under extra-dependencies. These should be moved into mandatory dependencies once gRPC is out of `_experimental` . See - b/465352227 --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent a1c2507 commit 6ab8d92

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

setup.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,18 @@
4343
"google-crc32c >= 1.1.3, < 2.0.0",
4444
]
4545
extras = {
46+
# TODO: Make these extra dependencies as mandatory once gRPC out of
47+
# experimental in this SDK. More info in b/465352227
48+
"grpc": [
49+
"google-api-core[grpc] >= 2.27.0, < 3.0.0",
50+
"grpcio >= 1.33.2, < 2.0.0; python_version < '3.14'",
51+
"grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
52+
"grpcio-status >= 1.76.0, < 2.0.0",
53+
"proto-plus >= 1.22.3, <2.0.0; python_version < '3.13'",
54+
"proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'",
55+
"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",
56+
"grpc-google-iam-v1 >= 0.14.0, <1.0.0",
57+
],
4658
"protobuf": ["protobuf >= 3.20.2, < 7.0.0"],
4759
"tracing": [
4860
"opentelemetry-api >= 1.1.0, < 2.0.0",

0 commit comments

Comments
 (0)