File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121requires = [
2222 " setuptools" ,
2323 " wheel>=0.36.0" ,
24- " grpcio-tools==1.71.0" ,
24+ # Note: after upgrading to grpcio-tools, we must bump protobuf to >=5.0.
25+ # Currently Blocked on old dependencies of Beam tft extra:
26+ # https://github.com/apache/beam/issues/37854
27+ " grpcio-tools==1.62.1; python_version <= '3.12'" ,
28+ " grpcio-tools==1.71.0; python_version >= '3.13'" ,
2529 " mypy-protobuf==3.5.0" ,
2630 # Avoid https://github.com/pypa/virtualenv/issues/2006
2731 " distlib==0.3.9" ,
Original file line number Diff line number Diff line change @@ -376,6 +376,8 @@ def get_portability_package_data():
376376 install_requires = [
377377 'cryptography>=39.0.0,<48.0.0' ,
378378 'envoy-data-plane>=1.0.3,<2; python_version >= "3.11"' ,
379+ # Newer version only work on Python 3.11. Versions 0.3 <= ver < 1.x
380+ # conflict with other GCP dependencies.
379381 'envoy-data-plane<0.3.0; python_version < "3.11"' ,
380382 'fastavro>=0.23.6,<2' ,
381383 'fasteners>=0.3,<1.0' ,
@@ -539,7 +541,10 @@ def get_portability_package_data():
539541 # tensorflow-transform requires dill, but doesn't set dill as a
540542 # hard requirement in setup.py.
541543 'dill' ,
542- 'tensorflow-transform' ,
544+ # match tft requirement.
545+ 'tensorflow_transform>=1.14.0,<1.15.0' ,
546+ # To help with dependency resolution. Revise once
547+ # https://github.com/apache/beam/issues/37854 is fixed
543548 'protobuf<4; python_version<"3.11"' ,
544549 # Comment out xgboost as it is breaking presubmit python ml
545550 # tests due to tag check introduced since pip 24.2
You can’t perform that action at this time.
0 commit comments