# Remove dependency on blockbuster (not available in nixpkgs due to dependency on forbiddenfruit)
./rm-blockbuster.patch
];
pythonRelaxDeps=[
# Each component release requests the exact latest langchain and -core.
# That prevents us from updating individul components.
@@ -66,10 +62,6 @@ buildPythonPackage rec {
"tenacity"
];
pythonRemoveDeps=[
"blockbuster"
];
dependencies=[
aiohttp
dataclasses-json
@@ -87,6 +79,7 @@ buildPythonPackage rec {
pythonImportsCheck=["langchain_community"];
nativeCheckInputs=[
blockbuster
httpx
langchain-tests
lark
@@ -108,8 +101,6 @@ buildPythonPackage rec {
# Test require network access
"test_ovhcloud_embed_documents"
"test_yandex"
# duckdb-engine needs python-wasmer which is not yet available in Python 3.12
# See https://github.com/NixOS/nixpkgs/pull/326337 and https://github.com/wasmerio/wasmer-python/issues/778
"test_table_info"
"test_sql_database_run"
# pydantic.errors.PydanticUserError: `SQLDatabaseToolkit` is not fully defined; you should define `BaseCache`, then call `SQLDatabaseToolkit.model_rebuild()`.
@@ -118,19 +109,21 @@ buildPythonPackage rec {
"test_proper_inputs"
# pydantic.errors.PydanticUserError: `NatBotChain` is not fully defined; you should define `BaseCache`, then call `NatBotChain.model_rebuild()`.
"test_variable_key_naming"
# Fails due to the lack of blockbuster
"test_group_dependencies"
# Tests against magic values in dict
"test_serializable_mapping"
];
disabledTestPaths=[
# ValueError: Received unsupported arguments {'strict': None}