Accept later pythons for tau@2.33+ (#43911)

* Accept later pythons for tau@2.33+

* separate forward compat bounds
This commit is contained in:
wspear 2024-05-02 06:13:21 -07:00 committed by GitHub
parent 2eb7add8c4
commit beebe2c9d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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")