python312Packages.langgraph-{sdk,checkpoint,checkpoint-postgres,checkpoint-sqlite} Sept. 6 2024 update (#340224)

This commit is contained in:
Pol Dellaiera 2024-09-09 04:45:34 +02:00 committed by GitHub
commit bc213afb3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 20 additions and 5 deletions

View File

@ -5,6 +5,7 @@
langgraph-checkpoint,
orjson,
psycopg,
psycopg-pool,
langgraph-sdk,
poetry-core,
pythonOlder,
@ -12,11 +13,12 @@
postgresqlTestHook,
pytestCheckHook,
pytest-asyncio,
stdenvNoCC,
}:
buildPythonPackage rec {
pname = "langgraph-checkpoint-postgres";
version = "1.0.3";
version = "1.0.6";
pyproject = true;
disabled = pythonOlder "3.10";
@ -25,7 +27,7 @@ buildPythonPackage rec {
owner = "langchain-ai";
repo = "langgraph";
rev = "refs/tags/checkpointpostgres==${version}";
hash = "sha256-U7Bymo+Nj82kwjxN33W2MT10jv+lioZUxIKUt8Yxh/s=";
hash = "sha256-F9sgZQQBFs5hDUsaR5BI9ERve9L8LTUvEKOgyz5ioqY=";
};
postgresqlTestSetupPost = ''
@ -41,8 +43,13 @@ buildPythonPackage rec {
langgraph-checkpoint
orjson
psycopg
psycopg-pool
];
pythonRelaxDeps = [ "psycopg-pool" ];
doCheck = !(stdenvNoCC.isDarwin);
pythonImportsCheck = [ "langgraph.checkpoint.postgres" ];
nativeCheckInputs = [

View File

@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "langgraph-checkpoint-sqlite";
version = "1.0.0";
version = "1.0.2";
pyproject = true;
disabled = pythonOlder "3.9";

View File

@ -4,6 +4,7 @@
dataclasses-json,
fetchFromGitHub,
langchain-core,
langgraph-sdk,
poetry-core,
pytest-asyncio,
pytestCheckHook,
@ -12,7 +13,7 @@
buildPythonPackage rec {
pname = "langgraph-checkpoint";
version = "1.0.3";
version = "1.0.9";
pyproject = true;
disabled = pythonOlder "3.9";
@ -21,7 +22,7 @@ buildPythonPackage rec {
owner = "langchain-ai";
repo = "langgraph";
rev = "refs/tags/checkpoint==${version}";
hash = "sha256-5JP9f2uHNo71btQ96sBPlS7JPqo35C3VEMeHN1cJSro=";
hash = "sha256-3gm+L67pPAKpY1kqnX1lPnca40KoBVZdRZ1Cy6D0dzU=";
};
sourceRoot = "${src.name}/libs/checkpoint";
@ -38,6 +39,10 @@ buildPythonPackage rec {
pytestCheckHook
];
passthru = {
updateScript = langgraph-sdk.updateScript;
};
meta = {
changelog = "https://github.com/langchain-ai/langgraph/releases/tag/checkpoint==${version}";
description = "Library with base interfaces for LangGraph checkpoint savers";

View File

@ -48,6 +48,9 @@ buildPythonPackage rec {
set -eu -o pipefail
nix-update --commit --version-regex '(.*)' python3Packages.langgraph
nix-update --commit --version-regex 'sdk==(.*)' python3Packages.langgraph-sdk
nix-update --commit --version-regex 'checkpoint==(.*)' python3Packages.langgraph-checkpoint
nix-update --commit --version-regex 'checkpointpostgres==(.*)' python3Packages.langgraph-checkpoint-postgres
nix-update --commit --version-regex 'checkpointsqlite==(.*)' python3Packages.langgraph-checkpoint-sqlite
'';
};