From 5eba8fa86acf45c7c7791c9c74c246541433a7fd Mon Sep 17 00:00:00 2001 From: natsukium Date: Fri, 24 May 2024 01:32:54 +0000 Subject: [PATCH] python3Packages.langchain: 0.1.52 -> 0.2.1 Diff: https://github.com/langchain-ai/langchain/compare/refs/tags/langchain==0.1.52...langchain==0.2.1 Changelog: https://github.com/langchain-ai/langchain/releases/tag/v0.2.1 --- .../development/python-modules/langchain/default.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/langchain/default.nix b/pkgs/development/python-modules/langchain/default.nix index 7b085b2cde6f..94dad83b0f31 100644 --- a/pkgs/development/python-modules/langchain/default.nix +++ b/pkgs/development/python-modules/langchain/default.nix @@ -10,13 +10,10 @@ chardet, clarifai, cohere, - dataclasses-json, esprima, fetchFromGitHub, freezegun, huggingface-hub, - jsonpatch, - langchain-community, langchain-core, langchain-text-splitters, langsmith, @@ -51,7 +48,7 @@ buildPythonPackage rec { pname = "langchain"; - version = "0.1.52"; + version = "0.2.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -59,8 +56,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; - rev = "refs/tags/langchain-core==${version}"; - hash = "sha256-H8rtysRIwyuJEUFI93vid3MsqReyRCER88xztsuYpOc="; + rev = "refs/tags/langchain==${version}"; + hash = "sha256-cLJhdeft9XNLk5njSBaEBSuP31c2VFCJ1ET+ypo6mNY="; }; sourceRoot = "${src.name}/libs/langchain"; @@ -71,9 +68,6 @@ buildPythonPackage rec { dependencies = [ aiohttp - dataclasses-json - jsonpatch - langchain-community langchain-core langchain-text-splitters langsmith