python3Packages.{langchain,langgraph,langserve}*: updates (#507331)
This commit is contained in:
@@ -29,14 +29,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain-aws";
|
||||
version = "1.4.1";
|
||||
version = "1.4.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain-aws";
|
||||
tag = "langchain-aws==${finalAttrs.version}";
|
||||
hash = "sha256-q+79xKpUN9whg0E37m6Mu4oECdJfPxUTh94bXHLg6sM=";
|
||||
hash = "sha256-Iya2xWuArROGgEPbYDCFqzuVP5UupemyU2wF/mNNLXo=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -36,14 +36,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain-core";
|
||||
version = "1.2.22";
|
||||
version = "1.2.27";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
tag = "langchain-core==${finalAttrs.version}";
|
||||
hash = "sha256-jaoZtRNHAXbt/a9hx4zPGEYppT/Kxu0MPn/cOj5kLP4=";
|
||||
hash = "sha256-WdC43SUVgteNQLNMD+yEkD8TyyCFGXkYTi5moZMEmVo=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/core";
|
||||
|
||||
@@ -87,6 +87,7 @@ buildPythonPackage (finalAttrs: {
|
||||
"test_load_openai_llm"
|
||||
"test_loads_openai_chat"
|
||||
"test_load_openai_chat"
|
||||
"test_format_message_content"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "langchain_openai" ];
|
||||
|
||||
@@ -28,14 +28,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain-tests";
|
||||
version = "1.1.5";
|
||||
version = "1.1.6";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
tag = "langchain-tests==${finalAttrs.version}";
|
||||
hash = "sha256-HyPJ3binXV3ypksvpyz1t6B1Zdz3NY6z4Ttq7K4yo+g=";
|
||||
hash = "sha256-W+uJy0t6awNwMpMHEftHV8tDliEhvL/g8V2ZJPWeYk8=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/standard-tests";
|
||||
|
||||
@@ -46,14 +46,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain";
|
||||
version = "1.2.13";
|
||||
version = "1.2.15";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
tag = "langchain==${finalAttrs.version}";
|
||||
hash = "sha256-Eb9sXYUaBQn6f7IqgrSIbNz75g79Vka0RommZFJUQko=";
|
||||
hash = "sha256-aRiU8UwzotSybfgjexV9hYXsm5Ub3PFTz0k0hz1p2lk=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/langchain_v1";
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
# tests
|
||||
langgraph-checkpoint-postgres,
|
||||
langgraph-checkpoint-sqlite,
|
||||
langgraph-sdk,
|
||||
postgresql,
|
||||
postgresqlTestHook,
|
||||
psycopg,
|
||||
@@ -31,14 +32,14 @@
|
||||
# It exists so the langgraph team can iterate on it without having to rebuild langgraph.
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langgraph-prebuilt";
|
||||
version = "1.0.8";
|
||||
version = "1.0.9";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langgraph";
|
||||
tag = "prebuilt==${finalAttrs.version}";
|
||||
hash = "sha256-Gsh2bCcity0zf9A+FENxwktK5j3WhQOG/jZmhJ18KVE=";
|
||||
hash = "sha256-B9ntvj6qoKd63W/cPkevtfHbv8XUxmkaWupxURA8C68=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/prebuilt";
|
||||
@@ -48,6 +49,7 @@ buildPythonPackage (finalAttrs: {
|
||||
dependencies = [
|
||||
langchain-core
|
||||
langgraph-checkpoint
|
||||
langgraph-sdk
|
||||
];
|
||||
|
||||
skipPythonImportsCheck = true; # This will be packaged with langgraph
|
||||
|
||||
@@ -14,14 +14,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langgraph-runtime-inmem";
|
||||
version = "0.26.0";
|
||||
version = "0.27.3";
|
||||
pyproject = true;
|
||||
|
||||
# Not available in any repository
|
||||
src = fetchPypi {
|
||||
pname = "langgraph_runtime_inmem";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-ucWH0TOTIKKlSlcKIa7K9Z7rxL4HzvHYpbA18/LGHWo=";
|
||||
hash = "sha256-jylX7GXEJFJr5pBxCnD2W/kG3dkqS9IFS7VhyPlErJE=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
@@ -18,14 +18,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langgraph-sdk";
|
||||
version = "0.3.12";
|
||||
version = "0.3.13";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langgraph";
|
||||
tag = "sdk==${finalAttrs.version}";
|
||||
hash = "sha256-J8QqbzJe5tW11Nuio2uFAJk2EZIL1LNGIbJn7TZvlaA=";
|
||||
hash = "sha256-pu2/iITwXJ1PdFJKu0g5cOqPukKURSITCpgCIxERRsw=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/sdk-py";
|
||||
|
||||
@@ -41,14 +41,14 @@
|
||||
}:
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langgraph";
|
||||
version = "1.1.4";
|
||||
version = "1.1.6";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langgraph";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-7wFomrg5w4KTEprx9b93zQaeAbD5s1TPo97WZ/2R0S4=";
|
||||
hash = "sha256-9YuvzPmyNOfx8AolUaY8XFeYUpWRmudtLEAUadRUAqY=";
|
||||
};
|
||||
|
||||
postgresqlTestSetupPost = ''
|
||||
|
||||
@@ -31,14 +31,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langsmith";
|
||||
version = "0.7.22";
|
||||
version = "0.7.30";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langsmith-sdk";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-raotchNZFcQPUvQckq4Z6ntvh4tviCjTLv2s5Ueulqw=";
|
||||
hash = "sha256-JxbX7s1L1Zz3D+Te1EuiFt9y9YQSYM1Ta6LHt7KEGYY=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/python";
|
||||
|
||||
Reference in New Issue
Block a user