summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorsnehring <7978778+snehring@users.noreply.github.com>2023-02-06 07:58:04 -0600
committerGitHub <noreply@github.com>2023-02-06 14:58:04 +0100
commit91243ecb5ba9db56298a05d005333d0fbf13f89e (patch)
tree70d957e3460d58d375a017fbb7cf3847f238d3c2 /var
parent1fc2bf846ddb97381a344b93fe934308573a5afc (diff)
downloadspack-91243ecb5ba9db56298a05d005333d0fbf13f89e.tar.gz
spack-91243ecb5ba9db56298a05d005333d0fbf13f89e.tar.bz2
spack-91243ecb5ba9db56298a05d005333d0fbf13f89e.tar.xz
spack-91243ecb5ba9db56298a05d005333d0fbf13f89e.zip
tau: updating python version restriction (#35268)
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/tau/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/tau/package.py b/var/spack/repos/builtin/packages/tau/package.py
index 8d49076456..6902ce16ef 100644
--- a/var/spack/repos/builtin/packages/tau/package.py
+++ b/var/spack/repos/builtin/packages/tau/package.py
@@ -111,7 +111,9 @@ class Tau(Package):
# TAU requires the ELF header support, libiberty and demangle.
depends_on("binutils+libiberty+headers+plugins", when="+binutils")
# Build errors with Python 3.9
- depends_on("python@2.7:3.8", when="+python")
+ depends_on("python@2.7:3.8", when="@:2.31.0+python")
+ # python 3.11 doesn't work as of 2.32
+ depends_on("python@2.7:3.10", when="@2.31.1:+python")
depends_on("libunwind", when="+libunwind")
depends_on("mpi", when="+mpi", type=("build", "run", "link"))
depends_on("cuda", when="+cuda")