Skip to content

Conversation

devesh1011
Copy link

Description

Fixes compatibility issue between google-adk and Google Colab by relaxing the requests version requirement.

Problem

  • Google Colab requires exactly requests==2.32.3
  • google-adk ≥1.8.0 was implicitly requiring requests >= 2.32.4 (likely through transitive dependencies)
  • This created an unresolvable dependency conflict when installing google-adk in Colab environments

Solution

  • Changed requests requirement from >=2.32.0 to maintain compatibility with Colab
  • This allows Colab's requests==2.32.3 to satisfy the requirement while still ensuring minimum version needs

Testing Plan

Dependency Compatibility Test

The change has been verified to allow:

  • requests==2.32.3 (Colab requirement)
  • requests>=2.32.0 (ADK minimum requirement)

Manual Testing

  • Verified the pyproject.toml change maintains the >=2.32.0 constraint
  • This resolves the version conflict described in the issue

Expected Impact

  • Google Colab users can now install google-adk>=1.8.0 without dependency conflicts
  • No breaking changes for other environments
  • Maintains minimum security/functionality requirements for requests library

Checklist

Fixes #2319

@adk-bot adk-bot added bot triaged [Bot] This issue is triaged by ADK bot tools [Component] This issue is related to tools labels Aug 11, 2025
@adk-bot adk-bot requested a review from seanzhou1023 August 11, 2025 04:54
- Change requests requirement from >=2.32.4 to >=2.32.0
- Allows Colab's requests==2.32.3 to satisfy the requirement
- Resolves dependency conflict when installing google-adk>=1.8.0 in Colab

Fixes google#2319
@devesh1011 devesh1011 force-pushed the fix-colab-requests-dependency-issue-2319 branch from 2420aea to dc18446 Compare August 11, 2025 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot triaged [Bot] This issue is triaged by ADK bot tools [Component] This issue is related to tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

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