Revert change to spack spec import

This commit is contained in:
Tara Drwenski 2025-03-24 15:59:53 -06:00
parent aaadce6995
commit 51930949c4

View File

@ -11,9 +11,9 @@
import llnl.util.tty as tty
import spack.phase_callbacks
import spack.spec
import spack.util.prefix
from spack.directives import depends_on
from spack.spec import Spec
from spack.util.executable import which_string
from .cmake import CMakeBuilder, CMakePackage
@ -377,7 +377,7 @@ def initconfig_package_entries(self):
return []
def initconfig(
self, pkg: "CachedCMakePackage", spec: Spec, prefix: spack.util.prefix.Prefix
self, pkg: "CachedCMakePackage", spec: spack.spec.Spec, prefix: spack.util.prefix.Prefix
) -> None:
cache_entries = (
self.std_initconfig_entries()