summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatish Balay <balay@mcs.anl.gov>2019-01-26 09:28:20 -0600
committerAxel Huebl <axel.huebl@plasma.ninja>2019-01-26 16:28:20 +0100
commitd071c6d34109893e8e89f16d305b9565968678bf (patch)
tree1cce303365a0d13207e2f83d900df4aa24885bee
parentf299507fa97dca75f704bb3ef475f90d239614b0 (diff)
downloadspack-d071c6d34109893e8e89f16d305b9565968678bf.tar.gz
spack-d071c6d34109893e8e89f16d305b9565968678bf.tar.bz2
spack-d071c6d34109893e8e89f16d305b9565968678bf.tar.xz
spack-d071c6d34109893e8e89f16d305b9565968678bf.zip
petsc: configure works with python3 in current petsc@develop - and will work in future releases [3.11+] (#10380)
-rw-r--r--var/spack/repos/builtin/packages/petsc/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/petsc/package.py b/var/spack/repos/builtin/packages/petsc/package.py
index 81cf908891..34dfda967b 100644
--- a/var/spack/repos/builtin/packages/petsc/package.py
+++ b/var/spack/repos/builtin/packages/petsc/package.py
@@ -106,7 +106,8 @@ class Petsc(Package):
depends_on('mpi', when='+mpi')
# Build dependencies
- depends_on('python@2.6:2.8', type='build')
+ depends_on('python@2.6:2.8', type='build', when='@:3.10.99')
+ depends_on('python@2.6:2.8,3.4:', type='build', when='@3.11:')
# Other dependencies
depends_on('metis@5:~int64+real64', when='@:3.7.99+metis~int64+double')