From d4f47546558aa44a566ea6b32d06c968221c6ebd Mon Sep 17 00:00:00 2001 From: eugeneswalker <38933153+eugeneswalker@users.noreply.github.com> Date: Thu, 29 Apr 2021 12:06:23 -0700 Subject: py-astroid: properly select py-wrapt dependency w/ when clause (#23341) --- var/spack/repos/builtin/packages/py-astroid/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/py-astroid/package.py b/var/spack/repos/builtin/packages/py-astroid/package.py index 5940977f1a..5c5e77a74e 100644 --- a/var/spack/repos/builtin/packages/py-astroid/package.py +++ b/var/spack/repos/builtin/packages/py-astroid/package.py @@ -31,7 +31,7 @@ class PyAstroid(PythonPackage): depends_on('py-lazy-object-proxy@1.4:1.4.999', when='@2.3.3:', type=('build', 'run')) depends_on('py-six', type=('build', 'run')) depends_on('py-six@1.12:1.999', when='@2.3.3:', type=('build', 'run')) - depends_on('py-wrapt', type=('build', 'run')) + depends_on('py-wrapt', when='@:2.2.999', type=('build', 'run')) depends_on('py-wrapt@1.11:1.11.999', when='@2.3.3:', type=('build', 'run')) depends_on('py-enum34@1.1.3:', when='^python@:3.3.99', type=('build', 'run')) depends_on('py-singledispatch', when='^python@:3.3.99', type=('build', 'run')) -- cgit v1.2.3-60-g2f50