From 8bc01ff63cd8dba1d549f66ebaa73b2c832b54f5 Mon Sep 17 00:00:00 2001 From: eugeneswalker <38933153+eugeneswalker@users.noreply.github.com> Date: Mon, 1 Nov 2021 14:50:36 -0700 Subject: py-pylint needs pip for build (#27123) * py-pylint: needs py-pip for build * alphabetize py- dependencies * add comment pointing to issue * fix style --- var/spack/repos/builtin/packages/py-pylint/package.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-pylint/package.py b/var/spack/repos/builtin/packages/py-pylint/package.py index 5d28171372..d474418ae2 100644 --- a/var/spack/repos/builtin/packages/py-pylint/package.py +++ b/var/spack/repos/builtin/packages/py-pylint/package.py @@ -32,16 +32,17 @@ class PyPylint(PythonPackage): depends_on('py-astroid@2.2.0:2', type=('build', 'run'), when='@2.3.0:2.7') depends_on('py-astroid@2.5.6:2.6', type=('build', 'run'), when='@2.8.0:') - depends_on('py-six', type=('build', 'run'), when='@1:2.3.1') + depends_on('py-backports-functools-lru-cache', when='^python@:2.8', type=('build', 'run')) + depends_on('py-configparser', when='^python@:2.8', type=('build', 'run')) + depends_on('py-editdistance', type=('build', 'run'), when='@:1.7') depends_on('py-isort@4.2.5:', type=('build', 'run')) depends_on('py-isort@4.2.5:5', when='@2.3.1:', type=('build', 'run')) depends_on('py-mccabe', type=('build', 'run')) depends_on('py-mccabe@0.6.0:0.6', when='@2.3.1:', type=('build', 'run')) - depends_on('py-editdistance', type=('build', 'run'), when='@:1.7') - depends_on('py-setuptools@17.1:', type='build') - depends_on('py-setuptools-scm', type='build', when='@2.8.2:') + depends_on('py-pip', type=('build')) # see https://github.com/spack/spack/issues/27075 # depends_on('py-setuptools-scm@1.15.0:', type='build') - depends_on('py-configparser', when='^python@:2.8', type=('build', 'run')) - depends_on('py-backports-functools-lru-cache', when='^python@:2.8', type=('build', 'run')) + depends_on('py-setuptools-scm', type='build', when='@2.8.2:') + depends_on('py-setuptools@17.1:', type='build') depends_on('py-singledispatch', when='^python@:3.3', type=('build', 'run')) + depends_on('py-six', type=('build', 'run'), when='@1:2.3.1') depends_on('py-toml@0.7.1:', type=('build', 'run'), when='@2.8.2:') -- cgit v1.2.3-70-g09d2