diff options
author | wspear <wjspear@gmail.com> | 2024-05-02 06:13:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-02 07:13:21 -0600 |
commit | beebe2c9d3e846cfe721fdf425632f57d833a79c (patch) | |
tree | 33f9b10f9f0371f915a1cc016345e5baab882e51 | |
parent | 2eb7add8c43af833fd665f7b617ae8b6890cebd9 (diff) | |
download | spack-beebe2c9d3e846cfe721fdf425632f57d833a79c.tar.gz spack-beebe2c9d3e846cfe721fdf425632f57d833a79c.tar.bz2 spack-beebe2c9d3e846cfe721fdf425632f57d833a79c.tar.xz spack-beebe2c9d3e846cfe721fdf425632f57d833a79c.zip |
Accept later pythons for tau@2.33+ (#43911)
* Accept later pythons for tau@2.33+
* separate forward compat bounds
-rw-r--r-- | var/spack/repos/builtin/packages/tau/package.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/tau/package.py b/var/spack/repos/builtin/packages/tau/package.py index 37bcee5cdb..75472681ab 100644 --- a/var/spack/repos/builtin/packages/tau/package.py +++ b/var/spack/repos/builtin/packages/tau/package.py @@ -126,10 +126,12 @@ class Tau(Package): depends_on("elf", when="+elf") # 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="@: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") + with when("+python"): + depends_on("python@2.7:") + # Build errors with Python 3.9 + depends_on("python@:3.8", when="@:2.31.0") + # python 3.11 doesn't work in the 2.32 releases + depends_on("python@:3.10", when="@:2.32.1") depends_on("libunwind", when="+libunwind") depends_on("mpi", when="+mpi", type=("build", "run", "link")) depends_on("cuda", when="+cuda") |