From 23d911d1a0e2a91e7a3c8c5098ae20cda56608b6 Mon Sep 17 00:00:00 2001 From: Neil Flood Date: Thu, 19 Jul 2018 13:52:44 +1000 Subject: py-pytest: Added dependency on py-setuptools-scm, as well as py-setup… (#8750) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * py-pytest: Added dependency on py-setuptools-scm, as well as py-setuptools, to prevent the build from silently installing its own copy of setuptools-scm * py-pytest: Dependency on setuptools-scm only needs to be 'build' --- var/spack/repos/builtin/packages/py-pytest/package.py | 1 + 1 file changed, 1 insertion(+) (limited to 'var') 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')) -- cgit v1.2.3-70-g09d2