• Bug#1098617: python-yamlfix: FTBFS: E TypeError: CliRunner.__init__() g

    From Santiago Vila@21:1/5 to All on Sat Feb 22 00:40:09 2025
    Package: src:python-yamlfix
    Version: 1.17.0-3
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

    During a rebuild of all packages in unstable, your package failed to build:

    --------------------------------------------------------------------------------
    [...]
    debian/rules clean
    dh clean --buildsystem=pybuild
    dh_auto_clean -O--buildsystem=pybuild
    dh_autoreconf_clean -O--buildsystem=pybuild
    dh_clean -O--buildsystem=pybuild
    debian/rules binary
    dh binary --buildsystem=pybuild
    dh_update_autotools_config -O--buildsystem=pybuild
    dh_autoreconf -O--buildsystem=pybuild
    dh_auto_configure -O--buildsystem=pybuild
    dh_auto_build -O--buildsystem=pybuild
    I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" module
    I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_yamlfix
    * Building wheel...
    - Adding .pdm-build/yamlfix-1.17.0.dist-info/METADATA -> yamlfix-1.17.0.dist-info/METADATA
    - Adding .pdm-build/yamlfix-1.17.0.dist-info/WHEEL -> yamlfix-1.17.0.dist-info/WHEEL
    - Adding .pdm-build/yamlfix-1.17.0.dist-info/entry_points.txt -> yamlfix-1.17.0.dist-info/entry_points.txt
    - Adding .pdm-build/yamlfix-1.17.0.dist-info/licenses/LICENSE -> yamlfix-1.17.0.dist-info/licenses/LICENSE
    - Adding src/yamlfix/__init__.py -> yamlfix/__init__.py
    - Adding src/yamlfix/adapters.py -> yamlfix/adapters.py
    - Adding src/yamlfix/config.py -> yamlfix/config.py
    - Adding src/yamlfix/entrypoints/__init__.py -> yamlfix/entrypoints/__init__.py
    - Adding src/yamlfix/entrypoints/cli.py -> yamlfix/entrypoints/cli.py
    - Adding src/yamlfix/model.py -> yamlfix/model.py
    - Adding src/yamlfix/py.typed -> yamlfix/py.typed
    - Adding src/yamlfix/services.py -> yamlfix/services.py
    - Adding src/yamlfix/version.py -> yamlfix/version.py
    - Adding yamlfix-1.17.0.dist-info/RECORD -> yamlfix-1.17.0.dist-info/RECORD Successfully built yamlfix-1.17.0-py3-none-any.whl
    I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module
    I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module
    I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_yamlfix
    * Building wheel...
    - Adding .pdm-build/yamlfix-1.17.0.dist-info/METADATA -> yamlfix-1.17.0.dist-info/METADATA
    - Adding .pdm-build/yamlfix-1.17.0.dist-info/WHEEL -> yamlfix-1.17.0.dist-info/WHEEL
    - Adding .pdm-build/yamlfix-1.17.0.dist-info/entry_points.txt -> yamlfix-1.17.0.dist-info/entry_points.txt
    - Adding .pdm-build/yamlfix-1.17.0.dist-info/licenses/LICENSE -> yamlfix-1.17.0.dist-info/licenses/LICENSE
    - Adding src/yamlfix/__init__.py -> yamlfix/__init__.py
    - Adding src/yamlfix/adapters.py -> yamlfix/adapters.py
    - Adding src/yamlfix/config.py -> yamlfix/config.py
    - Adding src/yamlfix/entrypoints/__init__.py -> yamlfix/entrypoints/__init__.py
    - Adding src/yamlfix/entrypoints/cli.py -> yamlfix/entrypoints/cli.py
    - Adding src/yamlfix/model.py -> yamlfix/model.py
    - Adding src/yamlfix/py.typed -> yamlfix/py.typed
    - Adding src/yamlfix/services.py -> yamlfix/services.py
    - Adding src/yamlfix/version.py -> yamlfix/version.py
    - Adding yamlfix-1.17.0.dist-info/RECORD -> yamlfix-1.17.0.dist-info/RECORD Successfully built yamlfix-1.17.0-py3-none-any.whl
    I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module
    dh_auto_test -O--buildsystem=pybuild
    I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_yamlfix/build; python3.12 -m pytest tests
    ============================= test session starts ==============================
    platform linux -- Python 3.12.9, pytest-8.3.4, pluggy-1.5.0
    rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_yamlfix/build
    configfile: pyproject.toml
    plugins: xdist-3.6.1, typeguard-4.4.1, cov-5.0.0
    created: 2/2 workers
    2 workers [139 items]

    EEEEEEEEE.E..E..E.E..E..E..E.E.E.E..E.E................................. [ 51%] ................................................................... [100%] ==================================== ERRORS ====================================
    ________________________ ERROR at setup of test_version ________________________
    [gw0] linux -- Python 3.12.9 /usr/bin/python3.12

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    ______________________ ERROR at setup of test_find_files _______________________
    [gw1] linux -- Python 3.12.9 /usr/bin/python3.12

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    ___________________ ERROR at setup of test_corrects_one_file ___________________
    [gw0] linux -- Python 3.12.9 /usr/bin/python3.12

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    _____________________ ERROR at setup of test_no_yaml_files _____________________
    [gw1] linux -- Python 3.12.9 /usr/bin/python3.12

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    _________________ ERROR at setup of test_corrects_three_files __________________
    [gw0] linux -- Python 3.12.9 /usr/bin/python3.12

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    __________________ ERROR at setup of test_std_and_file_error ___________________
    [gw1] linux -- Python 3.12.9 /usr/bin/python3.12

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    _______________ ERROR at setup of test_corrects_code_from_stdin ________________
    [gw0] linux -- Python 3.12.9 /usr/bin/python3.12

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    _____________ ERROR at setup of test_do_not_read_folders_as_files ______________
    [gw1] linux -- Python 3.12.9 /usr/bin/python3.12

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    _________________ ERROR at setup of test_include_exclude_files _________________
    [gw0] linux -- Python 3.12.9 /usr/bin/python3.12

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    ________________ ERROR at setup of test_verbose_option[0-True] _________________
    [gw0] linux -- Python 3.12.9 /usr/bin/python3.12

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    ________________ ERROR at setup of test_verbose_option[0-False] ________________
    [gw0] linux -- Python 3.12.9 /usr/bin/python3.12

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    ________________ ERROR at setup of test_verbose_option[1-True] _________________
    [gw0] linux -- Python 3.12.9 /usr/bin/python3.12

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    ________________ ERROR at setup of test_verbose_option[1-False] ________________
    [gw0] linux -- Python 3.12.9 /usr/bin/python3.12

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    ________________ ERROR at setup of test_verbose_option[2-True] _________________
    [gw0] linux -- Python 3.12.9 /usr/bin/python3.12

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    ________________ ERROR at setup of test_verbose_option[2-False] ________________
    [gw0] linux -- Python 3.12.9 /usr/bin/python3.12

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    _________________ ERROR at setup of test_ignores_correct_files _________________
    [gw0] linux -- Python 3.12.9 /usr/bin/python3.12

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    ________________ ERROR at setup of test_check_one_file_changes _________________
    [gw0] linux -- Python 3.12.9 /usr/bin/python3.12

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    _______________ ERROR at setup of test_check_one_file_no_changes _______________
    [gw0] linux -- Python 3.12.9 /usr/bin/python3.12

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    ____________________ ERROR at setup of test_config_parsing _____________________
    [gw0] linux -- Python 3.12.9 /usr/bin/python3.12

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    __________ ERROR at setup of test_read_prefixed_environment_variables __________
    [gw0] linux -- Python 3.12.9 /usr/bin/python3.12

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    ____________ ERROR at setup of test_sequence_style_env_enum_parsing ____________
    [gw0] linux -- Python 3.12.9 /usr/bin/python3.12

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    =========================== short test summary info ============================
    ERROR tests/e2e/test_cli.py::test_version - TypeError: CliRunner.__init__() g...
    ERROR tests/e2e/test_cli.py::test_find_files - TypeError: CliRunner.__init__(...
    ERROR tests/e2e/test_cli.py::test_corrects_one_file - TypeError: CliRunner.__...
    ERROR tests/e2e/test_cli.py::test_no_yaml_files - TypeError: CliRunner.__init...
    ERROR tests/e2e/test_cli.py::test_corrects_three_files - TypeError: CliRunner...
    ERROR tests/e2e/test_cli.py::test_std_and_file_error - TypeError: CliRunner._...
    ERROR tests/e2e/test_cli.py::test_corrects_code_from_stdin - TypeError: CliRu...
    ERROR tests/e2e/test_cli.py::test_do_not_read_folders_as_files - TypeError: C...
    ERROR tests/e2e/test_cli.py::test_include_exclude_files - TypeError: CliRunne...
    ERROR tests/e2e/test_cli.py::test_verbose_option[0-True] - TypeError: CliRunn...
    ERROR tests/e2e/test_cli.py::test_verbose_option[0-False] - TypeError: CliRun...
    ERROR tests/e2e/test_cli.py::test_verbose_option[1-True] - TypeError: CliRunn...
    ERROR tests/e2e/test_cli.py::test_verbose_option[1-False] - TypeError: CliRun...
    ERROR tests/e2e/test_cli.py::test_verbose_option[2-True] - TypeError: CliRunn...
    ERROR tests/e2e/test_cli.py::test_verbose_option[2-False] - TypeError: CliRun...
    ERROR tests/e2e/test_cli.py::test_ignores_correct_files - TypeError: CliRunne...
    ERROR tests/e2e/test_cli.py::test_check_one_file_changes - TypeError: CliRunn...
    ERROR tests/e2e/test_cli.py::test_check_one_file_no_changes - TypeError: CliR...
    ERROR tests/e2e/test_cli.py::test_config_parsing - TypeError: CliRunner.__ini...
    ERROR tests/e2e/test_cli.py::test_read_prefixed_environment_variables - TypeE...
    ERROR tests/e2e/test_cli.py::test_sequence_style_env_enum_parsing - TypeError...
    ======================== 118 passed, 21 errors in 0.56s ========================
    E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_yamlfix/build; python3.12 -m pytest tests
    I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_yamlfix/build; python3.13 -m pytest tests
    ============================= test session starts ==============================
    platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0
    rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_yamlfix/build
    configfile: pyproject.toml
    plugins: xdist-3.6.1, typeguard-4.4.1, cov-5.0.0
    created: 2/2 workers
    2 workers [139 items]

    EEEEEEEE.E...E..E..E..E..E.E.E.E.EE..E.E................................ [ 51%] ................................................................... [100%] ==================================== ERRORS ====================================
    ______________________ ERROR at setup of test_find_files _______________________
    [gw1] linux -- Python 3.13.2 /usr/bin/python3.13

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    ________________________ ERROR at setup of test_version ________________________
    [gw0] linux -- Python 3.13.2 /usr/bin/python3.13

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    _____________________ ERROR at setup of test_no_yaml_files _____________________
    [gw1] linux -- Python 3.13.2 /usr/bin/python3.13

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    ___________________ ERROR at setup of test_corrects_one_file ___________________
    [gw0] linux -- Python 3.13.2 /usr/bin/python3.13

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    __________________ ERROR at setup of test_std_and_file_error ___________________
    [gw1] linux -- Python 3.13.2 /usr/bin/python3.13

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    _________________ ERROR at setup of test_corrects_three_files __________________
    [gw0] linux -- Python 3.13.2 /usr/bin/python3.13

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    _____________ ERROR at setup of test_do_not_read_folders_as_files ______________
    [gw1] linux -- Python 3.13.2 /usr/bin/python3.13

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    _______________ ERROR at setup of test_corrects_code_from_stdin ________________
    [gw0] linux -- Python 3.13.2 /usr/bin/python3.13

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    _________________ ERROR at setup of test_include_exclude_files _________________
    [gw0] linux -- Python 3.13.2 /usr/bin/python3.13

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    ________________ ERROR at setup of test_verbose_option[0-True] _________________
    [gw0] linux -- Python 3.13.2 /usr/bin/python3.13

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    ________________ ERROR at setup of test_verbose_option[0-False] ________________
    [gw0] linux -- Python 3.13.2 /usr/bin/python3.13

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    ________________ ERROR at setup of test_verbose_option[1-True] _________________
    [gw0] linux -- Python 3.13.2 /usr/bin/python3.13

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    ________________ ERROR at setup of test_verbose_option[1-False] ________________
    [gw0] linux -- Python 3.13.2 /usr/bin/python3.13

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    ________________ ERROR at setup of test_verbose_option[2-True] _________________
    [gw0] linux -- Python 3.13.2 /usr/bin/python3.13

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    ________________ ERROR at setup of test_verbose_option[2-False] ________________
    [gw0] linux -- Python 3.13.2 /usr/bin/python3.13

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    _________________ ERROR at setup of test_ignores_correct_files _________________
    [gw0] linux -- Python 3.13.2 /usr/bin/python3.13

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    ________________ ERROR at setup of test_check_one_file_changes _________________
    [gw0] linux -- Python 3.13.2 /usr/bin/python3.13

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    _______________ ERROR at setup of test_check_one_file_no_changes _______________
    [gw0] linux -- Python 3.13.2 /usr/bin/python3.13

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    ____________________ ERROR at setup of test_config_parsing _____________________
    [gw0] linux -- Python 3.13.2 /usr/bin/python3.13

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    __________ ERROR at setup of test_read_prefixed_environment_variables __________
    [gw0] linux -- Python 3.13.2 /usr/bin/python3.13

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    ____________ ERROR at setup of test_sequence_style_env_enum_parsing ____________
    [gw0] linux -- Python 3.13.2 /usr/bin/python3.13

    @pytest.fixture(name="runner")
    def fixture_runner() -> CliRunner:
    """Configure the Click cli test runner."""
    return CliRunner(mix_stderr=False)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    tests/e2e/test_cli.py:22: TypeError
    =========================== short test summary info ============================
    ERROR tests/e2e/test_cli.py::test_find_files - TypeError: CliRunner.__init__(...
    ERROR tests/e2e/test_cli.py::test_version - TypeError: CliRunner.__init__() g...
    ERROR tests/e2e/test_cli.py::test_no_yaml_files - TypeError: CliRunner.__init...
    ERROR tests/e2e/test_cli.py::test_corrects_one_file - TypeError: CliRunner.__...
    ERROR tests/e2e/test_cli.py::test_std_and_file_error - TypeError: CliRunner._...
    ERROR tests/e2e/test_cli.py::test_corrects_three_files - TypeError: CliRunner...
    ERROR tests/e2e/test_cli.py::test_do_not_read_folders_as_files - TypeError: C...
    ERROR tests/e2e/test_cli.py::test_corrects_code_from_stdin - TypeError: CliRu...
    ERROR tests/e2e/test_cli.py::test_include_exclude_files - TypeError: CliRunne...
    ERROR tests/e2e/test_cli.py::test_verbose_option[0-True] - TypeError: CliRunn...
    ERROR tests/e2e/test_cli.py::test_verbose_option[0-False] - TypeError: CliRun...
    ERROR tests/e2e/test_cli.py::test_verbose_option[1-True] - TypeError: CliRunn...
    ERROR tests/e2e/test_cli.py::test_verbose_option[1-False] - TypeError: CliRun...
    ERROR tests/e2e/test_cli.py::test_verbose_option[2-True] - TypeError: CliRunn...
    ERROR tests/e2e/test_cli.py::test_verbose_option[2-False] - TypeError: CliRun...
    ERROR tests/e2e/test_cli.py::test_ignores_correct_files - TypeError: CliRunne...
    ERROR tests/e2e/test_cli.py::test_check_one_file_changes - TypeError: CliRunn...
    ERROR tests/e2e/test_cli.py::test_check_one_file_no_changes - TypeError: CliR...
    ERROR tests/e2e/test_cli.py::test_config_parsing - TypeError: CliRunner.__ini...
    ERROR tests/e2e/test_cli.py::test_read_prefixed_environment_variables - TypeE...
    ERROR tests/e2e/test_cli.py::test_sequence_style_env_enum_parsing - TypeError...
    ======================== 118 passed, 21 errors in 0.53s ========================
    E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_yamlfix/build; python3.13 -m pytest tests
    dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.13" returned exit code 13
    make: *** [debian/rules:19: binary] Error 25
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

    The above is just how the build ends and not necessarily the most relevant part.
    If required, the full build log is available here:

    https://people.debian.org/~sanvila/build-logs/202502/

    About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages.

    If you could not reproduce the bug please contact me privately, as I
    am willing to provide ssh access to a virtual machine where the bug is
    fully reproducible.

    If this is really a bug in one of the build-depends, please use
    reassign and add an affects on src:python-yamlfix, so that this is still visible in the BTS web page for this package.

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sat Feb 22 19:50:01 2025
    This is a multi-part message in MIME format...

    Your message dated Sat, 22 Feb 2025 20:33:14 +0200
    with message-id <Z7oYau54uaE7hKkx@straylight.m.ringlet.net>
    and subject line Fixed in version 1.17.0-4
    has caused the Debian Bug report #1098617,
    regarding python-yamlfix: FTBFS: E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1098617: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098617
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 21 Feb 2025 23:29:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-120.5 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,
    RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,USER_IN_DKIM_WELCOMELIST,
    USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 37; hammy, 150; neutral, 280; spammy,
    0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--pkgbuilddir,
    0.000-+--PKGBUILDDIR, 0.000-+--sk:dh_auto, 0.000-+--H*F:U*sanvila Return-path: <sanvila@debian.org>
    Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61