py-click: fix Python 3.6 support (#40535)
This commit is contained in:
parent
76bac6d4bf
commit
2015d3d2bc
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,8 @@ class PyClick(PythonPackage):
|
|||
)
|
||||
version("6.6", sha256="cc6a19da8ebff6e7074f731447ef7e112bd23adf3de5c597cf9989f2fd8defe9")
|
||||
|
||||
# Needed to ensure that Spack can bootstrap black with Python 3.6
|
||||
depends_on("python@3.7:", when="@8.1:", type=("build", "run"))
|
||||
depends_on("py-setuptools", type="build")
|
||||
|
||||
depends_on("py-importlib-metadata", when="@8: ^python@:3.7", type=("build", "run"))
|
||||
|
|
Loading…
Reference in a new issue