python3Packages.{langgraph,langchain,anthropic}*: update (#504182)
This commit is contained in:
@@ -38,14 +38,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "anthropic";
|
||||
version = "0.84.0";
|
||||
version = "0.86.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "anthropics";
|
||||
repo = "anthropic-sdk-python";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-03nvs97JNQrOu2rxOXWpJiUj+DCI5I/PTcKLuZUZ3t0=";
|
||||
hash = "sha256-24z9LrZ6xktwITQHHvslrT4J2RZ/CKbZD3uwbZBV+rE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -24,14 +24,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain-anthropic";
|
||||
version = "1.3.5";
|
||||
version = "1.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
tag = "langchain-anthropic==${finalAttrs.version}";
|
||||
hash = "sha256-R4X2WEU1I9HuuA9k4/6NrRMYuLjS6DQHQeP3xzp+Uso=";
|
||||
hash = "sha256-nPVmyRvgGWDOANP0NalmX4obl+mMb/LdXtyO60k4zKs=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/partners/anthropic";
|
||||
|
||||
@@ -29,14 +29,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain-aws";
|
||||
version = "1.4.0";
|
||||
version = "1.4.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain-aws";
|
||||
tag = "langchain-aws==${finalAttrs.version}";
|
||||
hash = "sha256-1zeZsLff0dcn9rJZu6zR6l/oXvXPXNTqKo0Ma+cXafo=";
|
||||
hash = "sha256-q+79xKpUN9whg0E37m6Mu4oECdJfPxUTh94bXHLg6sM=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -36,14 +36,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain-core";
|
||||
version = "1.2.19";
|
||||
version = "1.2.22";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
tag = "langchain-core==${finalAttrs.version}";
|
||||
hash = "sha256-qQ0bCg+ghb84tafyahMzA4GroLz8smGfwIUg2bHmY0w=";
|
||||
hash = "sha256-jaoZtRNHAXbt/a9hx4zPGEYppT/Kxu0MPn/cOj5kLP4=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/core";
|
||||
|
||||
@@ -33,14 +33,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain-openai";
|
||||
version = "1.1.10";
|
||||
version = "1.1.12";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
tag = "langchain-openai==${finalAttrs.version}";
|
||||
hash = "sha256-k0JpzgF+2UaYUbtzOB+NFxq7Ge/eRbT8M4PgvDpRG2g=";
|
||||
hash = "sha256-lmEnkwX1tL88xHTrQRe96ZCvU5bM6iwzJ46exI+gfSI=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/partners/openai";
|
||||
|
||||
@@ -46,14 +46,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain";
|
||||
version = "1.2.12";
|
||||
version = "1.2.13";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
tag = "langchain==${finalAttrs.version}";
|
||||
hash = "sha256-Z0noVsSu0OZchynlJSkIe0p076/0nay+1uS2ZXnztns=";
|
||||
hash = "sha256-Eb9sXYUaBQn6f7IqgrSIbNz75g79Vka0RommZFJUQko=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/langchain_v1";
|
||||
@@ -117,12 +117,16 @@ buildPythonPackage (finalAttrs: {
|
||||
disabledTests = [
|
||||
# Depends on shell's truncation style
|
||||
"test_truncation_indicator_present"
|
||||
"test_truncation_by_bytes"
|
||||
# Depends on the sleep shell command
|
||||
"test_timeout_returns_error"
|
||||
# Can't see the shell session results when sandboxed
|
||||
"test_startup_and_shutdown_commands"
|
||||
# Timing sensitive tests
|
||||
"test_tool_retry_constant_backoff"
|
||||
# AttributeError: 'ImportErrorProfileModel' object has no attribute 'profile'
|
||||
# https://github.com/langchain-ai/langchain/issues/36312
|
||||
"test_summarization_middleware_missing_profile"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
|
||||
@@ -26,14 +26,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "langgraph-checkpoint-postgres";
|
||||
version = "3.0.4";
|
||||
version = "3.0.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langgraph";
|
||||
tag = "checkpointpostgres==${version}";
|
||||
hash = "sha256-fuRfQRepdNAp+gnBbvLTREE8dwdtplKvIUQmDDk1QMY=";
|
||||
hash = "sha256-EonOCCC6aCM2PQdd3UlazEMf4zjglHx8AxHB0i2W4IY=";
|
||||
};
|
||||
|
||||
postgresqlTestSetupPost = ''
|
||||
|
||||
@@ -18,14 +18,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langgraph-sdk";
|
||||
version = "0.3.11";
|
||||
version = "0.3.12";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langgraph";
|
||||
tag = "sdk==${finalAttrs.version}";
|
||||
hash = "sha256-GFnOqCa1yr4HEz+C//j91dU66iUyst3FMelEqmw4lwg=";
|
||||
hash = "sha256-J8QqbzJe5tW11Nuio2uFAJk2EZIL1LNGIbJn7TZvlaA=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/sdk-py";
|
||||
|
||||
Reference in New Issue
Block a user