Skip to content

Incompatibility between google-adk (≥ 1.8) and Colab due to conflicting requests version requirement #2319

@jiaxi-xu-fsx

Description

@jiaxi-xu-fsx

** Please make sure you read the contribution guide and file the issues in the right place. **
Contribution guide.

Describe the bug
The README for Google ADK suggests that Colab is a supported environment, yet installing google-adk version 1.8.0 or newer in a Colab runtime causes an unresolvable dependency conflict:

To Reproduce
Steps to reproduce the behavior:
1.Launch a Colab notebook.

2.Run: !pip install google-adk>=1.8.0.

3.Observe that pip installs requests >= 2.32.4.

  1. Colab then immediately raises an error because it expects requests==2.32.3.

Expected behavior
I expect the colab to run installation without any issues

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS] Google Colab
  • Python version(python -V): 3.11.13
  • ADK version(pip show google-adk): 1.9.0

Model Information:

Additional context
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
google-colab 1.0.0 requires requests==2.32.3, but you have requests 2.32.4 which is incompatible.

Metadata

Metadata

Assignees

Labels

bot triaged[Bot] This issue is triaged by ADK botgood first issue[Community] This issue is good for newcomers to participatetools[Component] This issue is related to tools

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions