litellm/tests/test_litellm/proxy
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
..
_experimental/mcp_server Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
agent_endpoints Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
anthropic_endpoints
auth Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
client
common_utils Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
db
discovery_endpoints
experimental/mcp_server
google_endpoints Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
guardrails Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
health_endpoints
hooks Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
image_endpoints
management_endpoints Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
management_helpers decouple S3 audit-log config via s3_audit_callback_params 2026-05-05 13:23:32 -07:00
memory
middleware
openai_files_endpoint
pass_through_endpoints Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
policy_engine
prompts
public_endpoints
rag_endpoints
realtime_endpoints
response_api_endpoints
spend_tracking fix(security): prevent secret_fields from leaking into spend logs 2026-05-05 02:01:41 +00:00
test_configs
ui_crud_endpoints
vector_store_endpoints fix(vector_store): cache use-time embedding-config resolution 2026-05-03 10:27:53 +00:00
__init__.py
conftest.py Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
test_aiohttp_cleanup_closed.py
test_aiohttp_session_recovery.py
test_api_key_masking_in_errors.py
test_audio_speech_prometheus_hooks.py
test_batch_expiry.py
test_batch_metadata_none_fix.py
test_batch_retrieve_bedrock.py
test_budget_reservation.py
test_caching_routes.py
test_chat_completion_metadata.py
test_common_request_processing.py Preserve LiteLLM headers for passthrough responses (#27412) 2026-05-07 12:59:36 -07:00
test_cors_config.py
test_custom_proxy.py
test_empty_model_list.py
test_enforce_user_param.py
test_fallback_management_endpoints.py
test_fastapi_offline_routes.py Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
test_filter_models_by_team_access_group.py Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
test_health_check_functions.py
test_health_check_max_tokens.py test(proxy): cover health_check_reasoning_effort for completion mode 2026-05-05 08:52:57 +05:30
test_langfuse_passthrough_security.py
test_lazy_openapi_snapshot.py
test_litellm_pre_call_utils.py union x-litellm-tags with static team/key tags (#27247) 2026-05-05 17:46:42 -07:00
test_max_budget_env_var.py
test_model_dump_with_preserved_fields.py
test_model_id_header_propagation.py
test_model_info_default_limits.py
test_model_level_guardrails.py Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
test_openapi_schema_validation.py
test_pricing_field_strip.py fix(proxy): move pricing strip below the litellm_metadata JSON-string parse 2026-05-03 02:04:05 +00:00
test_prometheus_cleanup.py
test_provider_url_destination_guard.py
test_proxy_cli.py proxy: hot-reload config YAML when --reload is set (#27274) 2026-05-06 16:06:58 +00:00
test_proxy_server.py
test_proxy_types.py
test_proxy_utils.py
test_pyroscope.py Implement normalize_nonempty_secret_str function to trim whitespace from secrets and treat empty values as unset. Update proxy_server to use this function for Grafana credentials. Enhance tests to validate the new normalization behavior. 2026-05-04 18:17:31 +00:00
test_redis_auth_cache_flag.py Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
test_response_model_sanitization.py
test_route_a2a_models.py
test_route_llm_request.py
test_sensitive_route_auth.py
test_shared_health_check.py
test_spend_log_cleanup.py fix(proxy): keep spend log cleanup running after batch failures and surface DB errors (#27303) 2026-05-06 18:39:15 +00:00
test_swagger_chat_completions.py
test_team_member_update.py
test_team_org_move.py Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
test_tools_allowlist_enforcement.py
test_update_llm_router_resilience.py
test_utils.py