python3Packages.ibis-framework: ignore numpy deprecation

This commit is contained in:
Martin Weinelt
2026-07-02 23:29:36 +02:00
parent d451baced8
commit 6a682deaa5
@@ -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"
];