From af4cb0a14b033f5eee3247568a4efc3cef616834 Mon Sep 17 00:00:00 2001 From: Gregory Becker Date: Mon, 19 Aug 2024 14:39:16 -0700 Subject: [PATCH] remove completed TODO --- lib/spack/spack/binary_distribution.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/spack/spack/binary_distribution.py b/lib/spack/spack/binary_distribution.py index 727abb8fd31..f72e928d704 100644 --- a/lib/spack/spack/binary_distribution.py +++ b/lib/spack/spack/binary_distribution.py @@ -715,7 +715,6 @@ def get_buildfile_manifest(spec): def hashes_to_prefixes(spec): """Return a dictionary of hashes to prefixes for a spec and its deps, excluding externals""" - # TODO: Get this to return a tuple value (name, prefix) and modify all callers. return { s.dag_hash(): (s.name, str(s.prefix)) for s in itertools.chain( @@ -1532,7 +1531,6 @@ def _push_oci( Dict[str, spack.oci.oci.Blob], List[Tuple[Spec, BaseException]], ]: - # Spec dag hash -> blob checksums: Dict[str, spack.oci.oci.Blob] = {} @@ -2119,7 +2117,6 @@ def relocate_package(spec): # This is a new dependency tty.debug(f"{spec} does not have relocation for {name}") - if lookup_dag_hash in hash_to_old_prefix: old_dep_prefix = hash_to_old_prefix[lookup_dag_hash] prefix_to_prefix_bin[old_dep_prefix] = new_dep_prefix