python3Packages.langgraph*: Ecosystem update 20250207 (#378968)

authored by Pol Dellaiera and committed by GitHub 6c5e3fdb 2ffa0d97

+40 -48
+4 -8
pkgs/development/python-modules/langgraph-checkpoint-duckdb/default.nix
··· 9 9 pytestCheckHook, 10 10 langgraph-sdk, 11 11 poetry-core, 12 - pythonOlder, 13 12 }: 14 13 15 14 buildPythonPackage rec { 16 15 pname = "langgraph-checkpoint-duckdb"; 17 - version = "2.0.1"; 16 + version = "2.0.2"; 18 17 pyproject = true; 19 18 20 - disabled = pythonOlder "3.9"; 21 - 22 19 src = fetchFromGitHub { 23 20 owner = "langchain-ai"; 24 21 repo = "langgraph"; 25 22 tag = "checkpointduckdb==${version}"; 26 - hash = "sha256-wSrlFBfTcTgyE46uwv9GCyxRT1xVafgWyP2g87KUTAU="; 23 + hash = "sha256-ppgViNRkkCTOGPfdB04DOnEzFgHN1KGDLLVjuwhRgNE="; 27 24 }; 28 25 29 26 sourceRoot = "${src.name}/libs/checkpoint-duckdb"; ··· 49 46 disabledTests = [ "test_basic_store_ops" ]; # depends on networking 50 47 51 48 passthru = { 52 - updateScript = langgraph-sdk.updateScript; 49 + inherit (langgraph-sdk) updateScript; 53 50 54 - # multiple tags confuse the bulk updater 55 - skipBulkUpdate = true; 51 + skipBulkUpdate = true; # Broken, see https://github.com/NixOS/nixpkgs/issues/379898 56 52 }; 57 53 58 54 meta = {
+4 -9
pkgs/development/python-modules/langgraph-checkpoint-sqlite/default.nix
··· 8 8 pytestCheckHook, 9 9 langgraph-sdk, 10 10 poetry-core, 11 - pythonOlder, 12 11 }: 13 12 14 13 buildPythonPackage rec { 15 14 pname = "langgraph-checkpoint-sqlite"; 16 - version = "2.0.1"; 15 + version = "2.0.3"; 17 16 pyproject = true; 18 17 19 - disabled = pythonOlder "3.9"; 20 - 21 18 src = fetchFromGitHub { 22 19 owner = "langchain-ai"; 23 20 repo = "langgraph"; 24 21 tag = "checkpointsqlite==${version}"; 25 - hash = "sha256-dh+cjcOp6rGFntz82VNfVyetcrQBdBFdXk5xFb0aR5c="; 22 + hash = "sha256-u3tKh63bOu+Ko2YynEfxQ/nGElEfwwTQ6Z1RhqF51Qs="; 26 23 }; 27 24 28 25 sourceRoot = "${src.name}/libs/checkpoint-sqlite"; ··· 45 42 ]; 46 43 47 44 passthru = { 48 - updateScript = langgraph-sdk.updateScript; 49 - 50 - # multiple tags confuse the bulk updater 51 - skipBulkUpdate = true; 45 + inherit (langgraph-sdk) updateScript; 46 + skipBulkUpdate = true; # Broken, see https://github.com/NixOS/nixpkgs/issues/379898 52 47 }; 53 48 54 49 meta = {
+3 -8
pkgs/development/python-modules/langgraph-checkpoint/default.nix
··· 10 10 pytest-asyncio, 11 11 pytest-mock, 12 12 pytestCheckHook, 13 - pythonOlder, 14 13 }: 15 14 16 15 buildPythonPackage rec { 17 16 pname = "langgraph-checkpoint"; 18 - version = "2.0.8"; 17 + version = "2.0.10"; 19 18 pyproject = true; 20 19 21 - disabled = pythonOlder "3.9"; 22 - 23 20 src = fetchFromGitHub { 24 21 owner = "langchain-ai"; 25 22 repo = "langgraph"; 26 23 tag = "checkpoint==${version}"; 27 - hash = "sha256-obDK6wn+oo8zDQsidogwKTIgT5wuUH/l4y+12cttkd0="; 24 + hash = "sha256-Bs8XWSyI/6a756iWXT40vvNIe/XZ/vnMsZbXjTW3770="; 28 25 }; 29 26 30 27 sourceRoot = "${src.name}/libs/checkpoint"; ··· 53 50 54 51 passthru = { 55 52 updateScript = langgraph-sdk.updateScript; 56 - 57 - # multiple tags confuse the bulk updater 58 - skipBulkUpdate = true; 53 + skipBulkUpdate = true; # Broken, see https://github.com/NixOS/nixpkgs/issues/379898 59 54 }; 60 55 61 56 meta = {
+15 -11
pkgs/development/python-modules/langgraph-cli/default.nix
··· 3 3 buildPythonPackage, 4 4 click, 5 5 fetchFromGitHub, 6 - nix-update-script, 7 6 poetry-core, 7 + 8 + # for update script 9 + langgraph-sdk, 10 + 11 + # testing 8 12 pytest-asyncio, 9 13 pytestCheckHook, 14 + docker-compose, 15 + 10 16 pythonOlder, 11 17 }: 12 18 13 19 buildPythonPackage rec { 14 20 pname = "langgraph-cli"; 15 - version = "0.1.52"; 21 + version = "0.1.71"; 16 22 pyproject = true; 17 23 18 24 disabled = pythonOlder "3.10"; ··· 21 27 owner = "langchain-ai"; 22 28 repo = "langgraph"; 23 29 tag = "cli==${version}"; 24 - hash = "sha256-zTBeDJB1Xu/rWsvEC/L4BRzxyh04lPYV7HQNHoJcskk="; 30 + hash = "sha256-bTW+je4wuoR0YX5T1wdAee4w/T2jMTQybLLpCxouJxA="; 25 31 }; 26 32 27 33 sourceRoot = "${src.name}/libs/cli"; ··· 33 39 nativeCheckInputs = [ 34 40 pytest-asyncio 35 41 pytestCheckHook 42 + docker-compose 36 43 ]; 37 44 38 45 pytestFlagsArray = [ "tests/unit_tests" ]; ··· 48 55 "test_config_to_compose_end_to_end" 49 56 "test_config_to_compose_simple_config" 50 57 "test_config_to_compose_watch" 58 + # Tests exit value, needs to happen in a passthru test 59 + "test_dockerfile_command_with_docker_compose" 51 60 ]; 52 61 53 - passthru.updateScript = nix-update-script { 54 - extraArgs = [ 55 - "--version-regex" 56 - "cli==(.*)" 57 - ]; 62 + passthru = { 63 + inherit (langgraph-sdk) updateScript; 64 + skipBulkUpdate = true; # Broken, see https://github.com/NixOS/nixpkgs/issues/379898 58 65 }; 59 - 60 - # multiple tags confuse the bulk updater 61 - passthru.skipBulkUpdate = true; 62 66 63 67 meta = { 64 68 description = "Official CLI for LangGraph API";
+5 -5
pkgs/development/python-modules/langgraph-sdk/default.nix
··· 10 10 httpx, 11 11 httpx-sse, 12 12 orjson, 13 + typing-extensions, 13 14 14 15 # passthru 15 16 writeScript, ··· 17 18 18 19 buildPythonPackage rec { 19 20 pname = "langgraph-sdk"; 20 - version = "0.1.43"; 21 + version = "0.1.51"; 21 22 pyproject = true; 22 23 23 24 src = fetchFromGitHub { 24 25 owner = "langchain-ai"; 25 26 repo = "langgraph"; 26 27 tag = "sdk==${version}"; 27 - hash = "sha256-mG04V36Aa5Df5pUgr+xWej8i2XYx+O/N61sSzxwN9Go="; 28 + hash = "sha256-BkwH9O59gG/OtnFWYEFe2WD0sIidptlkPACX9i7kCb8="; 28 29 }; 29 30 30 31 sourceRoot = "${src.name}/libs/sdk-py"; ··· 35 36 httpx 36 37 httpx-sse 37 38 orjson 39 + typing-extensions 38 40 ]; 39 41 40 42 disabledTests = [ "test_aevaluate_results" ]; # Compares execution time to magic number ··· 54 56 nix-update --commit --version-regex 'checkpointpostgres==(.*)' python3Packages.langgraph-checkpoint-postgres 55 57 nix-update --commit --version-regex 'checkpointsqlite==(.*)' python3Packages.langgraph-checkpoint-sqlite 56 58 ''; 57 - 58 - # multiple tags confuse the bulk updater 59 - skipBulkUpdate = true; 59 + skipBulkUpdate = true; # Broken, see https://github.com/NixOS/nixpkgs/issues/379898 60 60 }; 61 61 62 62 meta = {
+9 -7
pkgs/development/python-modules/langgraph/default.nix
··· 35 35 36 36 buildPythonPackage rec { 37 37 pname = "langgraph"; 38 - version = "0.2.56"; 38 + version = "0.2.70"; 39 39 pyproject = true; 40 40 41 41 src = fetchFromGitHub { 42 42 owner = "langchain-ai"; 43 43 repo = "langgraph"; 44 - tag = version; 45 - hash = "sha256-X/IMNEmggu9bSJFUaTohbFYxGZBguf+eFb3ObmQGplk="; 44 + tag = "${version}"; 45 + hash = "sha256-Vz2ZoikEZuMvt3j9tvBIcXCwWSrCV8MI7x9PIHodl8Y="; 46 46 }; 47 47 48 48 postgresqlTestSetupPost = '' ··· 112 112 # psycopg.errors.InsufficientPrivilege: permission denied to create database 113 113 "tests/test_pregel_async.py" 114 114 "tests/test_pregel.py" 115 + "tests/test_large_cases.py" 116 + "tests/test_large_cases_async.py" 115 117 ]; 116 118 117 - passthru.updateScript = langgraph-sdk.updateScript; 118 - 119 - # multiple tags confuse the bulk updater 120 - passthru.skipBulkUpdate = true; 119 + passthru = { 120 + inherit (langgraph-sdk) updateScript; 121 + skipBulkUpdate = true; # Broken, see https://github.com/NixOS/nixpkgs/issues/379898 122 + }; 121 123 122 124 meta = { 123 125 description = "Build resilient language agents as graphs";