From 6a682deaa50218398a80269cb9989dd692a982f8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 2 Jul 2026 23:29:36 +0200 Subject: [PATCH] python3Packages.ibis-framework: ignore numpy deprecation --- pkgs/development/python-modules/ibis-framework/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ibis-framework/default.nix b/pkgs/development/python-modules/ibis-framework/default.nix index 70d05e492e23..61c2d9daedea 100644 --- a/pkgs/development/python-modules/ibis-framework/default.nix +++ b/pkgs/development/python-modules/ibis-framework/default.nix @@ -148,10 +148,11 @@ buildPythonPackage (finalAttrs: { "-Wignore:fetch_arrow_table:DeprecationWarning" # DeprecationWarning: fetch_record_batch() is deprecated, use to_arrow_reader() instead. "-Wignore:fetch_record_batch:DeprecationWarning" + # DeprecationWarning: '_UnionGenericAlias' is deprecated and slated for removal in Python 3.17 + # DeprecationWarning: The 'generic' unit for NumPy timedelta is deprecated, and will raise an error in the future. This includes implicit conversion of bare integers (e.g. `+ 1`).Please use a specific unit instead. + "-Wignore::DeprecationWarning" ] ++ lib.optionals (pythonAtLeast "3.14") [ - # DeprecationWarning: '_UnionGenericAlias' is deprecated and slated for removal in Python 3.17 - "-Wignore::DeprecationWarning" # Multiple tests with warnings fail without it "-Wignore::pytest.PytestUnraisableExceptionWarning" ];