#!/usr/bin/make -f
#export DH_VERBOSE = 1
export PYBUILD_NAME=friendly-traceback
export PYBUILD_TEST_PYTEST = 1
export PYBUILD_TEST_DIR = .
# Tests skipped due to Python 3.14 behavior changes (unified error messages)
export PYBUILD_TEST_ARGS=-v -p no:rerunfailures -p no:flaky \
    -k 'not test_Division_operator \
    and not test_Integer_division_operator \
    and not test_Modulo_operator \
    and not test_Divmod \
    and not test_Float_modulo \
    and not test_Float_division \
    and not test_Float_divmod \
    and not test_Complex_division \
    and not test_Raise_zero_negative_power \
    and not test_Division_by_zero_literal \
    and not test_Mixed_operations \
    and not test_Argument_of_object_is_not_iterable \
    and not test_Cannot_convert_dictionary_update_sequence \
    and not test_Too_many_values_to_unpack \
    and not test_Date_invalid_month \
    and not test_Annotated_variable \
    and not invalid_encoding \
    and not except_multiple_exceptions \
    and not f_string_binary'
%:
	dh $@ --buildsystem=pybuild
