DSPy: The framework for programming—not prompting—language models
Python
fix(deps): pin typeguard==4.4.3 to prevent supply chain attacks (#9551)
Isaac Miller9cdb0aac28b2
diff --git a/pyproject.toml b/pyproject.tomlindex f1cfd1cef..6d0c7a3dd 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -38,7 +38,7 @@ dependencies = ["numpy>=1.26.0","xxhash>=3.5.0","gepa[dspy]==0.0.27",- "typeguard>=4.4.3",+ "typeguard==4.4.3",][project.optional-dependencies]diff --git a/uv.lock b/uv.lockindex de85413f1..88667a3f7 100644--- a/uv.lock+++ b/uv.lock@@ -808,7 +808,7 @@ requires-dist = [{ name = "json-repair", specifier = ">=0.54.2" },{ name = "langchain-core", marker = "extra == 'langchain'" },{ name = "langchain-core", marker = "extra == 'test-extras'" },- { name = "litellm", specifier = ">=1.64.0" },+ { name = "litellm", specifier = ">=1.64.0,<=1.82.6" },{ name = "litellm", marker = "(python_full_version == '3.14.*' and extra == 'dev') or (sys_platform == 'win32' and extra == 'dev')", specifier = ">=1.64.0" },{ name = "litellm", extras = ["proxy"], marker = "python_full_version < '3.14' and sys_platform != 'win32' and extra == 'dev'", specifier = ">=1.64.0" },{ name = "mcp", marker = "python_full_version >= '3.10' and extra == 'mcp'" },@@ -830,7 +830,7 @@ requires-dist = [{ name = "ruff", marker = "extra == 'dev'", specifier = ">=0.3.0" },{ name = "tenacity", specifier = ">=8.2.3" },{ name = "tqdm", specifier = ">=4.66.1" },- { name = "typeguard", specifier = ">=4.4.3" },+ { name = "typeguard", specifier = "==4.4.3" },{ name = "weaviate-client", marker = "extra == 'weaviate'", specifier = "~=4.5.4" },{ name = "xxhash", specifier = ">=3.5.0" },]