From cbc08a76cb42d0ebe21023e44eae624cc229c14d Mon Sep 17 00:00:00 2001 From: Jose Gracia Date: Fri, 12 Jul 2024 10:20:15 -0500 Subject: [PATCH] py-markupsafe: Recent version require Python >=3.7 --- var/spack/repos/builtin/packages/py-markupsafe/package.py | 1 + 1 file changed, 1 insertion(+) diff --git a/var/spack/repos/builtin/packages/py-markupsafe/package.py b/var/spack/repos/builtin/packages/py-markupsafe/package.py index 1dee1e7b4c..9c8774e177 100644 --- a/var/spack/repos/builtin/packages/py-markupsafe/package.py +++ b/var/spack/repos/builtin/packages/py-markupsafe/package.py @@ -30,3 +30,4 @@ class PyMarkupsafe(PythonPackage): version("0.19", sha256="62fcc5d641df8b5ad271ebbd6b77a19cd92eceba1e1a990de4e96c867789f037") depends_on("py-setuptools", type="build") + depends_on("python@3.7:", when="@2.0:")