Unverified Commit 1ee444ad authored by Phillip Cloud's avatar Phillip Cloud
Browse files

python3.pkgs.duckdb-engine: disable tests that are incompatible with duckdb 1.1.1

parent ff274305
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
  pytestCheckHook,
  pythonAtLeast,
  pythonOlder,
  python,
  duckdb,
  hypothesis,
  pandas,
@@ -63,6 +64,15 @@ buildPythonPackage rec {
    "duckdb_engine/tests/test_datatypes.py"
  ];

  disabledTests = [
    # incompatible with duckdb 1.1.1
    "test_with_cache"
  ] ++ lib.optionals (python.pythonVersion == "3.11") [
    # incompatible with duckdb 1.1.1
    "test_all_types_reflection"
    "test_nested_types"
  ];

  pythonImportsCheck = [ "duckdb_engine" ];

  meta = with lib; {