-
Notifications
You must be signed in to change notification settings - Fork 439
Description
agent-framework-core
incompatible with OpenAI SDK v2.x (requires openai<2
)
Problem
agent-framework-core
version 1.0.0b251007
has a dependency constraint openai>=1.99.0,<2
which blocks usage with the current stable OpenAI SDK v2.x (currently at v2.2.0+).
Impact
Users with existing projects using OpenAI SDK v2.x cannot adopt agent-framework
without downgrading their OpenAI dependency, which would be a breaking change for their applications.
Environment
- Package:
agent-framework-core==1.0.0b251007
- Current OpenAI SDK version:
2.2.0
(latest stable) - Python: 3.12
- Installation method:
pip install agent-framework-core --pre
Dependency Constraint Found
From agent_framework_core-1.0.0b251007.dist-info/METADATA
:
Requires-Dist: openai>=1.99.0,<2
Error Encountered
When attempting to install alongside OpenAI SDK v2.x:
ERROR: Cannot install agent-framework-core and openai==2.2.0 because these package versions have conflicting dependencies.
Steps to Reproduce
- Create a fresh Python 3.12 environment
- Install OpenAI SDK v2:
pip install openai>=2.0.0
- Try to install agent-framework:
pip install agent-framework-core --pre
- Observe dependency conflict
Expected Behavior
agent-framework-core
should be compatible with OpenAI SDK v2.x, as this is the current stable version of the OpenAI Python library.
Current Workaround
Downgrade to OpenAI SDK v1.x:
pip install "openai>=1.99.0,<2"
pip install agent-framework-core --pre
However, this breaks compatibility with existing code using OpenAI v2.x features.
Request
Please update agent-framework-core to support openai>=1.99.0,<3 or openai>=2.0.0 to ensure compatibility with the latest stable OpenAI SDK.