summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2023-09-25 08:28:13 +0200
committerGitHub <noreply@github.com>2023-09-25 08:28:13 +0200
commitb57c2a10d48b6889a38aab5c55dd866989a77203 (patch)
tree999a92041ac8182c456e86eb355b7e8fbb1316a1
parent849a0a5eeb7c0bd0d61278ab7f5d695188c10d08 (diff)
downloadspack-b57c2a10d48b6889a38aab5c55dd866989a77203.tar.gz
spack-b57c2a10d48b6889a38aab5c55dd866989a77203.tar.bz2
spack-b57c2a10d48b6889a38aab5c55dd866989a77203.tar.xz
spack-b57c2a10d48b6889a38aab5c55dd866989a77203.zip
phist: remove python 3.10 upperbound (#40175)
-rw-r--r--var/spack/repos/builtin/packages/phist/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/phist/package.py b/var/spack/repos/builtin/packages/phist/package.py
index 6d7d61c0e5..a67deddebd 100644
--- a/var/spack/repos/builtin/packages/phist/package.py
+++ b/var/spack/repos/builtin/packages/phist/package.py
@@ -138,6 +138,8 @@ class Phist(CMakePackage):
conflicts("^trilinos@14:", when="@:1.11.2")
# Build error with cray-libsci because they define macro 'I', workaround in phist-1.11.2
conflicts("^cray-libsci", when="@:1.11.1")
+ # phist@1.11.2 got rid of some deprecated python code + a patch below
+ conflicts("^python@3.11:", when="@:1.11.1")
# The builtin kernels switched from the 'mpi' to the 'mpi_f08' module in
# phist 1.9.6, which causes compile-time errors with mpich and older
# GCC versions.
@@ -175,8 +177,7 @@ class Phist(CMakePackage):
# Python 3 or later is required for generating the Fortran 2003 bindings
# since version 1.7, you can get rid of the dependency by switching off
# the feature (e.g. use the '~fortran' variant)
- # For the upperbound see https://bitbucket.org/essex/phist/issues/246/does-not-build-with-python-311
- depends_on("python@3:3.10", when="@1.7: +fortran", type="build")
+ depends_on("python@3:", when="@1.7: +fortran", type="build")
depends_on("mpi", when="+mpi")
depends_on("trilinos@12:+tpetra gotype=long_long", when="kernel_lib=tpetra +int64")
depends_on("trilinos@12:+tpetra gotype=int", when="kernel_lib=tpetra ~int64")