diff --git a/var/spack/repos/builtin/packages/py-langsmith/package.py b/var/spack/repos/builtin/packages/py-langsmith/package.py index c2f759c9a00..4c08c78aba0 100644 --- a/var/spack/repos/builtin/packages/py-langsmith/package.py +++ b/var/spack/repos/builtin/packages/py-langsmith/package.py @@ -13,6 +13,7 @@ class PyLangsmith(PythonPackage): license("MIT") + version("0.1.81", sha256="585ef3a2251380bd2843a664c9a28da4a7d28432e3ee8bcebf291ffb8e1f0af0") version( "0.1.1", sha256="09df0c2ca9085105f97a4e4f281b083e312c99d162f3fe2b2d5eefd5c3692e60", @@ -24,5 +25,7 @@ class PyLangsmith(PythonPackage): depends_on("python@3.8.1:3", type=("build", "run")) depends_on("py-poetry-core", type="build") - depends_on("py-pydantic@1", type=("build", "run")) + depends_on("py-pydantic@1", type=("build", "run"), when="@:0.1.1") + depends_on("py-pydantic@1:2", type=("build", "run"), when="@0.1.81:") depends_on("py-requests@2", type=("build", "run")) + depends_on("py-orjson@3.9.14:3", type=("build", "run"), when="@0.1.81:")