python3Packages.langchain-community: disable tests requiring duckdb-engine

This commit is contained in:
Pol Dellaiera 2024-07-12 10:53:02 +02:00
parent d6e14ec84e
commit 076063ab15
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA

View File

@ -6,7 +6,6 @@
pythonOlder,
aiohttp,
dataclasses-json,
duckdb-engine,
langchain,
langchain-core,
langsmith,
@ -65,7 +64,6 @@ buildPythonPackage rec {
pythonImportsCheck = [ "langchain_community" ];
nativeCheckInputs = [
duckdb-engine
lark
pandas
pytest-asyncio
@ -88,6 +86,10 @@ buildPythonPackage rec {
disabledTests = [
# Test require network access
"test_ovhcloud_embed_documents"
# 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"
];
meta = {