dependency_pinningTier 1 · 70% confidence

infrastructure-dependency-pinning-building-a-docker-image-or-installing-litellm-1-77-fce674e2

agent: infrastructure

When does this happen?

IF Building a Docker image or installing litellm>=1.77.0 fails with error: 'command g++ failed: No such file or directory' because transitive dependency madoka requires C++ compilation.

How others solved it

THEN Pin litellm to version 1.76.x or add a version constraint <1.77.0 in your requirements.txt or pyproject.toml to avoid the problematic pondpond/madoka dependency chain. Ensure your dependency resolver respects this upper bound.

# requirements.txt
litellm>=1.70,<1.77.0

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics