From 91243ecb5ba9db56298a05d005333d0fbf13f89e Mon Sep 17 00:00:00 2001 From: snehring <7978778+snehring@users.noreply.github.com> Date: Mon, 6 Feb 2023 07:58:04 -0600 Subject: tau: updating python version restriction (#35268) Co-authored-by: Adam J. Stewart --- var/spack/repos/builtin/packages/tau/package.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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") -- cgit v1.2.3-70-g09d2