diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2023-02-03 19:00:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-03 19:00:23 +0100 |
commit | 509a8ea5e29528e0bdee83b38d62d9370989c211 (patch) | |
tree | d1068ffd4c85f943ff3a497434acf6959d41cc3a | |
parent | ca202ba11e14fbffbac2411b413d461cce47282b (diff) | |
download | spack-509a8ea5e29528e0bdee83b38d62d9370989c211.tar.gz spack-509a8ea5e29528e0bdee83b38d62d9370989c211.tar.bz2 spack-509a8ea5e29528e0bdee83b38d62d9370989c211.tar.xz spack-509a8ea5e29528e0bdee83b38d62d9370989c211.zip |
py-packaging: add constrain on python version (#35325)
-rw-r--r-- | var/spack/repos/builtin/packages/py-packaging/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-packaging/package.py b/var/spack/repos/builtin/packages/py-packaging/package.py index 5bfe28084b..dcd8ca40bb 100644 --- a/var/spack/repos/builtin/packages/py-packaging/package.py +++ b/var/spack/repos/builtin/packages/py-packaging/package.py @@ -24,6 +24,9 @@ class PyPackaging(PythonPackage): depends_on("py-flit-core@3.3:", when="@22:", type="build") + # Needed to bootstrap Spack correctly on Python 3.6 (rhel8 platform-python) + depends_on("python@3.7:", when="@22:", type=("build", "run")) + # Historical dependencies depends_on("py-setuptools@40.8.0:", when="@20.8:21", type="build") depends_on("py-setuptools", when="@:20.7", type="build") |