Skip to content

Commit ae8c100

Browse files
authored
Revert "python3Packages.langgraph: 0.2.56 -> 2.0.13" (#379998)
2 parents 4f59e81 + 0bd2ff3 commit ae8c100

File tree

6 files changed

+38
-20
lines changed

6 files changed

+38
-20
lines changed

pkgs/development/python-modules/langgraph-checkpoint-postgres/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ buildPythonPackage rec {
8585

8686
passthru = {
8787
updateScript = langgraph-sdk.updateScript;
88+
89+
# multiple tags confuse the bulk updater
90+
skipBulkUpdate = true;
8891
};
8992

9093
meta = {

pkgs/development/python-modules/langgraph-checkpoint-sqlite/default.nix

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313

1414
buildPythonPackage rec {
1515
pname = "langgraph-checkpoint-sqlite";
16-
version = "2.0.13";
16+
version = "2.0.1";
1717
pyproject = true;
1818

1919
disabled = pythonOlder "3.9";
2020

2121
src = fetchFromGitHub {
2222
owner = "langchain-ai";
2323
repo = "langgraph";
24-
tag = "checkpointpostgres==${version}";
25-
hash = "sha256-Vz2ZoikEZuMvt3j9tvBIcXCwWSrCV8MI7x9PIHodl8Y=";
24+
tag = "checkpointsqlite==${version}";
25+
hash = "sha256-dh+cjcOp6rGFntz82VNfVyetcrQBdBFdXk5xFb0aR5c=";
2626
};
2727

2828
sourceRoot = "${src.name}/libs/checkpoint-sqlite";
@@ -46,10 +46,13 @@ buildPythonPackage rec {
4646

4747
passthru = {
4848
updateScript = langgraph-sdk.updateScript;
49+
50+
# multiple tags confuse the bulk updater
51+
skipBulkUpdate = true;
4952
};
5053

5154
meta = {
52-
changelog = "https://github.com/langchain-ai/langgraph/releases/tag/checkpointsqlite==${src.tag}";
55+
changelog = "https://github.com/langchain-ai/langgraph/releases/tag/checkpointsqlite==${version}";
5356
description = "Library with a SQLite implementation of LangGraph checkpoint saver";
5457
homepage = "https://github.com/langchain-ai/langgraph/tree/main/libs/checkpoint-sqlite";
5558
license = lib.licenses.mit;

pkgs/development/python-modules/langgraph-checkpoint/default.nix

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@
1515

1616
buildPythonPackage rec {
1717
pname = "langgraph-checkpoint";
18-
version = "2.0.13";
18+
version = "2.0.8";
1919
pyproject = true;
2020

2121
disabled = pythonOlder "3.9";
2222

2323
src = fetchFromGitHub {
2424
owner = "langchain-ai";
2525
repo = "langgraph";
26-
tag = "checkpointpostgres==${version}";
27-
hash = "sha256-Vz2ZoikEZuMvt3j9tvBIcXCwWSrCV8MI7x9PIHodl8Y=";
26+
tag = "checkpoint==${version}";
27+
hash = "sha256-obDK6wn+oo8zDQsidogwKTIgT5wuUH/l4y+12cttkd0=";
2828
};
2929

3030
sourceRoot = "${src.name}/libs/checkpoint";
@@ -53,10 +53,13 @@ buildPythonPackage rec {
5353

5454
passthru = {
5555
updateScript = langgraph-sdk.updateScript;
56+
57+
# multiple tags confuse the bulk updater
58+
skipBulkUpdate = true;
5659
};
5760

5861
meta = {
59-
changelog = "https://github.com/langchain-ai/langgraph/releases/tag/checkpoint==${src.tag}";
62+
changelog = "https://github.com/langchain-ai/langgraph/releases/tag/checkpoint==${version}";
6063
description = "Library with base interfaces for LangGraph checkpoint savers";
6164
homepage = "https://github.com/langchain-ai/langgraph/tree/main/libs/checkpoint";
6265
license = lib.licenses.mit;

pkgs/development/python-modules/langgraph-cli/default.nix

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@
1212

1313
buildPythonPackage rec {
1414
pname = "langgraph-cli";
15-
version = "2.0.13";
15+
version = "0.1.52";
1616
pyproject = true;
1717

1818
disabled = pythonOlder "3.10";
1919

2020
src = fetchFromGitHub {
2121
owner = "langchain-ai";
2222
repo = "langgraph";
23-
tag = "checkpointpostgres==${version}";
24-
hash = "sha256-Vz2ZoikEZuMvt3j9tvBIcXCwWSrCV8MI7x9PIHodl8Y=";
23+
tag = "cli==${version}";
24+
hash = "sha256-zTBeDJB1Xu/rWsvEC/L4BRzxyh04lPYV7HQNHoJcskk=";
2525
};
2626

2727
sourceRoot = "${src.name}/libs/cli";
@@ -57,10 +57,13 @@ buildPythonPackage rec {
5757
];
5858
};
5959

60+
# multiple tags confuse the bulk updater
61+
passthru.skipBulkUpdate = true;
62+
6063
meta = {
6164
description = "Official CLI for LangGraph API";
6265
homepage = "https://github.com/langchain-ai/langgraph/libs/cli";
63-
changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${src.tag}";
66+
changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${version}";
6467
mainProgram = "langgraph";
6568
license = lib.licenses.mit;
6669
maintainers = with lib.maintainers; [ sarahec ];

pkgs/development/python-modules/langgraph-sdk/default.nix

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717

1818
buildPythonPackage rec {
1919
pname = "langgraph-sdk";
20-
version = "2.0.13";
20+
version = "0.1.43";
2121
pyproject = true;
2222

2323
src = fetchFromGitHub {
2424
owner = "langchain-ai";
2525
repo = "langgraph";
26-
tag = "checkpointpostgres==${version}";
27-
hash = "sha256-Vz2ZoikEZuMvt3j9tvBIcXCwWSrCV8MI7x9PIHodl8Y=";
26+
tag = "sdk==${version}";
27+
hash = "sha256-mG04V36Aa5Df5pUgr+xWej8i2XYx+O/N61sSzxwN9Go=";
2828
};
2929

3030
sourceRoot = "${src.name}/libs/sdk-py";
@@ -54,12 +54,15 @@ buildPythonPackage rec {
5454
nix-update --commit --version-regex 'checkpointpostgres==(.*)' python3Packages.langgraph-checkpoint-postgres
5555
nix-update --commit --version-regex 'checkpointsqlite==(.*)' python3Packages.langgraph-checkpoint-sqlite
5656
'';
57+
58+
# multiple tags confuse the bulk updater
59+
skipBulkUpdate = true;
5760
};
5861

5962
meta = {
6063
description = "SDK for interacting with the LangGraph Cloud REST API";
6164
homepage = "https://github.com/langchain-ai/langgraphtree/main/libs/sdk-py";
62-
changelog = "https://github.com/langchain-ai/langgraph/releases/tag/sdk==${src.tag}";
65+
changelog = "https://github.com/langchain-ai/langgraph/releases/tag/sdk==${version}";
6366
license = lib.licenses.mit;
6467
maintainers = with lib.maintainers; [ sarahec ];
6568
};

pkgs/development/python-modules/langgraph/default.nix

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@
3535

3636
buildPythonPackage rec {
3737
pname = "langgraph";
38-
version = "2.0.13";
38+
version = "0.2.56";
3939
pyproject = true;
4040

4141
src = fetchFromGitHub {
4242
owner = "langchain-ai";
4343
repo = "langgraph";
44-
tag = "checkpointpostgres==${version}";
45-
hash = "sha256-Vz2ZoikEZuMvt3j9tvBIcXCwWSrCV8MI7x9PIHodl8Y=";
44+
tag = version;
45+
hash = "sha256-X/IMNEmggu9bSJFUaTohbFYxGZBguf+eFb3ObmQGplk=";
4646
};
4747

4848
postgresqlTestSetupPost = ''
@@ -116,10 +116,13 @@ buildPythonPackage rec {
116116

117117
passthru.updateScript = langgraph-sdk.updateScript;
118118

119+
# multiple tags confuse the bulk updater
120+
passthru.skipBulkUpdate = true;
121+
119122
meta = {
120123
description = "Build resilient language agents as graphs";
121124
homepage = "https://github.com/langchain-ai/langgraph";
122-
changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${src.tag}";
125+
changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${version}";
123126
license = lib.licenses.mit;
124127
maintainers = with lib.maintainers; [ sarahec ];
125128
};

0 commit comments

Comments
 (0)