diff --git a/var/spack/repos/builtin/packages/py-pytest-runner/package.py b/var/spack/repos/builtin/packages/py-pytest-runner/package.py index 1221464219..ade95a1810 100644 --- a/var/spack/repos/builtin/packages/py-pytest-runner/package.py +++ b/var/spack/repos/builtin/packages/py-pytest-runner/package.py @@ -12,8 +12,15 @@ class PyPytestRunner(PythonPackage): homepage = "https://github.com/pytest-dev/pytest-runner" pypi = "pytest-runner/pytest-runner-5.1.tar.gz" + version('5.3.1', sha256='0fce5b8dc68760f353979d99fdd6b3ad46330b6b1837e2077a89ebcf204aac91') version('5.1', sha256='25a013c8d84f0ca60bb01bd11913a3bcab420f601f0f236de4423074af656e7a') version('2.11.1', sha256='983a31eab45e375240e250161a556163bc8d250edaba97960909338c273a89b3') + # requirements from pyproject.toml are marked with * + depends_on('python@3.6:', when='@5.3:', type=('build', 'run')) + depends_on('py-setuptools@42:', when='@5.3:', type=('build', 'run')) # * + depends_on('py-setuptools@34.4:', when='@5:', type=('build', 'run')) # * + depends_on('py-setuptools@27.3:', when='@4.1:', type=('build', 'run')) depends_on('py-setuptools', type=('build', 'run')) + depends_on('py-setuptools-scm+toml@3.4.1:', when='@5.3:', type='build') # * depends_on('py-setuptools-scm@1.15:', type='build')