diff --git a/pkgs/development/python-modules/ibis-framework/default.nix b/pkgs/development/python-modules/ibis-framework/default.nix index 5832f88e0e6f..7718bea82669 100644 --- a/pkgs/development/python-modules/ibis-framework/default.nix +++ b/pkgs/development/python-modules/ibis-framework/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + pythonAtLeast, # build-system hatchling, @@ -143,6 +144,10 @@ buildPythonPackage rec { pytestFlags = [ "--benchmark-disable" "-Wignore::FutureWarning" + ] + ++ lib.optionals (pythonAtLeast "3.14") [ + # DeprecationWarning: '_UnionGenericAlias' is deprecated and slated for removal in Python 3.17 + "-Wignore::DeprecationWarning" ]; enabledTestMarks = testBackends ++ [ "core" ]; @@ -178,6 +183,16 @@ buildPythonPackage rec { # assert 0 == 3 (tests edge case behavior of databases) "test_self_join_with_generated_keys" + ] + ++ lib.optionals (pythonAtLeast "3.14") [ + # ExceptionGroup: multiple unraisable exception warnings (4 sub-exceptions) + "test_parse_dtype_roundtrip" + + # AssertionError: value does not match the expected value in snapshot ... + "test_annotated_function_without_decoration" + "test_error_message" + "test_error_message_when_constructing_literal" + "test_signature_from_callable_with_keyword_only_arguments" ]; # patch out tests that check formatting with black