Commit 0ec8cef6 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python3Packages.lancedb: skip failing test on python>=3.14

parent c725fec6
Loading
Loading
Loading
Loading
+13 −6
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  buildPythonPackage,
  fetchFromGitHub,
  rustPlatform,
  pythonAtLeast,

  # buildInputs
  openssl,
@@ -105,7 +106,13 @@ buildPythonPackage rec {

  disabledTestMarks = [ "slow" ];

  disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
  disabledTests =
    lib.optionals (pythonAtLeast "3.14") [
      # TypeError: Converting Pydantic type to Arrow Type: unsupported type
      # <class 'test_pydantic.test_optional_nested_model.<locals>.WALocation'>.
      "test_optional_nested_model"
    ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
      # Flaky (even when the sandbox is disabled):
      # FileNotFoundError: [Errno 2] Cannot delete directory '/nix/var/nix/builds/nix-41395-654732360/.../test.lance/_indices/fts':
      # Cannot get information for path '/nix/var/nix/builds/nix-41395-654732360/.../test.lance/_indices/fts/.tmppyKXfw'