mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-02 02:03:21 +00:00
python3Packages.langchain-community: disable tests requiring duckdb-engine
This commit is contained in:
parent
d6e14ec84e
commit
076063ab15
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user