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