Bug description
When installing metagpt==0.8.2, the pip dependency resolver fails with a resolution-too-deep error and enters an infinite backtracking loop.
The root cause is a version conflict chain:
MetaGPT 0.8.2 triggers the installation of the latest agentops.
Latest agentops (0.4.x+) requires opentelemetry-exporter-otlp-proto-http > 1.29.0.
This specific OpenTelemetry version forces opentelemetry-proto >= 1.30.0, which in turn strictly requires protobuf >= 5.0.0.
However, other components in the MetaGPT 0.8.2 ecosystem are only compatible with protobuf 4.x.
Bug solved method
The issue is resolved by strictly pinning agentops to the 0.3.17 version.
requirements.txt
metagpt==0.8.2
agentops==0.3.17
Environment information
- LLM type and model name:
- System version: Docker (Linux / Ubuntu)
- Python version: 3.10 / 3.11
- MetaGPT version or branch: 0.8.2
- packages version:
- installation method: pip install metagpt==0.8.2
Screenshots or logs
