From a982118c1f020632f885cf03be66b386656c6c36 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Mon, 4 Dec 2023 12:14:59 +0100 Subject: ci.py: fix missing import (#41391) --- lib/spack/spack/cmd/ci.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/spack/spack/cmd/ci.py b/lib/spack/spack/cmd/ci.py index 6c57319302..271523d8ad 100644 --- a/lib/spack/spack/cmd/ci.py +++ b/lib/spack/spack/cmd/ci.py @@ -16,6 +16,7 @@ import spack.ci as spack_ci import spack.cmd.buildcache as buildcache import spack.config as cfg import spack.environment as ev +import spack.environment.depfile import spack.hash_types as ht import spack.mirror import spack.util.gpg as gpg_util @@ -606,7 +607,9 @@ def ci_rebuild(args): "SPACK_INSTALL_FLAGS={}".format(args_to_string(deps_install_args)), "-j$(nproc)", "install-deps/{}".format( - ev.depfile.MakefileSpec(job_spec).safe_format("{name}-{version}-{hash}") + spack.environment.depfile.MakefileSpec(job_spec).safe_format( + "{name}-{version}-{hash}" + ) ), ], spack_cmd + ["install"] + root_install_args, -- cgit v1.2.3-70-g09d2