summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authoreugeneswalker <38933153+eugeneswalker@users.noreply.github.com>2021-11-01 14:50:36 -0700
committerGitHub <noreply@github.com>2021-11-01 21:50:36 +0000
commit8bc01ff63cd8dba1d549f66ebaa73b2c832b54f5 (patch)
treec0cfe143e7ec96103cee9a919db6d1db8ffdee51 /var
parente0a929ba6069a9137b508b6915ee42b18de46acd (diff)
downloadspack-8bc01ff63cd8dba1d549f66ebaa73b2c832b54f5.tar.gz
spack-8bc01ff63cd8dba1d549f66ebaa73b2c832b54f5.tar.bz2
spack-8bc01ff63cd8dba1d549f66ebaa73b2c832b54f5.tar.xz
spack-8bc01ff63cd8dba1d549f66ebaa73b2c832b54f5.zip
py-pylint needs pip for build (#27123)
* py-pylint: needs py-pip for build * alphabetize py- dependencies * add comment pointing to issue * fix style
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pylint/package.py13
1 files changed, 7 insertions, 6 deletions
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:')