summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjgraciahlrs <gracia@hlrs.de>2024-08-02 10:28:25 +0200
committerGitHub <noreply@github.com>2024-08-02 10:28:25 +0200
commit9ef1d609e20c1938f3a12ee66e405f114417555a (patch)
tree16a204134b1786a6df9a3f1fa7ec451892be7bb1
parent4c60deb9921ff2cbbfa6771f4f63ff812a8a5840 (diff)
downloadspack-9ef1d609e20c1938f3a12ee66e405f114417555a.tar.gz
spack-9ef1d609e20c1938f3a12ee66e405f114417555a.tar.bz2
spack-9ef1d609e20c1938f3a12ee66e405f114417555a.tar.xz
spack-9ef1d609e20c1938f3a12ee66e405f114417555a.zip
py-markupsafe: add depends_on("python@3.7:", when="@2.0:") (#45503)
As per PyPI, recent versions of py-markupsafe (>=2) require Python >=3.7.
-rw-r--r--var/spack/repos/builtin/packages/py-markupsafe/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-markupsafe/package.py b/var/spack/repos/builtin/packages/py-markupsafe/package.py
index b4f411d18b..59a1099651 100644
--- a/var/spack/repos/builtin/packages/py-markupsafe/package.py
+++ b/var/spack/repos/builtin/packages/py-markupsafe/package.py
@@ -32,3 +32,4 @@ class PyMarkupsafe(PythonPackage):
depends_on("c", type="build") # generated
depends_on("py-setuptools", type="build")
+ depends_on("python@3.7:", when="@2.0:")