-
Notifications
You must be signed in to change notification settings - Fork 259
Open
Description
Title
Dependency conflict: teams-ai==1.8.1 requires openai<2.0.0, breaks installs with openai~=2.1.0
Summary
When installing teams-ai==1.8.1 alongside openai~=2.1.0, pip’s resolver fails with ResolutionImpossible because teams-ai depends on openai >=1.52.0,<2.0.0. This blocks standardizing on OpenAI SDK v2.
Affected Versions
teams-ai: 1.8.1openai: 2.1.0 (any>=2.0.0version)- Python: 3.12.11
- pip: 25.2
Environment: GitHub Actions (ubuntu-latest).
Steps to Reproduce
-
Create a minimal
requirements.txt:pip==25.2 setuptools~=80.9.0 wheel~=0.45.1 teams-ai==1.8.1 openai~=2.1.0
-
Run
pip install -r requirements.txt(e.g., in GitHub Actions or locally).
Actual Behavior
Pip fails dependency resolution:
ERROR: Cannot install -r requirements.txt (line X) and openai~=2.1.0 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested openai~=2.1.0
teams-ai 1.8.1 depends on openai<v2.0.0 and >=v1.52.0
ERROR: ResolutionImpossible
Expected Behavior
One of the following:
teams-aisupports OpenAI SDK v2 (preferred), or- The docs/README clearly call out that
teams-ai==1.8.1is limited to OpenAI SDK v1.x
Workarounds Tried
- Pinning OpenAI SDK to v1.x (e.g.,
openai>=1.52.0,<2.0.0oropenai~=1.109.1) allows installs to succeed.
Additional Context
We’re building a Microsoft Teams assistant bot that uses Teams AI 1.8.1 and OpenAI Responses API. Our CI/CD (GitHub Actions) standardizes on OpenAI SDK v2 for other services, so the hard <2.0.0 range causes friction.
Metadata
Metadata
Assignees
Labels
No labels