diff options
author | Neil Flood <neilflood@fastmail.fm> | 2018-07-19 13:52:44 +1000 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2018-07-18 22:52:44 -0500 |
commit | 23d911d1a0e2a91e7a3c8c5098ae20cda56608b6 (patch) | |
tree | 9ed59863b1ada760ec344c150cd6a75e61a84f8d /var | |
parent | 186d3669c6c2e3201cded06a74e712281e111a4d (diff) | |
download | spack-23d911d1a0e2a91e7a3c8c5098ae20cda56608b6.tar.gz spack-23d911d1a0e2a91e7a3c8c5098ae20cda56608b6.tar.bz2 spack-23d911d1a0e2a91e7a3c8c5098ae20cda56608b6.tar.xz spack-23d911d1a0e2a91e7a3c8c5098ae20cda56608b6.zip |
py-pytest: Added dependency on py-setuptools-scm, as well as py-setup… (#8750)
* 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'
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pytest/package.py | 1 |
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')) |