diff --git a/var/spack/repos/builtin/packages/py-setuptools-scm/package.py b/var/spack/repos/builtin/packages/py-setuptools-scm/package.py index 807c0ced17..6b5412cf9b 100644 --- a/var/spack/repos/builtin/packages/py-setuptools-scm/package.py +++ b/var/spack/repos/builtin/packages/py-setuptools-scm/package.py @@ -42,3 +42,5 @@ class PySetuptoolsScm(PythonPackage): depends_on("py-tomli@1:", when="@7.1: ^python@:3.10", type=("build", "run")) depends_on("py-typing-extensions", when="@7:", type=("build", "run")) depends_on("py-importlib-metadata", when="@7: ^python@:3.7", type=("build", "run")) + + depends_on("git", type=("build", "run"))