Skip to content

Commit 3d52cb7

Browse files
committed
adk as extra
1 parent 378dfb9 commit 3d52cb7

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

sdks/python/setup.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ def cythonize(*args, **kwargs):
181181
'sentence-transformers>=2.2.2',
182182
'skl2onnx',
183183
'pyod>=0.7.6', # 0.7.5 crashes setuptools
184+
'contourpy<1.3.0; python_version < "3.11"',
184185
'tensorflow',
185186
# tensorflow transitive dep, lower versions not compatible with Python3.10+
186187
'absl-py>=0.12.0',
@@ -207,7 +208,9 @@ def cythonize(*args, **kwargs):
207208
]
208209

209210
ml_adk_dependency = [
210-
'google-adk==1.28.1',
211+
# google-adk is excluded here because it requires google-genai<2.0.0,
212+
# which conflicts with google-genai>=2.0.0 (e.g. 2.6.0) pinned in containers.
213+
# 'google-adk==1.28.1',
211214
# proto-plus<1.24 caps protobuf<5; opentelemetry-proto (via ADK) needs
212215
# protobuf>=5. Scoped here so the main dependency list stays broader.
213216
'proto-plus>=1.26.1,<2',
@@ -417,6 +420,7 @@ def get_portability_package_data():
417420
ext_modules=extensions,
418421
install_requires=[
419422
'cryptography>=39.0.0,<48.0.0',
423+
'aiohttp<4.0.0',
420424
'envoy-data-plane>=1.0.3,<2; python_version >= "3.11"',
421425
# Newer version only work on Python 3.11. Versions 0.3 <= ver < 1.x
422426
# conflict with other GCP dependencies.
@@ -608,6 +612,8 @@ def get_portability_package_data():
608612
] + ml_base_core,
609613
'p310_ml_test': [
610614
'datatable',
615+
'dill',
616+
'tensorflow_transform>=1.14.0,<1.15.0',
611617
] + ml_base,
612618
'p311_ml_test': ml_base,
613619
'p312_ml_test': ml_base,
@@ -684,7 +690,8 @@ def get_portability_package_data():
684690
'xgboost': ['xgboost>=1.6.0,<2.1.3', 'datatable==1.0.0'],
685691
'tensorflow-hub': ['tensorflow-hub>=0.14.0,<0.16.0'],
686692
'milvus': milvus_dependency,
687-
'vllm': ['openai==1.107.1', 'vllm==0.10.1.1', 'triton==3.3.1']
693+
'vllm': ['openai==1.107.1', 'vllm==0.10.1.1', 'triton==3.3.1'],
694+
'adk': ['google-adk==1.28.1']
688695
},
689696
zip_safe=False,
690697
# PyPI package information.

0 commit comments

Comments
 (0)