summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/directives.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/spack/spack/directives.py b/lib/spack/spack/directives.py
index 2f152f813d..08f6ec9ba9 100644
--- a/lib/spack/spack/directives.py
+++ b/lib/spack/spack/directives.py
@@ -475,8 +475,6 @@ def provides(*specs: SpecType, when: WhenType = None):
"""
def _execute_provides(pkg: Type[spack.package_base.PackageBase]):
- import spack.parser # Avoid circular dependency
-
when_spec = _make_when_spec(when)
if not when_spec:
return