diff --git a/pkgs/development/python-modules/langsmith/default.nix b/pkgs/development/python-modules/langsmith/default.nix index 5f3bb399f99a..919e64a3cf44 100644 --- a/pkgs/development/python-modules/langsmith/default.nix +++ b/pkgs/development/python-modules/langsmith/default.nix @@ -3,17 +3,19 @@ , buildPythonPackage , fetchFromGitHub , freezegun +, orjson , poetry-core , pydantic , pytest-asyncio , pytestCheckHook , pythonOlder +, pythonRelaxDepsHook , requests }: buildPythonPackage rec { pname = "langsmith"; - version = "0.1.3"; + version = "0.1.6"; pyproject = true; disabled = pythonOlder "3.8"; @@ -22,16 +24,22 @@ buildPythonPackage rec { owner = "langchain-ai"; repo = "langsmith-sdk"; rev = "refs/tags/v${version}"; - hash = "sha256-apczSNhj39Av5gsIM0QPF9eus3Z4eCv/ztxjHDgG8E0="; + hash = "sha256-IjKlyfYA7HH+fXPsV5lWd8BOXooJFZy0WxkUy2lm4bI="; }; sourceRoot = "${src.name}/python"; + pythonRelaxDeps = [ + "orjson" + ]; + nativeBuildInputs = [ poetry-core + pythonRelaxDepsHook ]; propagatedBuildInputs = [ + orjson pydantic requests ];