mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
80fa407978
pydantic-ai 1.0.18 imports opentelemetry._events, removed in opentelemetry-api 1.44.0. Its own floor is an unbounded opentelemetry-api>=1.28.0, so a fresh resolve of this package's requirements picks 1.44.0 and import pydantic_ai fails with ModuleNotFoundError. The agent image kept building because the Dockerfile copies only requirements.txt before pip install, so that layer stayed cached from before 1.44.0 shipped (2026-07-16). Any requirements change or cache eviction would have surfaced it. Verified with pip in a clean 3.12 venv, as the Dockerfile installs: before: opentelemetry-api 1.44.0, import pydantic_ai raises after: opentelemetry-api 1.43.0, import pydantic_ai OK