build(packaging): exclude guardrail_benchmarks fixtures from wheel (durable MAX_PATH fix)

Per reviewer feedback: the recurring Windows MAX_PATH abort root-causes to test/eval fixtures shipping in the wheel. Drop the whole guardrail_benchmarks tree from the distribution via uv source-exclude while keeping fixtures in-repo for the eval suite.
This commit is contained in:
Tai An 2026-06-03 06:08:32 -07:00
parent 2b6e6df98e
commit 63a9bf3ead

View file

@ -236,6 +236,7 @@ members = ["enterprise", "litellm-proxy-extras"]
module-root = ""
source-exclude = [
"litellm/proxy/enterprise",
"**/guardrail_benchmarks/**", # eval/test fixtures — not needed at runtime; keeps long fixture paths out of the wheel (Windows MAX_PATH)
"**/__pycache__",
"**/__pycache__/**",
"**/.mypy_cache",