Unverified Commit f8ca9161 authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

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

parents 6f4c4182 898e3c8a
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -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