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