python3Packages.langgraph: repair broken update, apply skipBulkUpdate

Changed files
+12 -8
pkgs
development
python-modules
langgraph
+12 -8
pkgs/development/python-modules/langgraph/default.nix
···
}:
buildPythonPackage rec {
pname = "langgraph";
-
version = "2.1.1";
+
version = "0.6.4";
pyproject = true;
src = fetchFromGitHub {
owner = "langchain-ai";
repo = "langgraph";
-
tag = "checkpoint==${version}";
-
hash = "sha256-UY3AChShKfOrtOQzOm5vi3Yy3rlBc+TAje9L2L6My/U=";
+
tag = version;
+
hash = "sha256-9jl16cKp3E7j79PXrr/3splrcJtfQQN7yFJ5sfa6c+I=";
};
postgresqlTestSetupPost = ''
···
];
# Since `langgraph` is the only unprefixed package, we have to use an explicit match
-
passthru.updateScript = nix-update-script {
-
extraArgs = [
-
"--version-regex"
-
"([0-9.]+)"
-
];
+
passthru = {
+
# python updater script sets the wrong tag
+
skipBulkUpdate = true;
+
updateScript = nix-update-script {
+
extraArgs = [
+
"--version-regex"
+
"([0-9.]+)"
+
];
+
};
};
meta = {