python3Packages.langchain-community: 0.3.22 -> 0.3.24 (#408199)
This commit is contained in:
commit
20dbed8a6e
@ -23,6 +23,8 @@
|
||||
|
||||
# tests
|
||||
blockbuster,
|
||||
duckdb,
|
||||
duckdb-engine,
|
||||
httpx,
|
||||
langchain-tests,
|
||||
lark,
|
||||
@ -38,14 +40,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "langchain-community";
|
||||
version = "0.3.22";
|
||||
version = "0.3.24";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
tag = "langchain-community==${version}";
|
||||
hash = "sha256-fotu3vUCWnAVyjFjsIUjk1If81yQ3/YLj26PksmnvGE=";
|
||||
repo = "langchain-community";
|
||||
tag = "libs/community/v${version}";
|
||||
hash = "sha256-4Rcczuz7tCb10HPvO15n48DBKjVBLXNPdRfD4lRKNGk=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/libs/community";
|
||||
@ -62,6 +64,10 @@ buildPythonPackage rec {
|
||||
"tenacity"
|
||||
];
|
||||
|
||||
pythonRemoveDeps = [
|
||||
"bs4"
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
dataclasses-json
|
||||
@ -76,10 +82,13 @@ buildPythonPackage rec {
|
||||
sqlalchemy
|
||||
tenacity
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "langchain_community" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
blockbuster
|
||||
duckdb
|
||||
duckdb-engine
|
||||
httpx
|
||||
langchain-tests
|
||||
lark
|
||||
@ -93,29 +102,18 @@ buildPythonPackage rec {
|
||||
toml
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "tests/unit_tests" ];
|
||||
pytestFlagsArray = [
|
||||
"tests/unit_tests"
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
disabledTests = [
|
||||
# Test require network access
|
||||
"test_ovhcloud_embed_documents"
|
||||
"test_yandex"
|
||||
"test_table_info"
|
||||
"test_sql_database_run"
|
||||
# pydantic.errors.PydanticUserError: `SQLDatabaseToolkit` is not fully defined; you should define `BaseCache`, then call `SQLDatabaseToolkit.model_rebuild()`.
|
||||
"test_create_sql_agent"
|
||||
# pydantic.errors.PydanticUserError: `NatBotChain` is not fully defined; you should define `BaseCache`, then call `NatBotChain.model_rebuild()`.
|
||||
"test_proper_inputs"
|
||||
# pydantic.errors.PydanticUserError: `NatBotChain` is not fully defined; you should define `BaseCache`, then call `NatBotChain.model_rebuild()`.
|
||||
"test_variable_key_naming"
|
||||
# Tests against magic values in dict
|
||||
"test_serializable_mapping"
|
||||
# requires bs4, aka BeautifulSoup
|
||||
"test_importable_all"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# ValueError: Received unsupported arguments {'strict': None}
|
||||
"tests/unit_tests/chat_models/test_cloudflare_workersai.py"
|
||||
# depends on Pydantic v1 notations, will not load
|
||||
"tests/unit_tests/document_loaders/test_gitbook.py"
|
||||
];
|
||||
@ -123,14 +121,14 @@ buildPythonPackage rec {
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--version-regex"
|
||||
"langchain-community==([0-9.]+)"
|
||||
"libs/community/v([0-9.]+)"
|
||||
];
|
||||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/langchain-ai/langchain/releases/tag/langchain-community==${version}";
|
||||
description = "Community contributed LangChain integrations";
|
||||
homepage = "https://github.com/langchain-ai/langchain/tree/master/libs/community";
|
||||
homepage = "https://github.com/langchain-ai/langchain-community";
|
||||
changelog = "https://github.com/langchain-ai/langchain-community/releases/tag/libs%2Fcommunity%2fv${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
natsukium
|
||||
|
Loading…
x
Reference in New Issue
Block a user