From a8745f24a2bdbfcd8257a141a5e69976639794d6 Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Mon, 21 Sep 2026 12:56:21 -0700 Subject: [PATCH] fix(ci): let the install smoke test boot its key-less proxy config The install smoke test starts the proxy on test_config_no_auth.yaml, which has no master key on purpose, and #42019's boot check now refuses that, so the three installing_litellm_on_python jobs have been red on main since 2026-09-20. Pass the documented local-dev override to the proxy child so the test keeps its no-auth config and the boot check stays as it is --- tests/local_testing/test_basic_python_version.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/local_testing/test_basic_python_version.py b/tests/local_testing/test_basic_python_version.py index ef500fdff42..f032486debd 100644 --- a/tests/local_testing/test_basic_python_version.py +++ b/tests/local_testing/test_basic_python_version.py @@ -3,6 +3,7 @@ import os import subprocess import time import traceback +from typing import Final import pytest @@ -253,6 +254,7 @@ def _run_proxy_server_smoke_test(extra_proxy_args=None): raise filepath = os.path.dirname(os.path.abspath(__file__)) config_fp = f"{filepath}/test_configs/test_config_no_auth.yaml" + proxy_env: Final = {**os.environ, "LITELLM_DANGEROUSLY_PERMIT_WEAK_OR_UNSET_MASTER_KEY": "true"} server_process = subprocess.Popen( [ "uv", @@ -266,6 +268,7 @@ def _run_proxy_server_smoke_test(extra_proxy_args=None): *extra_proxy_args, ], cwd=PROJECT_ROOT, + env=proxy_env, ) # Allow some time for the server to start (increased for CI environments)