From 578c8b789554c6eaf2c15c06fca88b2822567445 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Mon, 23 Feb 2026 18:40:51 -0800 Subject: [PATCH] python3Packages.pyiceberg: disable timing-sensitive test and pydantic deprecation warning --- pkgs/development/python-modules/pyiceberg/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/pyiceberg/default.nix b/pkgs/development/python-modules/pyiceberg/default.nix index 874b44bc91c5..7487cae06d0c 100644 --- a/pkgs/development/python-modules/pyiceberg/default.nix +++ b/pkgs/development/python-modules/pyiceberg/default.nix @@ -209,6 +209,8 @@ buildPythonPackage (finalAttrs: { pytestFlags = [ # ResourceWarning: unclosed database in "-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'