From 8963ddcbfdb0ed11d910134d5ac28e7dea97a0b2 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 10 Jun 2024 15:58:00 +0200 Subject: [PATCH] python311Packages.langchain-core: 0.2.1 -> 0.2.5 Diff: https://github.com/langchain-ai/langchain/compare/langchain-core==0.2.1...langchain-core==0.2.5 Changelog: https://github.com/langchain-ai/langchain/releases/tag/v0.2.5 --- .../python-modules/langchain-core/default.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/langchain-core/default.nix b/pkgs/development/python-modules/langchain-core/default.nix index cf919d3404da..49521e7cfa65 100644 --- a/pkgs/development/python-modules/langchain-core/default.nix +++ b/pkgs/development/python-modules/langchain-core/default.nix @@ -24,7 +24,7 @@ buildPythonPackage rec { pname = "langchain-core"; - version = "0.2.1"; + version = "0.2.5"; pyproject = true; disabled = pythonOlder "3.8"; @@ -33,7 +33,7 @@ buildPythonPackage rec { owner = "langchain-ai"; repo = "langchain"; rev = "langchain-core==${version}"; - hash = "sha256-D0y6kW5bWcCKW2TwVPlZcAUxqADgsOm9fWySAjHYYIg="; + hash = "sha256-EBs6BHxBPBR1TfSyesM2gJJtxgClM6lLXko1qisrz7A="; }; sourceRoot = "${src.name}/libs/core"; @@ -71,6 +71,11 @@ buildPythonPackage rec { pytestFlagsArray = [ "tests/unit_tests" ]; + disabledTests = [ + "test_config_traceable_handoff" + "test_config_traceable_async_handoff" + ]; + passthru = { updateScript = writeScript "update.sh" '' #!/usr/bin/env nix-shell @@ -84,11 +89,11 @@ buildPythonPackage rec { ''; }; - meta = with lib; { + meta = { description = "Building applications with LLMs through composability"; homepage = "https://github.com/langchain-ai/langchain/tree/master/libs/core"; changelog = "https://github.com/langchain-ai/langchain/releases/tag/v${version}"; - license = licenses.mit; - maintainers = with maintainers; [ natsukium ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ natsukium ]; }; }