File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -186,6 +186,9 @@ def cythonize(*args, **kwargs):
186186
187187ml_adk_dependency = [
188188 'google-adk==1.28.1' ,
189+ # proto-plus<1.24 caps protobuf<5; opentelemetry-proto (via ADK) needs
190+ # protobuf>=5. Scoped here so the main dependency list stays broader.
191+ 'proto-plus>=1.26.1,<2' ,
189192 'opentelemetry-api==1.37.0' ,
190193 'opentelemetry-sdk==1.37.0' ,
191194 'opentelemetry-exporter-otlp-proto-http==1.37.0' ,
@@ -408,10 +411,10 @@ def get_portability_package_data():
408411 'packaging>=22.0' ,
409412 'pillow>=12.1.1,<13' ,
410413 'pymongo>=3.8.0,<5.0.0' ,
411- # proto-plus<1.24 requires protobuf<5; opentelemetry-proto
412- # (google-adk) needs protobuf>=5. 1.26.1 allows protobuf<7
413- # (matches Beam's cap) .
414- 'proto-plus>=1.26 .1,<2' ,
414+ # ADK / OpenTelemetry need proto-plus>=1.26.1 ( protobuf>=5); that
415+ # floor is declared on ml_adk_dependency only so core installs stay
416+ # compatible with older proto-plus .
417+ 'proto-plus>=1.7 .1,<2' ,
415418 # 1. Use a tighter upper bound in protobuf dependency to make sure
416419 # the minor version at job submission
417420 # does not exceed the minor version at runtime.
You can’t perform that action at this time.
0 commit comments