Skip to content

Commit 3cb455e

Browse files
committed
pin grpcio-tools version
1 parent 70c5d55 commit 3cb455e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

sdks/python/container/license_scripts/dep_urls_py.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ pip_dependencies:
8484
grpcio-status:
8585
license: "https://raw.githubusercontent.com/grpc/grpc/master/LICENSE"
8686
notice: "https://raw.githubusercontent.com/grpc/grpc/master/NOTICE.txt"
87+
grpcio-tools:
88+
license: "https://raw.githubusercontent.com/grpc/grpc/master/LICENSE"
89+
notice: "https://raw.githubusercontent.com/grpc/grpc/master/NOTICE.txt"
8790
guppy:
8891
license: "https://raw.githubusercontent.com/joshwcomeau/guppy/master/LICENSE.md"
8992
guppy3:

sdks/python/setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,11 +376,16 @@ def get_portability_package_data():
376376
'cryptography>=39.0.0,<48.0.0',
377377
'fastavro>=0.23.6,<2',
378378
'fasteners>=0.3,<1.0',
379+
# envoy-data-plane>=1.0.1 pulls in grpcio-tools>=1.67
380+
# which conflicts with our pinned grpcio<1.66 on Python <= 3.12
379381
'envoy-data-plane>=1.0.3,<2; python_version >= "3.13"',
380382
'envoy-data-plane==0.8.1; python_version < "3.13"',
381383
# TODO(https://github.com/grpc/grpc/issues/37710): Unpin grpc
382384
'grpcio>=1.33.1,<2,!=1.48.0,!=1.59.*,!=1.60.*,!=1.61.*,!=1.62.0,!=1.62.1,<1.66.0; python_version <= "3.12"', # pylint: disable=line-too-long
383385
'grpcio>=1.67.0; python_version >= "3.13"',
386+
# pin grpcio-tools to same version as grpcio
387+
'grpcio-tools>=1.33.1,<2,!=1.48.0,!=1.59.*,!=1.60.*,!=1.61.*,!=1.62.0,!=1.62.1,<1.66.0; python_version <= "3.12"', # pylint: disable=line-too-long
388+
'grpcio-tools>=1.67.0; python_version >= "3.13"',
384389
'httplib2>=0.8,<0.23.0',
385390
'jsonpickle>=3.0.0,<4.0.0',
386391
# numpy can have breaking changes in minor versions.

0 commit comments

Comments
 (0)