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
1 change: 1 addition & 0 deletions py/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,7 @@ def test_dspy(session, version):
# on Python 3.10 due to unresolved Pydantic forward references.
_skip_if_incompatible(session)
_install_test_deps(session)
_install_group_locked(session, "test-dspy")
if version == LATEST:
# DSPy only lower-bounds LiteLLM, whose 1.92.0 release lacks Windows
# and Python 3.14 wheels. Preinstall our portable matrix pin so DSPy's
Expand Down
5 changes: 5 additions & 0 deletions py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ test-litellm = [
"orjson==3.12.0; python_version>='3.15'",
]

test-dspy = [
# DSPy 2.6 requires Pillow to format image inputs but does not install it.
"pillow==12.3.0",
]

test-agno = [
{include-group = "test"},
"openai==2.31.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Test auto_instrument for DSPy.

Note: This test focuses on patching behavior only. Span verification for DSPy
is done in test_dspy.py::test_dspy_callback which uses pytest-vcr (supports httpx).
is done in test_dspy.py::test_dspy_images_materialize_attachments which uses pytest-vcr (supports httpx).
The standalone VCR in test_utils doesn't capture httpx used by litellm/dspy.
"""

Expand Down

This file was deleted.

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

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

Loading
Loading