natsukium 2025-02-15 02:01:00 +00:00
parent f8fbcac1b4
commit b8b54fc95c
No known key found for this signature in database
GPG key ID: 9EA45A31DB994C53

View file

@ -4,7 +4,7 @@
fetchFromGitHub, fetchFromGitHub,
# build-system # build-system
poetry-core, pdm-backend,
# dependencies # dependencies
aiohttp, aiohttp,
@ -13,16 +13,13 @@
langchain, langchain,
langchain-core, langchain-core,
langsmith, langsmith,
numpy,
pydantic-settings, pydantic-settings,
pyyaml, pyyaml,
requests, requests,
sqlalchemy, sqlalchemy,
tenacity, tenacity,
# optional-dependencies
typer,
numpy,
# tests # tests
httpx, httpx,
langchain-tests, langchain-tests,
@ -39,19 +36,19 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "langchain-community"; pname = "langchain-community";
version = "0.3.15"; version = "0.3.17";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "langchain-ai"; owner = "langchain-ai";
repo = "langchain"; repo = "langchain";
tag = "langchain-community==${version}"; tag = "langchain-community==${version}";
hash = "sha256-2/Zrl/wED/zm1m+NqgAD4AdrEh/LjFOeQoOSSM05e+s="; hash = "sha256-+10Q8em74G5RU6VtDqhQJuDsjJ4/EjGM4a3xQzs3Qzo=";
}; };
sourceRoot = "${src.name}/libs/community"; sourceRoot = "${src.name}/libs/community";
build-system = [ poetry-core ]; build-system = [ pdm-backend ];
pythonRelaxDeps = [ pythonRelaxDeps = [
"numpy" "numpy"
@ -66,6 +63,7 @@ buildPythonPackage rec {
langchain langchain
langchain-core langchain-core
langsmith langsmith
numpy
pydantic-settings pydantic-settings
pyyaml pyyaml
requests requests
@ -73,11 +71,6 @@ buildPythonPackage rec {
tenacity tenacity
]; ];
optional-dependencies = {
cli = [ typer ];
numpy = [ numpy ];
};
pythonImportsCheck = [ "langchain_community" ]; pythonImportsCheck = [ "langchain_community" ];
nativeCheckInputs = [ nativeCheckInputs = [