fix(benchmarks): install pypdf in the benchmark environment
Some checks failed
LiteLLM Rust / rust-wheel (push) Has been cancelled
LiteLLM Rust DB / db-queries (push) Has been cancelled
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled

The PDF token-count benchmarks parse pages with pypdf, which only the proxy-runtime extra installed, so CodSpeed took the no-parser path.
This commit is contained in:
mateo-berri 2026-10-28 23:02:35 -07:00
parent 317c4caffc
commit 7729925ad7
2 changed files with 3 additions and 0 deletions

View file

@ -312,6 +312,7 @@ benchmarks = [
"pytest-codspeed==4.3.0",
"mcp>=2.3.0,<3",
"a2a-sdk==1.1.0",
"pypdf>=6.21.2,<7.0",
]
[build-system]

2
uv.lock generated
View file

@ -5118,6 +5118,7 @@ admin-mcp = [
benchmarks = [
{ name = "a2a-sdk" },
{ name = "mcp" },
{ name = "pypdf" },
{ name = "pytest" },
{ name = "pytest-codspeed" },
]
@ -5347,6 +5348,7 @@ admin-mcp = [{ name = "litellm-admin-mcp", marker = "python_full_version >= '3.1
benchmarks = [
{ name = "a2a-sdk", specifier = "==1.1.0" },
{ name = "mcp", specifier = ">=2.3.0,<3" },
{ name = "pypdf", specifier = ">=6.21.2,<7.0" },
{ name = "pytest", specifier = "==9.0.3" },
{ name = "pytest-codspeed", specifier = "==4.3.0" },
]