summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSatish Balay <balay@mcs.anl.gov>2019-08-02 20:07:29 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2019-08-02 20:07:29 -0500
commit8010965a3d3bed3346dfbd52292524d97081af2b (patch)
treef6ce515ffcc255dbde865e3f643db87bb956ab7a /var
parentb4f82944084318a2d45def9f04fa90f4b06db769 (diff)
downloadspack-8010965a3d3bed3346dfbd52292524d97081af2b.tar.gz
spack-8010965a3d3bed3346dfbd52292524d97081af2b.tar.bz2
spack-8010965a3d3bed3346dfbd52292524d97081af2b.tar.xz
spack-8010965a3d3bed3346dfbd52292524d97081af2b.zip
slepc: update python dependencies to be in sync with petsc (#12250)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/slepc/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/slepc/package.py b/var/spack/repos/builtin/packages/slepc/package.py
index 209d669d1a..ac350b35e8 100644
--- a/var/spack/repos/builtin/packages/slepc/package.py
+++ b/var/spack/repos/builtin/packages/slepc/package.py
@@ -37,7 +37,9 @@ class Slepc(Package):
variant('blopex', default=False, description='Enables BLOPEX wrappers')
# NOTE: make sure PETSc and SLEPc use the same python.
- 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:')
+
# Cannot mix release and development versions of SLEPc and PETSc:
depends_on('petsc@develop', when='@develop')
depends_on('petsc@3.11:3.11.99', when='@3.11:3.11.99')