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 GitHub
parent 2e472a13e5
commit d46ac9b1e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3061,7 +3061,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