py-pylint needs pip for build (#27123)

* py-pylint: needs py-pip for build

* alphabetize py- dependencies

* add comment pointing to issue

* fix style
This commit is contained in:
eugeneswalker 2021-11-01 14:50:36 -07:00 committed by GitHub
parent e0a929ba60
commit 8bc01ff63c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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:')