diff --git a/var/spack/repos/builtin/packages/py-pytest/package.py b/var/spack/repos/builtin/packages/py-pytest/package.py index d41a19c432e994bd79134377209c4776c3ac5928..5f0a0bc8fc3624f4a48f34c383bcf9b656db9b6c 100644 --- a/var/spack/repos/builtin/packages/py-pytest/package.py +++ b/var/spack/repos/builtin/packages/py-pytest/package.py @@ -45,6 +45,7 @@ class PyPytest(PythonPackage): # Most Python packages only require setuptools as a build dependency. # However, pytest requires setuptools during runtime as well. depends_on('py-setuptools', type=('build', 'run')) + depends_on('py-setuptools-scm', type='build') depends_on('py-py@1.5.0:', type=('build', 'run')) depends_on('py-six@1.10.0:', type=('build', 'run')) depends_on('py-attrs@17.4.0:', type=('build', 'run'))