python3Packages.langchain-community: 0.3.27 -> 0.4.1

This commit is contained in:
Sarah Clark
2025-11-21 09:12:39 -08:00
parent 8121ced4b7
commit a20969101d
@@ -10,7 +10,7 @@
aiohttp,
dataclasses-json,
httpx-sse,
langchain,
langchain-classic,
langchain-core,
langsmith,
numpy,
@@ -42,39 +42,30 @@
buildPythonPackage rec {
pname = "langchain-community";
version = "0.3.27";
version = "0.4.1";
pyproject = true;
src = fetchFromGitHub {
owner = "langchain-ai";
repo = "langchain-community";
tag = "libs/community/v${version}";
hash = "sha256-rGU8AYe7993+zMAtHLkNiK+wA+UtZnGkUQsOPMtUQ8w=";
hash = "sha256-N92YDmej2shQQlktr0veFOKyGFWemFj0hdJIYu1rYSc=";
};
sourceRoot = "${src.name}/libs/community";
build-system = [ pdm-backend ];
# Only needed for mixed python 3.12/3.13 builds
pythonRelaxDeps = [
# Each component release requests the exact latest langchain and -core.
# That prevents us from updating individual components.
"langchain"
"langchain-core"
"numpy"
"pydantic-settings"
"tenacity"
];
pythonRemoveDeps = [
"bs4"
];
dependencies = [
aiohttp
dataclasses-json
httpx-sse
langchain
langchain-classic
langchain-core
langsmith
numpy