Source: python-click Version: 6.6-1 Severity: serious Tags: buster sid Some recent change in usntable makes python-click FTBFS:
https://tests.reproducible-builds.org/debian/history/python-click.html https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-click.html ... dh_auto_test -O--buildsystem=pybuild I: pybuild base:184: cd /build/1st/python-click-6.6/.pybuild/pythonX.Y_2.7/build; python2.7 -m pytest /build/1st/python-click-6.6/tests/ ============================= test session starts ============================== platform linux2 -- Python 2.7.13, pytest-3.1.3, py-1.4.34, pluggy-0.4.0 rootdir: /build/1st/python-click-6.6, inifile: collected 117 items ../../../tests/test_arguments.py ................. ../../../tests/test_bashcomplete.py . ../../../tests/test_basic.py ............... ../../../tests/test_chain.py .......x ../../../tests/test_commands.py .......... ../../../tests/test_compat.py F. ../../../tests/test_context.py .......... ../../../tests/test_defaults.py ... ../../../tests/test_formatting.py .... ../../../tests/test_imports.py . ../../../tests/test_normalization.py ... ../../../tests/test_options.py .................... ../../../tests/test_termui.py . ../../../tests/test_testing.py ........ ../../../tests/test_utils.py .............. =================================== FAILURES =================================== ____________________________ test_legacy_callbacks _____________________________ runner = <click.testing.CliRunner object at 0x7f13076e89d0> def test_legacy_callbacks(runner): def legacy_callback(ctx, value): return value.upper() @click.command() @click.option('--foo', callback=legacy_callback) def cli(foo): click.echo(foo) result = runner.invoke(cli, ['--foo', 'wat']) assert result.exit_code == 0 assert 'WAT' in result.output > assert 'Invoked legacy parameter callback' in result.output E AssertionError: assert 'Invoked legacy parameter callback' in 'WAT\n' E + where 'WAT\n' = <Result okay>.output ../../../tests/test_compat.py:17: AssertionError =============================== warnings summary =============================== tests/test_basic.py::test_evaluation_order click/core.py:874: Warning: Invoked legacy parameter callback "<function memo at 0x7f13076a9b18>". The new signature for such callbacks starting with click 2.0 is (ctx, param, value). value, args = param.handle_parse_result(ctx, opts, args) tests/test_compat.py::test_legacy_callbacks click/core.py:874: Warning: Invoked legacy parameter callback "<function legacy_callback at 0x7f1307681de8>". The new signature for such callbacks starting with click 2.0 is (ctx, param, value). value, args = param.handle_parse_result(ctx, opts, args) tests/test_options.py::test_custom_validation click/core.py:874: Warning: Invoked legacy parameter callback "<function validate_pos_int at 0x7f1307681ed8>". The new signature for such callbacks starting with click 2.0 is (ctx, param, value). value, args = param.handle_parse_result(ctx, opts, args) -- Docs: http://doc.pytest.org/en/latest/warnings.html ========= 1 failed, 115 passed, 1 xfailed, 3 warnings in 1.05 seconds ========== E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd /build/1st/python-click-6.6/.pybuild/pythonX.Y_2.7/build; python2.7 -m pytest {dir}/tests/ dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13 debian/rules:13: recipe for target 'build' failed make: *** [build] Error 25