Unverified Commit 2b110a69 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python3Packages.pyiceberg: disable timing-sensitive test and pydantic… (#493534)

parents 5b40f721 578c8b78
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -209,6 +209,8 @@ buildPythonPackage (finalAttrs: {
  pytestFlags = [
    # ResourceWarning: unclosed database in <sqlite3.Connection object at 0x7ffe7c6f4220>
    "-Wignore::ResourceWarning"
    # Using `@model_validator` with mode='after' on a classmethod is deprecated
    "-Wignore::pydantic.warnings.PydanticDeprecatedSince212"
  ];

  preCheck = ''
@@ -282,6 +284,10 @@ buildPythonPackage (finalAttrs: {

    # Hangs forever (from tests/io/test_pyarrow.py)
    "test_getting_length_of_file_gcs"

    # Timing sensitive
    # AssertionError: assert 8 == 5
    "test_hive_wait_for_lock"
  ]
  ++ lib.optionals stdenv.hostPlatform.isDarwin [
    # ImportError: The pyarrow installation is not built with support for 'GcsFileSystem'