Skip to content

The agent that grows with you

fix(tls): pin truststore until explicit-CA path has a public API

ethernete0cca4177284
diff --git a/pyproject.toml b/pyproject.toml
index 31956323f5f..e51d2be0486 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -43,7 +43,9 @@ dependencies = [
# a corporate/internal root installed on the machine just works. certifi
# above stays a direct pin because httpx/requests/openai each depend on
# it regardless; it is no longer OUR trust source.
- "truststore>=0.10.4,<0.11; python_version >= '3.14'",
+ # ssl_verify uses truststore's private original SSLContext for explicit CA overrides.
+ # Keep this exact until that path has a public-API replacement.
+ "truststore==0.10.4; python_version >= '3.14'",
"python-dotenv==1.2.2; python_version >= '3.14'",
"fire==0.7.1; python_version >= '3.14'",
"httpx[socks]==0.28.1; python_version >= '3.14'",
diff --git a/uv.lock b/uv.lock
index c427dbc0285..4673bdf3459 100644
--- a/uv.lock
+++ b/uv.lock
@@ -2470,7 +2470,7 @@ requires-dist = [
{ name = "supermemory", marker = "extra == 'supermemory'", specifier = "==3.50.0" },
{ name = "tenacity", marker = "python_full_version >= '3.14'", specifier = "==9.1.4" },
{ name = "tomli-w", marker = "python_full_version >= '3.14'", specifier = "==1.2.0" },
- { name = "truststore", marker = "python_full_version >= '3.14'", specifier = ">=0.10.4,<0.11" },
+ { name = "truststore", marker = "python_full_version >= '3.14'", specifier = "==0.10.4" },
{ name = "tzdata", marker = "python_full_version >= '3.14' and sys_platform == 'win32'", specifier = "==2025.3" },
{ name = "urllib3", marker = "python_full_version >= '3.14'", specifier = ">=2.7.0,<3" },
{ name = "uvicorn", marker = "python_full_version >= '3.14'", specifier = ">=0.31.0,<1" },