Bugfix: Update Petsc Python dependency (#35216)

* Bugfix: Update Petsc python dependency for at least 3.18:
* Update var/spack/repos/builtin/packages/petsc/package.py

Co-authored-by: Satish Balay <balay@mcs.anl.gov>
This commit is contained in:
Tamara Dahlgren 2023-01-30 10:21:50 -08:00 committed by GitHub
parent 99f3716346
commit 6b3b7f8b7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -205,7 +205,9 @@ def check_fortran_compiler(self):
depends_on("rocprim", when="+rocm")
# Build dependencies
depends_on("python@2.6:2.8,3.4:", type="build")
depends_on("python@2.6:2.8,3.4:3.8", when="@:3.13", type="build")
depends_on("python@2.6:2.8,3.4:", when="@3.14:3.17", type="build")
depends_on("python@3.4:", when="@3.18:", type="build")
# Other dependencies
depends_on("metis@5:~int64+real64", when="@:3.7+metis~int64+double")