summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-rich/package.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/py-rich/package.py b/var/spack/repos/builtin/packages/py-rich/package.py
index d84c009cf0..885471f7ab 100644
--- a/var/spack/repos/builtin/packages/py-rich/package.py
+++ b/var/spack/repos/builtin/packages/py-rich/package.py
@@ -14,6 +14,7 @@ class PyRich(PythonPackage):
homepage = "https://github.com/willmcgugan/rich"
pypi = "rich/rich-9.4.0.tar.gz"
+ version("12.5.1", sha256="63a5c5ce3673d3d5fbbf23cd87e11ab84b6b451436f1b7f19ec54b6bc36ed7ca")
version("10.14.0", sha256="8bfe4546d56b4131298d3a9e571a0742de342f1593770bd0d4707299f772a0af")
version("10.9.0", sha256="ba285f1c519519490034284e6a9d2e6e3f16dc7690f2de3d9140737d81304d22")
version("10.0.0", sha256="4674bd3056a72bb282ad581e3f8092dc110cdcc456b5ba76e34965cb85a69724")
@@ -30,13 +31,15 @@ class PyRich(PythonPackage):
version("9.4.0", sha256="bde23a1761373fed2802502ff98292c5d735a5389ed96f4fe1be5fb4c2cde8ea")
depends_on("python@3.6:", type=("build", "run"))
- depends_on("python@3.6.2:3", type=("build", "run"), when="@10.14.0:")
+ depends_on("python@3.6.2:3", when="@10.14.0:", type=("build", "run"))
+ depends_on("python@3.6.3:3", when="@12.5.1:", type=("build", "run"))
depends_on("py-poetry-core@1:", type="build")
+ depends_on("py-typing-extensions@4", when="@12.5.1: ^python@:3.8", type=("build", "run"))
depends_on(
- "py-typing-extensions@3.7.4:4", type=("build", "run"), when="@10.14.0: ^python@:3.7"
+ "py-typing-extensions@3.7.4:4", when="@10.14.0: ^python@:3.7", type=("build", "run")
)
- depends_on("py-typing-extensions@3.7.4:3", type=("build", "run"), when="@:10.13.0")
+ depends_on("py-typing-extensions@3.7.4:3", when="@:10.13.0", type=("build", "run"))
depends_on("py-dataclasses@0.7:0.8", when="^python@:3.6", type=("build", "run"))
depends_on("py-pygments@2.6:2", type=("build", "run"))
depends_on("py-commonmark@0.9.0:0.9", type=("build", "run"))
- depends_on("py-colorama@0.4.0:0.4", type=("build", "run"))
+ depends_on("py-colorama@0.4.0:0.4", type=("build", "run"), when="@:10.14.0")