From 70a53e71054be158e5727845412efaadf630263d Mon Sep 17 00:00:00 2001 From: Cameron Smith Date: Sat, 11 Apr 2026 15:07:21 -0400 Subject: [PATCH] python3Packages.ibis-framework: fix build against duckdb 1.5.1 python3Packages.ibis-framework: ignore fetch_arrow_table DeprecationWarning python3Packages.ibis-framework: ignore fetch_record_batch DeprecationWarning python3Packages.ibis-framework: disable tests incompatible with duckdb 1.5 --- .../python-modules/ibis-framework/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/python-modules/ibis-framework/default.nix b/pkgs/development/python-modules/ibis-framework/default.nix index 3e6722a09e92..8f499225e418 100644 --- a/pkgs/development/python-modules/ibis-framework/default.nix +++ b/pkgs/development/python-modules/ibis-framework/default.nix @@ -144,6 +144,10 @@ buildPythonPackage (finalAttrs: { pytestFlags = [ "--benchmark-disable" "-Wignore::FutureWarning" + # DeprecationWarning: fetch_arrow_table() is deprecated, use to_arrow_table() instead. + "-Wignore:fetch_arrow_table:DeprecationWarning" + # DeprecationWarning: fetch_record_batch() is deprecated, use to_arrow_reader() instead. + "-Wignore:fetch_record_batch:DeprecationWarning" ] ++ lib.optionals (pythonAtLeast "3.14") [ # DeprecationWarning: '_UnionGenericAlias' is deprecated and slated for removal in Python 3.17 @@ -186,6 +190,12 @@ buildPythonPackage (finalAttrs: { # assert 0 == 3 (tests edge case behavior of databases) "test_self_join_with_generated_keys" + # _duckdb.BinderException: DECIMAL type width must be between 1 and 38 + "test_decimal_literal[duckdb-decimal-big]" + + # AssertionError: joining an empty array returns '' instead of NULL in duckdb 1.5 + "test_empty_array_string_join[duckdb]" + # https://github.com/ibis-project/ibis/issues/11929 # AssertionError: value does not match the expected value "ibasic_aggregation_with_join"