spec.py: fix return type of concretized() (#48504)

This commit is contained in:
Harmen Stoppels 2025-01-10 14:31:41 +01:00 committed by Harmen Stoppels
parent b621c045a7
commit 1db11ff06b

View File

@ -2956,7 +2956,7 @@ def _finalize_concretization(self):
for spec in self.traverse():
spec._cached_hash(ht.dag_hash)
def concretized(self, tests: Union[bool, Iterable[str]] = False) -> "spack.spec.Spec":
def concretized(self, tests: Union[bool, Iterable[str]] = False) -> "Spec":
"""This is a non-destructive version of concretize().
First clones, then returns a concrete version of this package