diff --git a/var/spack/repos/builtin/packages/py-questionary/package.py b/var/spack/repos/builtin/packages/py-questionary/package.py index 49998166bc7..10c7530e8e4 100644 --- a/var/spack/repos/builtin/packages/py-questionary/package.py +++ b/var/spack/repos/builtin/packages/py-questionary/package.py @@ -13,10 +13,15 @@ class PyQuestionary(PythonPackage): homepage = "https://github.com/tmbo/questionary" pypi = "questionary/questionary-1.9.0.tar.gz" + maintainers("mathomp4") + license("MIT") + version("2.1.0", sha256="6302cdd645b19667d8f6e6634774e9538bfcd1aad9be287e743d96cacaf95587") version("1.9.0", sha256="a050fdbb81406cddca679a6f492c6272da90cb09988963817828f697cf091c55") - depends_on("python@3.6:3.9", type=("build", "run")) + depends_on("python@3.8:", type=("build", "run"), when="@2.1.0") + depends_on("python@3.6:3.9", type=("build", "run"), when="@1.9.0") + depends_on("py-poetry@1.0.5:", type="build") depends_on("py-prompt-toolkit@2.0:3", type=("build", "run"))