Skip to content
Merged
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 examples/dspy/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ requires-python = ">=3.10"
dependencies = [
"braintrust",
"dspy",
"litellm",
"litellm==1.106.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep the examples off broken LiteLLM on Python 3.10

In a Python 3.10 environment, which this example still declares supported, this exact pin selects a version the repository already identifies as broken due to unresolved Pydantic forward references: test_dspy preinstalls the same matrix pin and py/nox_session_constraints.py excludes that combination below Python 3.11. The identical pin in examples/litellm/pyproject.toml has the same problem, so either use a safe Python-3.10-compatible constraint or raise the examples' requires-python floor.

AGENTS.md reference: AGENTS.md:L17-L21

Useful? React with 👍 / 👎.

"openai",
]

Expand Down
2 changes: 1 addition & 1 deletion examples/litellm/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "LiteLLM completion traced with Braintrust"
requires-python = ">=3.10"
dependencies = [
"braintrust",
"litellm",
"litellm==1.106.0",
]

[tool.uv.sources]
Expand Down
2 changes: 1 addition & 1 deletion py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ lint = [
"google-genai",
"google-cloud-discoveryengine",
"instructor; python_version<'3.15'",
"litellm>=1.104.2; python_version<'3.15'",
"litellm>=1.104.2,!=1.107.0; python_version<'3.15'",
# Fork the resolution so 3.15 is not stuck on instructor's jiter<0.11.
"jiter>=0.11; python_version>='3.15'",
"livekit-agents>=1.8.5; python_version<'3.15'",
Expand Down
Loading
Loading