Skip to content
Snippets Groups Projects
Commit 23d911d1 authored by Neil Flood's avatar Neil Flood Committed by Adam J. Stewart
Browse files

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'
parent 186d3669
No related branches found
No related tags found
No related merge requests found
...@@ -45,6 +45,7 @@ class PyPytest(PythonPackage): ...@@ -45,6 +45,7 @@ class PyPytest(PythonPackage):
# Most Python packages only require setuptools as a build dependency. # Most Python packages only require setuptools as a build dependency.
# However, pytest requires setuptools during runtime as well. # However, pytest requires setuptools during runtime as well.
depends_on('py-setuptools', type=('build', 'run')) 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-py@1.5.0:', type=('build', 'run'))
depends_on('py-six@1.10.0:', type=('build', 'run')) depends_on('py-six@1.10.0:', type=('build', 'run'))
depends_on('py-attrs@17.4.0:', type=('build', 'run')) depends_on('py-attrs@17.4.0:', type=('build', 'run'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment