python3Packages.ibis-framework: fix on python>=3.14 (#475621)

This commit is contained in:
kirillrdy
2026-01-01 00:03:22 +00:00
committed by GitHub

View File

@@ -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