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:")