From: Zack Cerza Date: Wed, 22 Mar 2023 15:59:20 +0000 (-0600) Subject: task.internal: Fix import of get_builder_project X-Git-Tag: 1.2.0~118^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0fd39e5b8a118e7f1179ceb9f55bd1d0774af039;p=teuthology.git task.internal: Fix import of get_builder_project This is another problematic circular import. Signed-off-by: Zack Cerza --- diff --git a/teuthology/task/internal/__init__.py b/teuthology/task/internal/__init__.py index 0fb5b203d..8fc442d6a 100644 --- a/teuthology/task/internal/__init__.py +++ b/teuthology/task/internal/__init__.py @@ -17,8 +17,7 @@ import re import humanfriendly import teuthology.lock.ops -from teuthology import misc -from teuthology.packaging import get_builder_project +from teuthology import misc, packaging from teuthology import report from teuthology.config import config as teuth_config from teuthology.exceptions import ConfigError, VersionNotFoundError @@ -89,7 +88,7 @@ def check_packages(ctx, config): # We can only do this check if there are a defined sha1 and os_type # in the job config. if os_type and sha1: - package = get_builder_project()("ceph", ctx.config) + package = packaging.get_builder_project()("ceph", ctx.config) template = "Checking packages for os_type '{os}', " \ "flavor '{flav}' and ceph hash '{ver}'" log.info(