From 23b7dc7b37d0cf06c0cd14cfcd4bb760a2cf2674 Mon Sep 17 00:00:00 2001 From: ehhuang Date: Fri, 20 Jun 2025 15:15:43 -0700 Subject: [PATCH] fix: stack build (#2485) # What does this PR do? probably related to 3.11 upgrade ^^^^ File "/opt/homebrew/Caskroom/miniconda/base/envs/myenv/lib/python3.11/site-packages/termcolor/termcolor.py", line 147, in colored text = fmt_str % (COLORS[color], text) ~~~~~~^^^^^^^ KeyError: 'light_blue' ## Test Plan --- llama_stack/cli/stack/_build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llama_stack/cli/stack/_build.py b/llama_stack/cli/stack/_build.py index f6f72946a..7ade6f17a 100644 --- a/llama_stack/cli/stack/_build.py +++ b/llama_stack/cli/stack/_build.py @@ -408,10 +408,10 @@ def _run_stack_build_command_from_build_config( shutil.copy(path, run_config_file) cprint("Build Successful!", color="green", file=sys.stderr) - cprint(f"You can find the newly-built template here: {template_path}", color="light_blue", file=sys.stderr) + cprint(f"You can find the newly-built template here: {template_path}", color="blue", file=sys.stderr) cprint( "You can run the new Llama Stack distro via: " - + colored(f"llama stack run {template_path} --image-type {build_config.image_type}", "light_blue"), + + colored(f"llama stack run {template_path} --image-type {build_config.image_type}", "blue"), color="green", file=sys.stderr, )