python311Packages.langchain 0 -> 1 attrpath: python311Packages.langchain Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/d8ygnh984hdplys7bb7rwcfr192dsjr8-packages.json.drv building '/nix/store/d8ygnh984hdplys7bb7rwcfr192dsjr8-packages.json.drv'... Going to be running update for following packages: - python3.11-langchain-0.1.14 Press Enter key to continue... Running update for: - python3.11-langchain-0.1.14: UPDATING ... - python3.11-langchain-0.1.14: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/langchain/default.nix b/pkgs/development/python-modules/langchain/default.nix index 3b8cc793697d..cd629d56f3da 100644 --- a/pkgs/development/python-modules/langchain/default.nix +++ b/pkgs/development/python-modules/langchain/default.nix @@ -51,7 +51,7 @@ buildPythonPackage rec { pname = "langchain"; - version = "0.1.14"; + version = "0.1.15"; pyproject = true; disabled = pythonOlder "3.8"; @@ -60,7 +60,7 @@ buildPythonPackage rec { owner = "langchain-ai"; repo = "langchain"; rev = "refs/tags/v${version}"; - hash = "sha256-wV6QFeJ/kV0nDVlA2qsJ9p1n3Yxy8Q/NZ1IX8cFtzcg="; + hash = "sha256-SjuIt3pyFOqBlWObs/sHeWvwKs1wkZsowKd74HXLiAo="; }; sourceRoot = "${src.name}/libs/langchain"; No auto update branch exists Old version 0.1.14" not present in master derivation file with contents: { lib, aiohttp, async-timeout, azure-core, azure-cosmos, azure-identity, bash, buildPythonPackage, chardet, clarifai, cohere, dataclasses-json, esprima, fetchFromGitHub, freezegun, huggingface-hub, jsonpatch, langchain-community, langchain-core, langchain-text-splitters, langsmith, lark, manifest-ml, nlpcloud, numpy, openai, pandas, poetry-core, pydantic, pytest-asyncio, pytest-mock, pytest-socket, pytestCheckHook, pythonOlder, pyyaml, qdrant-client, requests-mock, requests, responses, sentence-transformers, sqlalchemy, syrupy, tenacity, tiktoken, toml, torch, transformers, typer, }: buildPythonPackage rec { pname = "langchain"; version = "0.1.15"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; rev = "refs/tags/v${version}"; hash = "sha256-SjuIt3pyFOqBlWObs/sHeWvwKs1wkZsowKd74HXLiAo="; }; sourceRoot = "${src.name}/libs/langchain"; build-system = [ poetry-core ]; buildInputs = [ bash ]; dependencies = [ aiohttp dataclasses-json jsonpatch langchain-community langchain-core langchain-text-splitters langsmith numpy pydantic pyyaml requests sqlalchemy tenacity ] ++ lib.optionals (pythonOlder "3.11") [ async-timeout ]; passthru.optional-dependencies = { llms = [ clarifai cohere openai # openlm nlpcloud huggingface-hub manifest-ml torch transformers ]; qdrant = [ qdrant-client ]; openai = [ openai tiktoken ]; text_helpers = [ chardet ]; clarifai = [ clarifai ]; cohere = [ cohere ]; docarray = [ # docarray ]; embeddings = [ sentence-transformers ]; javascript = [ esprima ]; azure = [ azure-identity azure-cosmos openai azure-core # azure-ai-formrecognizer # azure-ai-vision # azure-cognitiveservices-speech # azure-search-documents # azure-ai-textanalytics ]; all = [ ]; cli = [ typer ]; }; nativeCheckInputs = [ freezegun lark pandas pytest-asyncio pytest-mock pytest-socket pytestCheckHook requests-mock responses syrupy toml ]; pytestFlagsArray = [ # integration_tests require network access, database access and require `OPENAI_API_KEY`, etc. "tests/unit_tests" "--only-core" ]; disabledTests = [ # These tests have database access "test_table_info" "test_sql_database_run" # These tests have network access "test_socket_disabled" "test_openai_agent_with_streaming" "test_openai_agent_tools_agent" # This test may require a specific version of langchain-community "test_compatible_vectorstore_documentation" # AssertionErrors "test_callback_handlers" "test_generic_fake_chat_model" ]; pythonImportsCheck = [ "langchain" ]; meta = with lib; { 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 ]; mainProgram = "langchain-server"; }; }