This is mostly an FYI before the next OpenTelemetry release. ADK uses deprecated in a few places, but does not take a direct dependency on it in pyproject.toml e.g.
|
from deprecated import deprecated |
I believe it is only working through a transitive dependency on deprecated in OpenTelemetry. However this will be removed in the next release (open-telemetry/opentelemetry-python#4522) and users will see import errors.
You can use the new decorator from PEP702 (from typing_extensions import deprecated) like we did instead, or just add the dependency on Deprecated in pyproject.toml.