Unverified Commit b9cade67 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python3Packages.langchain-community: disable failing tests

Marks cannot be applied to fixtures. This is treated as an error with
pytest 9.
parent 58b944a8
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  fetchFromGitHub,
  pythonAtLeast,
@@ -122,6 +121,10 @@ buildPythonPackage rec {
  disabledTestPaths = [
    # depends on Pydantic v1 notations, will not load
    "tests/unit_tests/document_loaders/test_gitbook.py"
    # pytest.PytestRemovedIn9Warning: Marks applied to fixtures have no effect
    # https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function
    "tests/unit_tests/document_loaders/test_hugging_face.py"
    "tests/unit_tests/indexes/test_sql_record_manager.py"
  ];

  passthru.updateScript = gitUpdater {