Unverified Commit 076063ab authored by Pol Dellaiera's avatar Pol Dellaiera
Browse files

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

parent d6e14ec8
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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 = {