summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-pytest/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pytest/package.py b/var/spack/repos/builtin/packages/py-pytest/package.py
index d41a19c432..5f0a0bc8fc 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'))