Skip to content

The agent that grows with you

fix: prepare Anthropic SDK in provider catalog test environment

ethernet7f05c3e02080
diff --git a/pyproject.toml b/pyproject.toml
index 7ba2e747aaa..31956323f5f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -539,8 +539,13 @@ dev = [
"ruff==0.15.10",
"setuptools==83.0.0",
] # starlette: CVE-2026-48710; setuptools: 83 (torch >=2.13 requires setuptools 83)
-# Native launcher acceptance is required in test environments, not payloads.
-test = ["distlib==0.4.3; sys_platform == 'win32'"]
+# Native launcher and provider-catalog E2E dependencies belong in the test
+# environment, not the core runtime. Keep the Anthropic SDK at the same
+# reviewed version as the optional runtime extra above.
+test = [
+ "distlib==0.4.3; sys_platform == 'win32'",
+ "anthropic==0.87.0",
+]
[build-system]
# setuptools.build_meta + our setup.py bdist_wheel guard import wheel during
diff --git a/uv.lock b/uv.lock
index cce08fea934..c427dbc0285 100644
--- a/uv.lock
+++ b/uv.lock
@@ -2316,6 +2316,7 @@ dev = [
{ name = "ty" },
]
test = [
+ { name = "anthropic" },
{ name = "distlib", marker = "sys_platform == 'win32'" },
]
@@ -2499,7 +2500,10 @@ dev = [
{ name = "starlette", specifier = "==1.3.1" },
{ name = "ty", specifier = "==0.0.82" },
]
-test = [{ name = "distlib", marker = "sys_platform == 'win32'", specifier = "==0.4.3" }]
+test = [
+ { name = "anthropic", specifier = "==0.87.0" },
+ { name = "distlib", marker = "sys_platform == 'win32'", specifier = "==0.4.3" },
+]
[[package]]
name = "hf-xet"