From 9d68fb7d81820b62da73defa2842cb6eba65765a Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Thu, 24 Jul 2025 11:48:36 -0700 Subject: [PATCH] python3Packages.langchain: 0.3.26 -> 0.3.27 https://github.com/langchain-ai/langchain/releases/tag/langchain%3D%3D0.3.27 https://github.com/langchain-ai/langchain/compare/langchain%3D%3D0.3.26...langchain%3D%3D0.3.27 --- pkgs/development/python-modules/langchain/default.nix | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/langchain/default.nix b/pkgs/development/python-modules/langchain/default.nix index ac73d2b7f764..39b81c33af58 100644 --- a/pkgs/development/python-modules/langchain/default.nix +++ b/pkgs/development/python-modules/langchain/default.nix @@ -44,14 +44,14 @@ buildPythonPackage rec { pname = "langchain"; - version = "0.3.26"; + version = "0.3.27"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; tag = "langchain==${version}"; - hash = "sha256-xxkayOtC2GtgtF3tPkTGKOS9VQ/y2gRPopvKq48/Kq0="; + hash = "sha256-bqzJ0017Td65rhDCr2wfx+SCaJzPZTFzQpzy3RlaRj4="; }; sourceRoot = "${src.name}/libs/langchain"; @@ -146,13 +146,6 @@ buildPythonPackage rec { "tests/unit_tests/output_parsers/test_retry.py" # pydantic.errors.PydanticUserError: `LLMSummarizationCheckerChain` is not fully defined; you should define `BaseCache`, then call `LLMSummarizationCheckerChain.model_rebuild()`. "tests/unit_tests/chains/test_llm_summarization_checker.py" - - # TODO Remove on next update - # NotImplemented Error / AssertionError re: _HashedDocument - # HashedDocument was removed as a public entry in langchain-core > 0.3.66 - # and langchain is still using the old code. (Will be fixed on next update) - "tests/unit_tests/indexes/test_hashed_document.py" - "tests/unit_tests/indexes/test_indexing.py" ]; pythonImportsCheck = [ "langchain" ];