From bb1055f4d53065b02b8e952747469ad58ba14cd3 Mon Sep 17 00:00:00 2001 From: natsukium Date: Wed, 22 Jan 2025 03:40:54 +0000 Subject: [PATCH] python3Packages.langchain-core: 0.3.15 -> 0.3.31 Diff: https://github.com/langchain-ai/langchain/compare/refs/tags/langchain-core==0.3.15...langchain-core==0.3.31 Changelog: https://github.com/langchain-ai/langchain/releases/tag/v0.3.31 --- pkgs/development/python-modules/langchain-core/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langchain-core/default.nix b/pkgs/development/python-modules/langchain-core/default.nix index fa5282d2079f..60123efe1b74 100644 --- a/pkgs/development/python-modules/langchain-core/default.nix +++ b/pkgs/development/python-modules/langchain-core/default.nix @@ -13,6 +13,7 @@ packaging, pyyaml, tenacity, + typing-extensions, # optional-dependencies pydantic, @@ -34,14 +35,14 @@ buildPythonPackage rec { pname = "langchain-core"; - version = "0.3.15"; + version = "0.3.31"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; tag = "langchain-core==${version}"; - hash = "sha256-lSXAqjjnihuucTZOSwQJk8gtrtFbUOTHN4J587iLKy0="; + hash = "sha256-u+Za7NtXVP0Mg6K65CuRLx8OrVpBXEe1ayP0uMUNJG4="; }; sourceRoot = "${src.name}/libs/core"; @@ -56,6 +57,7 @@ buildPythonPackage rec { packaging pyyaml tenacity + typing-extensions ]; optional-dependencies = { @@ -135,6 +137,7 @@ buildPythonPackage rec { "test_schemas" # AssertionError: assert [+ received] == [- snapshot] "test_graph_sequence_map" + "test_representation_of_runnables" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Langchain-core the following tests due to the test comparing execution time with magic values.