From 6de18dbe0fa66538e8596e0550fd0b085e48bc4f Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 10 Jun 2024 14:57:13 +0200 Subject: [PATCH 1/4] python311Packages.langchain-community: 0.2.1 -> 0.2.4 Diff: https://github.com/langchain-ai/langchain/compare/langchain-community==0.2.1...langchain-community==0.2.4 Changelog: https://github.com/langchain-ai/langchain/releases/tag/v0.2.4 --- .../python-modules/langchain-community/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/langchain-community/default.nix b/pkgs/development/python-modules/langchain-community/default.nix index 684591f833eb..7346d6fbbf32 100644 --- a/pkgs/development/python-modules/langchain-community/default.nix +++ b/pkgs/development/python-modules/langchain-community/default.nix @@ -29,7 +29,7 @@ buildPythonPackage rec { pname = "langchain-community"; - version = "0.2.1"; + version = "0.2.4"; pyproject = true; disabled = pythonOlder "3.8"; @@ -38,7 +38,7 @@ buildPythonPackage rec { owner = "langchain-ai"; repo = "langchain"; rev = "langchain-community==${version}"; - hash = "sha256-h8ZJiQYmyvzaRrEVNS7SamJTq4zY7J1IgYdQiVBFh4I="; + hash = "sha256-rqlYaSfDZIQHCndsnydeR1oeVZNIOH6NAgXeOSdBF5A="; }; sourceRoot = "${src.name}/libs/community"; @@ -83,11 +83,13 @@ buildPythonPackage rec { updateScript = langchain-core.updateScript; }; - meta = with lib; { + __darwinAllowLocalNetworking = true; + + meta = { description = "Community contributed LangChain integrations"; homepage = "https://github.com/langchain-ai/langchain/tree/master/libs/community"; 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 ]; }; } From 8a4e3469e6b842a30861f73baa11d96a82a2ca84 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 10 Jun 2024 15:53:40 +0200 Subject: [PATCH 2/4] python311Packages.langchain: 0.2.1 -> 0.2.3 Diff: https://github.com/langchain-ai/langchain/compare/refs/tags/langchain==0.2.1...0.2.3 Changelog: https://github.com/langchain-ai/langchain/releases/tag/v0.2.3 --- pkgs/development/python-modules/langchain/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/langchain/default.nix b/pkgs/development/python-modules/langchain/default.nix index 94dad83b0f31..5b50f1fffe6b 100644 --- a/pkgs/development/python-modules/langchain/default.nix +++ b/pkgs/development/python-modules/langchain/default.nix @@ -48,7 +48,7 @@ buildPythonPackage rec { pname = "langchain"; - version = "0.2.1"; + version = "0.2.3"; pyproject = true; disabled = pythonOlder "3.8"; @@ -57,7 +57,7 @@ buildPythonPackage rec { owner = "langchain-ai"; repo = "langchain"; rev = "refs/tags/langchain==${version}"; - hash = "sha256-cLJhdeft9XNLk5njSBaEBSuP31c2VFCJ1ET+ypo6mNY="; + hash = "sha256-9WrWQuZxtl/eBEDdgKCUqT7fYBl6gSsW9rB8tTBqMso="; }; sourceRoot = "${src.name}/libs/langchain"; @@ -164,12 +164,12 @@ buildPythonPackage rec { updateScript = langchain-core.updateScript; }; - meta = with lib; { + meta = { description = "Building applications with LLMs through composability"; homepage = "https://github.com/langchain-ai/langchain"; 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 ]; mainProgram = "langchain-server"; }; } From 8963ddcbfdb0ed11d910134d5ac28e7dea97a0b2 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 10 Jun 2024 15:58:00 +0200 Subject: [PATCH 3/4] 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 ]; }; } From b016219a3e0c9d4deeca2660d588c4b4c4b4d0da Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 10 Jun 2024 15:59:51 +0200 Subject: [PATCH 4/4] python311Packages.langchain-text-splitters: 0.2.0 -> 0.2.1 Diff: https://github.com/langchain-ai/langchain/compare/refs/tags/langchain-text-splitters==0.2.0...0.2.1 Changelog: https://github.com/langchain-ai/langchain/releases/tag/refs/tags/langchain-text-splitters==0.2.1 --- .../langchain-text-splitters/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/langchain-text-splitters/default.nix b/pkgs/development/python-modules/langchain-text-splitters/default.nix index 73a1e722019a..d24c177a0712 100644 --- a/pkgs/development/python-modules/langchain-text-splitters/default.nix +++ b/pkgs/development/python-modules/langchain-text-splitters/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "langchain-text-splitters"; - version = "0.2.0"; + version = "0.2.1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "langchain-ai"; repo = "langchain"; rev = "refs/tags/langchain-text-splitters==${version}"; - hash = "sha256-QrgZ0j/YdOgEgLeQNSKjOIwqdr/Izuw9Gh6eKQ/00tQ="; + hash = "sha256-5le+P+7iGjrTetnTHiJilqtc7G7kJbZnEsUgFyF2aQ8="; }; sourceRoot = "${src.name}/libs/text-splitters"; @@ -42,11 +42,11 @@ buildPythonPackage rec { inherit (langchain-core) updateScript; }; - meta = with lib; { + meta = { description = "Build context-aware reasoning applications"; homepage = "https://github.com/langchain-ai/langchain/tree/master/libs/text-splitters"; changelog = "https://github.com/langchain-ai/langchain/releases/tag/${src.rev}"; - license = licenses.mit; - maintainers = with maintainers; [ fab ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ fab ]; }; }