From 10acffc92e9983d96026b6e2dba9be8717bd2220 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Wed, 29 Jan 2025 17:38:13 +0100 Subject: [PATCH] fix incorrect type annotation of spack.provider_index._IndexBase.providers --- lib/spack/spack/provider_index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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