summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authoreugeneswalker <38933153+eugeneswalker@users.noreply.github.com>2021-04-29 12:06:23 -0700
committerGitHub <noreply@github.com>2021-04-29 12:06:23 -0700
commitd4f47546558aa44a566ea6b32d06c968221c6ebd (patch)
tree90e2b70ac837a1f303cc41d3ebdcb4fe95d458ac /var
parent56eb66e79abc096a1b3f6daccf3e3176259f11b6 (diff)
downloadspack-d4f47546558aa44a566ea6b32d06c968221c6ebd.tar.gz
spack-d4f47546558aa44a566ea6b32d06c968221c6ebd.tar.bz2
spack-d4f47546558aa44a566ea6b32d06c968221c6ebd.tar.xz
spack-d4f47546558aa44a566ea6b32d06c968221c6ebd.zip
py-astroid: properly select py-wrapt dependency w/ when clause (#23341)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-astroid/package.py2
1 files changed, 1 insertions, 1 deletions
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'))