From 8ff81d43623a5065296d3df1715278488dcc4fcb Mon Sep 17 00:00:00 2001 From: iarspider Date: Sun, 28 Nov 2021 18:07:53 +0100 Subject: Fix py-astroid recipe (#27670) --- var/spack/repos/builtin/packages/py-astroid/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-astroid/package.py b/var/spack/repos/builtin/packages/py-astroid/package.py index e9fc469674..9d691f0783 100644 --- a/var/spack/repos/builtin/packages/py-astroid/package.py +++ b/var/spack/repos/builtin/packages/py-astroid/package.py @@ -39,12 +39,12 @@ class PyAstroid(PythonPackage): depends_on('py-lazy-object-proxy', type=('build', 'run')) # Starting with astroid 2.3.1, astroid's dependencies were restricted # to a given minor version, c.f. commit e1b4e11. - depends_on('py-lazy-object-proxy@1.4.0:1.4', when='@2.3.1:', type=('build', 'run')) + depends_on('py-lazy-object-proxy@1.4.0:1.4', when='@2.3.1:2.7.2', type=('build', 'run')) depends_on('py-lazy-object-proxy@1.4.0:', when='@2.7.3:', type=('build', 'run')) depends_on('py-six', type=('build', 'run'), when='@:2.7.2') depends_on('py-six@1.12:1', when='@2.3.3:2.7.2', type=('build', 'run')) depends_on('py-wrapt', when='@:2.2', type=('build', 'run')) - depends_on('py-wrapt@1.11:1.12', when='@2.3.3:', type=('build', 'run')) + depends_on('py-wrapt@1.11:1.12', when='@2.3.3:2.8.2', type=('build', 'run')) depends_on('py-wrapt@1.11:1.13', when='@2.8.3:', type=('build', 'run')) depends_on('py-enum34@1.1.3:', when='^python@:3.3', type=('build', 'run')) depends_on('py-singledispatch', when='^python@:3.3', type=('build', 'run')) -- cgit v1.2.3-60-g2f50