litellm/tests/guardrails_tests
user 5bafa8b3a2
Drop dep bumps + black-26 reformat to clear fork CI policy
PR was blocked by .github/workflows/guard-fork-dependencies.yml: fork PRs
cannot modify uv.lock. Reverting:

- uv.lock + pyproject.toml black bump (24.10.0 -> 26.3.1) and the 295
  files of mechanical Black 26 reformat coupled to it
- pyproject.toml diskcache extra change (kept the runtime mitigation in
  litellm/caching/disk_cache.py via JSONDisk)

Kept:
- Dockerfile cache narrowing (drops ~660 MB of uv build cache that
  surfaced cached setuptools as CVE findings)
- litellm/caching/disk_cache.py: dc.JSONDisk to neutralize CVE-2025-69872
- ui/litellm-dashboard/package-lock.json + litellm-js/spend-logs/package-lock.json:
  next/postcss/hono/uuid CVE bumps (these are not blocked by the fork guard)
- tests/test_litellm/caching/test_disk_cache.py
- tests/code_coverage_tests/liccheck.ini: harmless black authorization

Black + gitpython + langchain dep upgrades will need a follow-up from a
maintainer pushing a branch in the canonical BerriAI/litellm repo.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-07 23:04:52 +00:00
..
conftest.py test: add 24hr Redis-backed VCR cache to additional test suites (#27159) 2026-05-05 15:13:31 -07:00
test_akto_guardrails.py Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
test_bedrock_guardrails.py fix(proxy): guardrail header dedupe, mypy during_call, test mock kwargs 2026-04-22 23:22:35 +03:00
test_custom_guardrail.py Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
test_dynamoai_guardrails.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_eu_ai_act_article5.py Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
test_eu_ai_act_french_3_scenarios.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_guardrail_load_balancing.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_guardrails_config.py fix: use fastuuid helper (#14903) 2025-09-25 15:47:01 -07:00
test_javelin_guardrails.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_lakera_v2.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_lasso_guardrails.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_presidio_pii.py fix: address req changes 2026-03-10 15:51:10 +05:30
test_semantic_guard.py fix(guardrails): cover multi-choice output variants 2026-05-01 19:38:04 -07:00
test_sg_mas_ai_guardrails.py Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
test_sg_pdpa_guardrails.py Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
test_tracing_guardrails.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_zscaler_ai_guard.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00