From 0fd39e5b8a118e7f1179ceb9f55bd1d0774af039 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Wed, 22 Mar 2023 09:59:20 -0600 Subject: [PATCH] task.internal: Fix import of get_builder_project This is another problematic circular import. Signed-off-by: Zack Cerza --- teuthology/task/internal/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/teuthology/task/internal/__init__.py b/teuthology/task/internal/__init__.py index 0fb5b203de..8fc442d6aa 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( -- 2.39.5