From 49497d2d96657f65856dba080b573a681d912130 Mon Sep 17 00:00:00 2001 From: Yuan Tang Date: Sat, 21 Dec 2024 11:40:37 -0500 Subject: [PATCH] Switch to use importlib instead of deprecated pkg_resources Signed-off-by: Yuan Tang --- llama_stack/cli/stack/build.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llama_stack/cli/stack/build.py b/llama_stack/cli/stack/build.py index 54d78ad93..3e49a583e 100644 --- a/llama_stack/cli/stack/build.py +++ b/llama_stack/cli/stack/build.py @@ -4,6 +4,9 @@ # This source code is licensed under the terms described in the LICENSE file in # the root directory of this source tree. import argparse + +import importlib.resources + import os import shutil from functools import lru_cache