Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

Update gepa[dspy] dependency version to 0.0.18 (#8969)

Lakshya A Agrawalbf022c77e1dd
diff --git a/pyproject.toml b/pyproject.toml
index 3f2af96d4..1e03deae2 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -43,7 +43,7 @@ dependencies = [
"pillow>=10.1.0",
"numpy>=1.26.0",
"xxhash>=3.5.0",
- "gepa[dspy]==0.0.17",
+ "gepa[dspy]==0.0.18",
]
[project.optional-dependencies]
diff --git a/tests/teleprompt/test_gepa.py b/tests/teleprompt/test_gepa.py
index 6b398fff2..da9a74da8 100644
--- a/tests/teleprompt/test_gepa.py
+++ b/tests/teleprompt/test_gepa.py
@@ -80,6 +80,7 @@ def test_gepa_adapter_disables_logging_during_trace_capture(monkeypatch):
@pytest.fixture
def mock_mlflow():
mock_mlflow = mock.MagicMock()
+ mock_mlflow.active_run.return_value = None
with mock.patch.dict("sys.modules", {"mlflow": mock_mlflow}):
yield mock_mlflow