summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2021-11-19 17:18:21 +0100
committerGitHub <noreply@github.com>2021-11-19 10:18:21 -0600
commit3fcc6c669fa5683d3f7d93e3680de4181bb15954 (patch)
treeba4616c80564fb1b723e47c0d9c46a774a990d30
parent33b380937ac459ed7ad18a9c460aef166c898280 (diff)
downloadspack-3fcc6c669fa5683d3f7d93e3680de4181bb15954.tar.gz
spack-3fcc6c669fa5683d3f7d93e3680de4181bb15954.tar.bz2
spack-3fcc6c669fa5683d3f7d93e3680de4181bb15954.tar.xz
spack-3fcc6c669fa5683d3f7d93e3680de4181bb15954.zip
Spack requires Python 2.7: from 0.18.0: (#27505)
* Spack requires Python 2.7: from 0.18.0: * Better bounds
-rw-r--r--var/spack/repos/builtin/packages/spack/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/spack/package.py b/var/spack/repos/builtin/packages/spack/package.py
index fa7e858d67..2abe10af61 100644
--- a/var/spack/repos/builtin/packages/spack/package.py
+++ b/var/spack/repos/builtin/packages/spack/package.py
@@ -30,7 +30,8 @@ class Spack(Package):
variant('development_tools', default=True, description='Build development dependencies')
# Python (with spack python -i ipython support)
- depends_on('python', type='run')
+ depends_on('python@2.6.0:2.7,3.5:', type='run')
+ depends_on('python@2.7.0:2.7,3.5:', type='run', when='@0.18.0:')
depends_on('py-ipython', type='run')
# Concretizer