python3Packages.{langchain,langgraph}: bump (#531801)
This commit is contained in:
@@ -24,14 +24,15 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain-anthropic";
|
||||
version = "1.4.3";
|
||||
version = "1.4.6";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
tag = "langchain-anthropic==${finalAttrs.version}";
|
||||
hash = "sha256-u0Ur2SZFI8NkiVMBFieZIkc3cJL2IvrFvB4ueCvGMEU=";
|
||||
hash = "sha256-X+YS+T9mG+H4I2vHDYBi3Eev6OaCMgi56nKHEewgEXg=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/partners/anthropic";
|
||||
@@ -62,6 +63,8 @@ buildPythonPackage (finalAttrs: {
|
||||
disabledTests = [
|
||||
# Fails when langchain-core gets ahead of this
|
||||
"test_serdes"
|
||||
# KeyError: 'versions' in 1.4.6
|
||||
"test_anthropic_model_params"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "langchain_anthropic" ];
|
||||
|
||||
@@ -29,14 +29,15 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain-aws";
|
||||
version = "1.4.6";
|
||||
version = "1.6.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain-aws";
|
||||
tag = "langchain-aws==${finalAttrs.version}";
|
||||
hash = "sha256-WSUwPEBZQRyHYDWs0j+RgeP3Mqer5dIRT7eKoRESpsU=";
|
||||
hash = "sha256-EZNzP4myJTwkdyAHcUS2RCGPtaUlzt3bgZ4Qsw2RgBs=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -42,14 +42,15 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain-classic";
|
||||
version = "1.0.4";
|
||||
version = "1.0.8";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
tag = "langchain-classic==${finalAttrs.version}";
|
||||
hash = "sha256-yIu0P1GJBTEJ/Sq2ZTn7btoLiBgDCaNXJT9/W4maYtg=";
|
||||
hash = "sha256-Xskg6bPmRv7iLjppUF11rqmHg2YJWETVT1EMhzK7Svo=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/langchain";
|
||||
|
||||
@@ -37,14 +37,15 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain-core";
|
||||
version = "1.3.2";
|
||||
version = "1.4.8";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
tag = "langchain-core==${finalAttrs.version}";
|
||||
hash = "sha256-7ugQnVnq/yW/7NVtqkAB1C3+XjLN3m+GQFKtv5uXw9E=";
|
||||
hash = "sha256-fJKr1NlpCujGoVxxqjaEXGOVZO5NH9+71dWHyMuQ2jw=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/core";
|
||||
|
||||
@@ -29,14 +29,15 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain-google-genai";
|
||||
version = "4.2.3";
|
||||
version = "4.2.5";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain-google";
|
||||
tag = "libs/genai/v${finalAttrs.version}";
|
||||
hash = "sha256-OJQRYCzMa6y1F3gHFBAY+G3v3ZWzhw1ZqvbePTJyzr8=";
|
||||
hash = "sha256-NgP3KyhFprlUoZUg69ZVqTwG9IW6nvX3k6VYz69LdrU=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/genai";
|
||||
@@ -68,6 +69,9 @@ buildPythonPackage (finalAttrs: {
|
||||
# Fails when langchain-core gets ahead of this package
|
||||
"test_serdes"
|
||||
"test_serialize"
|
||||
# pydantic_core._pydantic_core.ValidationError: 1 validation error for GenerateContentResponse
|
||||
# extra inputs are not permitted
|
||||
"test_grounding_metadata_to_citations_conversion"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
|
||||
@@ -18,19 +18,20 @@
|
||||
gitUpdater,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain-groq";
|
||||
version = "1.1.2";
|
||||
version = "1.1.3";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
tag = "langchain-groq==${version}";
|
||||
hash = "sha256-OS9i4o8UhEmRFgZEKB5owWx2hJuVBRV5XvQLCQnBi9g=";
|
||||
tag = "langchain-groq==${finalAttrs.version}";
|
||||
hash = "sha256-RwwlEL3P/6+Yf1bM5ALGxhUXG0C1XPlf0OQMcft4o4U=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/libs/partners/groq";
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/partners/groq";
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
@@ -71,7 +72,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/langchain-ai/langchain/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/langchain-ai/langchain/releases/tag/${finalAttrs.src.tag}";
|
||||
description = "Integration package connecting Groq and LangChain";
|
||||
homepage = "https://github.com/langchain-ai/langchain/tree/master/libs/partners/groq";
|
||||
license = lib.licenses.mit;
|
||||
@@ -79,4 +80,4 @@ buildPythonPackage rec {
|
||||
sarahec
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -35,6 +35,7 @@ buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain-huggingface";
|
||||
version = "1.2.2";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
@@ -75,6 +76,8 @@ buildPythonPackage (finalAttrs: {
|
||||
disabledTests = [
|
||||
# Requires a circular dependency on langchain
|
||||
"test_init_chat_model_huggingface"
|
||||
# AssertionError: Expected 'bind' to have been called once. Called 0 times.
|
||||
"test_bind_tools"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "langchain_huggingface" ];
|
||||
|
||||
@@ -22,19 +22,20 @@
|
||||
gitUpdater,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain-mistralai";
|
||||
version = "1.1.4";
|
||||
version = "1.1.5";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
tag = "langchain-mistralai==${version}";
|
||||
hash = "sha256-52qgkr9oem4jFGNWvoC3wb0WR2z9yhglqA8sJHIhtbs=";
|
||||
tag = "langchain-mistralai==${finalAttrs.version}";
|
||||
hash = "sha256-lWhFFPEGNKUVmYC48MtyNZjgujfQRwUKR4bzZEvr5DQ=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/libs/partners/mistralai";
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/partners/mistralai";
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
@@ -75,7 +76,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/langchain-ai/langchain/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/langchain-ai/langchain/releases/tag/${finalAttrs.src.tag}";
|
||||
description = "Build LangChain applications with mistralai";
|
||||
homepage = "https://github.com/langchain-ai/langchain/tree/master/libs/partners/mistralai";
|
||||
license = lib.licenses.mit;
|
||||
@@ -83,4 +84,4 @@ buildPythonPackage rec {
|
||||
lib.maintainers.sarahec
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -38,6 +38,7 @@ buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain-mongodb";
|
||||
version = "0.11.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
@@ -85,6 +86,7 @@ buildPythonPackage (finalAttrs: {
|
||||
pytestFlags = [
|
||||
# DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated
|
||||
"-Wignore::DeprecationWarning"
|
||||
"-Wignore::PendingDeprecationWarning"
|
||||
]
|
||||
++ lib.optionals (pythonAtLeast "3.14") [
|
||||
# UserWarning: Core Pydantic V1 functionality isn't compatible with Python 3.14
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
stdenv,
|
||||
|
||||
# build-system
|
||||
hatchling,
|
||||
@@ -57,8 +56,9 @@ buildPythonPackage (finalAttrs: {
|
||||
|
||||
enabledTestPaths = [ "tests/unit_tests" ];
|
||||
|
||||
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# Darwin prevents the expected shell from spawning to run this
|
||||
disabledTests = [
|
||||
# The expected shell can't spawn
|
||||
# test_standard_params_model_override - AssertionError: ls_model_name did not reflect the per-call `model` override...ZZ
|
||||
"test_standard_params_model_override"
|
||||
];
|
||||
|
||||
|
||||
@@ -33,14 +33,15 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain-openai";
|
||||
version = "1.2.1";
|
||||
version = "1.3.2";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
tag = "langchain-openai==${finalAttrs.version}";
|
||||
hash = "sha256-0EmL+Ptuvu8CWaqeV9DJnRwstCkxo+XJxzgmPdU/VmA=";
|
||||
hash = "sha256-VmGbfciQlKBYgyUhFLUVzZaYSpEcK2pRokvsWrFpxaM=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/partners/openai";
|
||||
|
||||
@@ -24,14 +24,15 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain-perplexity";
|
||||
version = "1.3.2";
|
||||
version = "1.4.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
tag = "langchain-perplexity==${finalAttrs.version}";
|
||||
hash = "sha256-XSfnoJaj2VRXSxHHVnRNBvr4Ko7GAqnFEDM90ohaufo=";
|
||||
hash = "sha256-YWVTghbLE6jXrkwS9shTdDr0pp4ILEVq+dgjg9njRhA=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/partners/perplexity";
|
||||
|
||||
@@ -8,14 +8,15 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain-protocol";
|
||||
version = "0.0.16";
|
||||
version = "0.0.18";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
# Not available vis Github yet; required by langchain-core
|
||||
src = fetchPypi {
|
||||
pname = "langchain_protocol";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-gGx83ZUbHE9pL6QPzmCCH/DyIdQ2DidnPd8sK5nCt/8=";
|
||||
hash = "sha256-7D4ReC8e0MnbOOWp7QGw56DT+6QG+qiu9llLc8VqY+Y=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -28,14 +28,15 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain-tests";
|
||||
version = "1.1.7";
|
||||
version = "1.1.9";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
tag = "langchain-tests==${finalAttrs.version}";
|
||||
hash = "sha256-zesNbesiLMayvlVrU6NagmE2+o0l6ozwZlOGqvyGpnQ=";
|
||||
hash = "sha256-GbOasYdPGqk1WJeoqL8DYd1Qizvhjeq8Dc+RgE4iBaA=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/standard-tests";
|
||||
|
||||
@@ -46,14 +46,15 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain";
|
||||
version = "1.2.15";
|
||||
version = "1.3.10";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
tag = "langchain==${finalAttrs.version}";
|
||||
hash = "sha256-aRiU8UwzotSybfgjexV9hYXsm5Ub3PFTz0k0hz1p2lk=";
|
||||
hash = "sha256-hB1TpaQjSleS+ysGIB1HxCgeQgUhMDoiDtO3Hjk6SLU=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/langchain_v1";
|
||||
|
||||
@@ -24,16 +24,17 @@
|
||||
gitUpdater,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langgraph-checkpoint-postgres";
|
||||
version = "3.0.5";
|
||||
version = "3.1.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langgraph";
|
||||
tag = "checkpointpostgres==${version}";
|
||||
hash = "sha256-EonOCCC6aCM2PQdd3UlazEMf4zjglHx8AxHB0i2W4IY=";
|
||||
tag = "checkpointpostgres==${finalAttrs.version}";
|
||||
hash = "sha256-xSYJ9D86GuaJEgQYk+pkJ4O7HK6HXfAOGBv4f1CBY5g=";
|
||||
};
|
||||
|
||||
postgresqlTestSetupPost = ''
|
||||
@@ -42,7 +43,7 @@ buildPythonPackage rec {
|
||||
--replace-fail "DEFAULT_POSTGRES_URI = \"postgres://postgres:postgres@localhost:5441/\"" "DEFAULT_POSTGRES_URI = \"postgres:///\""
|
||||
'';
|
||||
|
||||
sourceRoot = "${src.name}/libs/checkpoint-postgres";
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/checkpoint-postgres";
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
@@ -102,10 +103,10 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Library with a Postgres implementation of LangGraph checkpoint saver";
|
||||
homepage = "https://github.com/langchain-ai/langgraph/tree/main/libs/checkpoint-postgres";
|
||||
changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
sarahec
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -20,19 +20,20 @@
|
||||
gitUpdater,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langgraph-checkpoint-sqlite";
|
||||
version = "3.0.3";
|
||||
version = "3.1.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langgraph";
|
||||
tag = "checkpointsqlite==${version}";
|
||||
hash = "sha256-th9LJxaq2Xj6QwPXGL204QTDsnFNBuyjQpLilhcCKUY=";
|
||||
tag = "checkpointsqlite==${finalAttrs.version}";
|
||||
hash = "sha256-xSYJ9D86GuaJEgQYk+pkJ4O7HK6HXfAOGBv4f1CBY5g=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/libs/checkpoint-sqlite";
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/checkpoint-sqlite";
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
@@ -83,7 +84,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${finalAttrs.src.tag}";
|
||||
description = "Library with a SQLite implementation of LangGraph checkpoint saver";
|
||||
homepage = "https://github.com/langchain-ai/langgraph/tree/main/libs/checkpoint-sqlite";
|
||||
license = lib.licenses.mit;
|
||||
@@ -91,4 +92,4 @@ buildPythonPackage rec {
|
||||
sarahec
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
# testing
|
||||
pytest-asyncio,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
docker-compose,
|
||||
|
||||
@@ -26,14 +27,15 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langgraph-cli";
|
||||
version = "0.4.26";
|
||||
version = "0.4.30";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langgraph";
|
||||
tag = "cli==${finalAttrs.version}";
|
||||
hash = "sha256-LBdDi3gT1N+r6yTb0BDF7qkoHAvo3UTSJnJ49vchjKU=";
|
||||
hash = "sha256-wemTtMT8UbpEsGzf0fMnXdhJv0oTrG/TqEu6HhFN6nc=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/cli";
|
||||
@@ -58,6 +60,7 @@ buildPythonPackage (finalAttrs: {
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
docker-compose
|
||||
]
|
||||
|
||||
@@ -32,14 +32,15 @@
|
||||
# It exists so the langgraph team can iterate on it without having to rebuild langgraph.
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langgraph-prebuilt";
|
||||
version = "1.0.12";
|
||||
version = "1.1.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langgraph";
|
||||
tag = "prebuilt==${finalAttrs.version}";
|
||||
hash = "sha256-J899GIBdXHjZVMwZlnn5GH52/TNjzLukc4Xp/qc8NOM=";
|
||||
hash = "sha256-xSYJ9D86GuaJEgQYk+pkJ4O7HK6HXfAOGBv4f1CBY5g=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/prebuilt";
|
||||
|
||||
@@ -14,14 +14,15 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langgraph-runtime-inmem";
|
||||
version = "0.29.0";
|
||||
version = "0.30.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
# Not available in any repository
|
||||
src = fetchPypi {
|
||||
pname = "langgraph_runtime_inmem";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-i8XSQDQq8+QFTZvTtzay8O322vhCHm6qkZop7NWCJzo=";
|
||||
hash = "sha256-MZVOHebNQ8KEtCUkPU+uroGPaLPayk2+QxPmUbb14R0=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
@@ -9,8 +9,11 @@
|
||||
# dependencies
|
||||
httpx,
|
||||
httpx-sse,
|
||||
langchain-core,
|
||||
langchain-protocol,
|
||||
orjson,
|
||||
typing-extensions,
|
||||
websockets,
|
||||
|
||||
# passthru
|
||||
gitUpdater,
|
||||
@@ -18,25 +21,31 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langgraph-sdk";
|
||||
version = "0.3.15";
|
||||
version = "0.4.2";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langgraph";
|
||||
tag = "sdk==${finalAttrs.version}";
|
||||
hash = "sha256-P4SbQK6lFG572WKxisnNn/ZiHcMYBBM/vcBB9N6xpfo=";
|
||||
hash = "sha256-30BY7f8m3YiqEBhb3+TQYTW0N40xI9kTQbMTh4BwcyU=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/sdk-py";
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
pythonRelaxDeps = [ "websockets" ];
|
||||
|
||||
dependencies = [
|
||||
httpx
|
||||
httpx-sse
|
||||
langchain-core
|
||||
langchain-protocol
|
||||
orjson
|
||||
typing-extensions
|
||||
websockets
|
||||
];
|
||||
|
||||
disabledTests = [ "test_aevaluate_results" ]; # Compares execution time to magic number
|
||||
|
||||
@@ -41,14 +41,15 @@
|
||||
}:
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langgraph";
|
||||
version = "1.1.10";
|
||||
version = "1.2.5";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langgraph";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-J899GIBdXHjZVMwZlnn5GH52/TNjzLukc4Xp/qc8NOM=";
|
||||
hash = "sha256-u4rRRvDg99uJpNd/Tqms4EUTmAaROelqQtyyoMsy9Qg=";
|
||||
};
|
||||
|
||||
postgresqlTestSetupPost = ''
|
||||
|
||||
Reference in New Issue
Block a user