diff --git a/lib/spack/spack/provider_index.py b/lib/spack/spack/provider_index.py index 5a1548d21b4..3ff8ecae0f5 100644 --- a/lib/spack/spack/provider_index.py +++ b/lib/spack/spack/provider_index.py @@ -26,7 +26,7 @@ class _IndexBase: #: Calling providers_for(spec) will find specs that provide a #: matching implementation of MPI. Derived class need to construct #: this attribute according to the semantics above. - providers: Dict[str, Dict[str, Set[str]]] + providers: Dict[str, Dict["spack.spec.Spec", Set["spack.spec.Spec"]]] def providers_for(self, virtual_spec): """Return a list of specs of all packages that provide virtual