Source: pyfuse3
Version: 3.2.0-3
Severity: important
Tags: ftbfs
User: debian-pyt...@lists.debian.org
Usertags: python3.10

pyfuse3 ftbfs with python3-defaults from experimental:

[...]
I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyfuse3/build;
python3.10 -m pytest --installed "/<<PKGBUILDDIR>>/test/"
============================= test session starts ==============================
platform linux -- Python 3.10.0+, pytest-6.2.5, py-1.10.0, pluggy-0.13.0 --
/usr/bin/python3.10
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>/test, configfile: pytest.ini
collecting ... collected 17 items

../../../test/test_api.py::test_listdir PASSED                           [  5%]
../../../test/test_api.py::test_sup_groups PASSED                        [ 11%]
../../../test/test_api.py::test_syncfs PASSED                            [ 17%]
../../../test/test_api.py::test_entry_res PASSED                         [ 23%]
../../../test/test_api.py::test_xattr PASSED                             [ 29%]
../../../test/test_api.py::test_copy PASSED                              [ 35%]
../../../test/test_examples.py::test_hello[hello.py] Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/trio/_core/_multierror.py", line 435, in
trio_excepthook
    for chunk in traceback.format_exception(etype, value, tb):
  File "/usr/lib/python3.10/traceback.py", line 135, in format_exception
    te = TracebackException(type(value), value, tb, limit=limit, compact=True)
TypeError: traceback_exception_init() got an unexpected keyword argument 
'compact'

Original exception was:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 269, in 
wrap_session
    session.exitstatus = doit(config, session) or 0
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 323, in _main
    config.hook.pytest_runtestloop(session=session)
  File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 286, in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
  File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 92, in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 83, in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
  File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 208, in 
_multicall
    return outcome.get_result()
  File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 80, in 
get_result
    raise ex[1].with_traceback(ex[2])
  File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 187, in 
_multicall
    res = hook_impl.function(*args)
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 348, in
pytest_runtestloop
    item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 286, in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
  File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 92, in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 83, in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
  File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 208, in 
_multicall
    return outcome.get_result()
  File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 80, in 
get_result
    raise ex[1].with_traceback(ex[2])
  File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 187, in 
_multicall
    res = hook_impl.function(*args)
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 109, in
pytest_runtest_protocol
    runtestprotocol(item, nextitem=nextitem)
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 120, in
runtestprotocol
    rep = call_and_report(item, "setup", log)
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 217, in
call_and_report
    report: TestReport = hook.pytest_runtest_makereport(item=item, call=call)
  File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 286, in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
  File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 92, in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 83, in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
  File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 203, in 
_multicall
    gen.send(outcome)
  File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 272, in
pytest_runtest_makereport
    rep = outcome.get_result()
  File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 80, in 
get_result
    raise ex[1].with_traceback(ex[2])
  File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 187, in 
_multicall
    res = hook_impl.function(*args)
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 337, in
pytest_runtest_makereport
    return TestReport.from_item_and_call(item, call)
  File "/usr/lib/python3/dist-packages/_pytest/reports.py", line 317, in
from_item_and_call
    r = excinfo._getreprcrash()
  File "/usr/lib/python3/dist-packages/_pytest/_code/code.py", line 585, in
_getreprcrash
    exconly = self.exconly(tryshort=True)
  File "/usr/lib/python3/dist-packages/_pytest/_code/code.py", line 567, in 
exconly
    lines = format_exception_only(self.type, self.value)
  File "/usr/lib/python3.10/traceback.py", line 155, in format_exception_only
    te = TracebackException(type(value), value, None, compact=True)
TypeError: traceback_exception_init() got an unexpected keyword argument 
'compact'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 5, in <module>
    raise SystemExit(pytest.console_main())
  File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 185, in
console_main
    code = main()
  File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 162, in
main
    ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 286, in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
  File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 92, in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 83, in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
  File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 208, in 
_multicall
    return outcome.get_result()
  File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 80, in 
get_result
    raise ex[1].with_traceback(ex[2])
  File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 187, in 
_multicall
    res = hook_impl.function(*args)
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 316, in
pytest_cmdline_main
    return wrap_session(config, _main)
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 289, in 
wrap_session
    config.notify_exception(excinfo, config.option)
  File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 1034,
in notify_exception
    excrepr = excinfo.getrepr(
  File "/usr/lib/python3/dist-packages/_pytest/_code/code.py", line 632, in 
getrepr
    traceback.format_exception(
  File "/usr/lib/python3.10/traceback.py", line 135, in format_exception
    te = TracebackException(type(value), value, tb, limit=limit, compact=True)
TypeError: traceback_exception_init() got an unexpected keyword argument 
'compact'


========================= 6 passed, 1 warning in 0.53s =========================
E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyfuse3/build; python3.10 -m pytest
--installed "{dir}/test/"

Reply via email to