summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-pydantic/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pydantic/package.py b/var/spack/repos/builtin/packages/py-pydantic/package.py
index 3e6df65743..957ed6cf64 100644
--- a/var/spack/repos/builtin/packages/py-pydantic/package.py
+++ b/var/spack/repos/builtin/packages/py-pydantic/package.py
@@ -12,10 +12,13 @@ class PyPydantic(PythonPackage):
homepage = "https://github.com/samuelcolvin/pydantic"
pypi = "pydantic/pydantic-1.8.2.tar.gz"
+ version("1.10.2", sha256="91b8e218852ef6007c2b98cd861601c6a09f1aa32bbbb74fab5b1c33d4a1e410")
version("1.9.2", sha256="8cb0bc509bfb71305d7a59d00163d5f9fc4530f0881ea32c74ff4f74c85f3d3d")
version("1.8.2", sha256="26464e57ccaafe72b7ad156fdaa4e9b9ef051f69e175dbbb463283000c05ab7b")
+ depends_on("python@3.7:", when="@1.10.2:", type=("build", "run"))
depends_on("python@3.6.1:", type=("build", "run"))
depends_on("py-setuptools", type="build")
depends_on("py-dataclasses@0.6:", when="^python@:3.6", type=("build", "run"))
+ depends_on("py-typing-extensions@4.1.0:", when="@1.10.2:", type=("build", "run"))
depends_on("py-typing-extensions@3.7.4.3:", type=("build", "run"))