Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/crewai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ requires-python = ">=3.10, <3.14"
dependencies = [
# Core Dependencies
"pydantic~=2.11.9",
"openai~=1.83.0",
"openai>=1.83.0,<3.0.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version constraint allows incompatible OpenAI SDK v1.x

High Severity

The new openai>=1.83.0,<3.0.0 constraint allows installation of OpenAI SDK v1.x versions, but the codebase imports from openai.types.responses import Response which only exists in v2.x. Installing any v1.x version will cause an ImportError or ModuleNotFoundError at runtime. The lower bound needs to be >=2.0.0 (or the specific v2 version that introduced the Responses API) to match the code's actual requirements.

Fix in Cursor Fix in Web

"instructor>=1.3.3",
# Text Processing
"pdfplumber~=0.11.4",
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.