Can you not break the framework when upgrading version
Describe the bug When attempting to run the adk command (e.g., adk --version or any workshop command), a ModuleNotFoundError: No module named 'deprecated' occurs. This issue prevents the adk CLI tools from running and has broken a previously working development workflow.
To Reproduce Steps to reproduce the behavior: In Python 3.12 Install google-adk==0.4.0
adk --version
Additional context This issue emerged while working with an existing installation of google-adk version 0.4.0. The adk commands and associated workshop content were functioning correctly until this ModuleNotFoundError started appearing. The traceback clearly indicates that the google.adk package (specifically google/adk/tools/base_tool.py) is trying to import deprecated, but this module is not found.
It is critical for developer workflows that even within the same minor version (e.g., 0.4.x), dependencies remain stable or are properly declared to prevent unexpected breakage. Maintaining backward compatibility and avoiding new, undeclared dependency requirements on existing versions is highly appreciated to ensure stability for projects.
File "/home/meerabaelish_560773/instavibe-bootstrap/env/bin/adk", line 5, in
I also tested other version, they are all broken
I tested 0.4, 1.0 and 1.1 with new virtual env, all had the same issue!
I have the same issue. Tried with different versions.
Same issue
Related to #1125
A workaround (not a nice one) for the time being is to explicitly install the deprecated package via pip install deprecated as pointed out in #1125
https://github.com/google/adk-python/pull/1160 but it will need a release. I would strongly recommend locking your dependencies with something like UV, poetry, or even just pip-compile so that you can always get back to a working state.
I thought I was crazy.
Thanks for the fix! @aabmass , we're getting a patched version out fix this.
For people who are interested. Refer to https://github.com/google/adk-python/issues/1125 for the root cause.
We released 1.2.1 with patch of https://github.com/google/adk-python/pull/1160. Thanks!
I don't thin you should close this issue, because the rest of the versions are still broken. And we are running a workshop that are test with 0.4.0. This bug still breaks all the docker build. @Jacksunwei ^^^
To summarize, the root cause is the latest opentelemetry-api removes a deps, from technical perspective, we cannot fix the released version in pypi.
The workaround would be either of
- upgrade to 1.2.1
- or
pip install deprecatedin the local venv - or add
deprecatedto requirements.txt file for cloud run or other docker-based deployment.
I wanted to add my own experience to confirm this undeclared‐dependency issue with google-adk v0.2.0. 
I was working on macOS with Python 3.13 in a fresh venv and installed google-adk==0.2.0.  When I attempted to start my FastAPI server (via uvicorn api:app --host 0.0.0.0 --port 8080), it immediately failed with:
ModuleNotFoundError: No module named 'deprecated'
This traceback pointed directly to google/adk/tools/base_tool.py trying to import deprecated. 
Because Deprecated was never listed in the package requirements, pip did not install it, causing all ADK CLI and Python imports to break. 
As a result, any automated workflows (e.g., CI pipelines or container builds) that rely on ADK now fail unless pip install Deprecated is explicitly run.
Easy Fix: 
In an environment, manually install Deprecated (v1.2.18) to unblock development, but this clearly isn’t sustainable.