• Bug#1066733: padatious: FTBFS: dh_auto_test: error: pybuild --test --te

    From Lucas Nussbaum@21:1/5 to All on Wed Mar 13 16:10:08 2024
    Source: padatious
    Version: 0.4.8-2.1
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240313 ftbfs-trixie

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.


    Relevant part (hopefully):
    ==================================== ERRORS ====================================
    ____________________ ERROR at setup of TestAll.test_simple _____________________

    cls = <class '_pytest.runner.CallInfo'>
    func = <function call_runtest_hook.<locals>.<lambda> at 0x7fc67e0c5f80>
    when = 'setup'
    reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)

    @classmethod
    def from_call(
    cls,
    func: Callable[[], TResult],
    when: Literal["collect", "setup", "call", "teardown"],
    reraise: Optional[
    Union[Type[BaseException], Tuple[Type[BaseException], ...]]
    ] = None,
    ) -> "CallInfo[TResult]":
    """Call func, wrapping the result in a CallInfo.

    :param func:
    The function to call. Called without arguments.
    :param when:
    The phase in which the function is called.
    :param reraise:
    Exception or exceptions that shall propagate if raised by the
    function, instead of being wrapped in the CallInfo.
    """
    excinfo = None
    start = timing.time()
    precise_start = timing.perf_counter()
    try:
    result: Optional[TResult] = func()

    /usr/lib/python3/dist-packages/_pytest/runner.py:342:
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda>
    lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
    /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup
    yield from unraisable_exception_runtest_hook() /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook
    yield
    /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup
    yield from self._runtest_for(item, "setup") /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for
    yield
    /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup
    return (yield) /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in pytest_runtest_setup
    yield from thread_exception_runtest_hook() /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook
    yield
    /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup
    item.session._setupstate.setup(item) /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup
    raise exc
    /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup
    col.setup()
    /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup
    self._request._fillfixtures() /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures
    item.funcargs[argname] = self.getfixturevalue(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue
    fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in _get_active_fixturedef
    self._compute_fixture_value(fixturedef) /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in _compute_fixture_value
    fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute
    result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
    /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup
    return (yield)
    /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup
    result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func
    fixture_result = next(generator)
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    self = <tests.test_all.TestAll object at 0x7fc67e14aa80>
    request = <SubRequest '_xunit_setup_method_fixture_TestAll' for <Function test_simple>>

    @fixtures.fixture(
    autouse=True,
    scope="function",
    # Use a unique name to speed up lookup.
    name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}",
    )
    def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]:
    method = request.function
    if setup_method is not None:
    func = getattr(self, setup_name)
    _call_with_optional_argument(func, method)
    if emit_nose_setup_warning:
    warnings.warn(
    NOSE_SUPPORT_METHOD.format(
    nodeid=request.node.nodeid, method="setup"
    ),
    stacklevel=2,
    )
    E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release.
    E .pybuild/cpython3_3.12_padatious/build/tests/test_all.py::TestAll::test_simple is using nose-specific method: `setup(self)`
    E To remove this warning, rename it to `setup_method(self)`
    E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose

    /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning _______________ ERROR at setup of TestAll.test_single_extraction _______________

    cls = <class '_pytest.runner.CallInfo'>
    func = <function call_runtest_hook.<locals>.<lambda> at 0x7fc67e0c7e20>
    when = 'setup'
    reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)

    @classmethod
    def from_call(
    cls,
    func: Callable[[], TResult],
    when: Literal["collect", "setup", "call", "teardown"],
    reraise: Optional[
    Union[Type[BaseException], Tuple[Type[BaseException], ...]]
    ] = None,
    ) -> "CallInfo[TResult]":
    """Call func, wrapping the result in a CallInfo.

    :param func:
    The function to call. Called without arguments.
    :param when:
    The phase in which the function is called.
    :param reraise:
    Exception or exceptions that shall propagate if raised by the
    function, instead of being wrapped in the CallInfo.
    """
    excinfo = None
    start = timing.time()
    precise_start = timing.perf_counter()
    try:
    result: Optional[TResult] = func()

    /usr/lib/python3/dist-packages/_pytest/runner.py:342:
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda>
    lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
    /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup
    yield from unraisable_exception_runtest_hook() /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook
    yield
    /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup
    yield from self._runtest_for(item, "setup") /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for
    yield
    /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup
    return (yield) /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in pytest_runtest_setup
    yield from thread_exception_runtest_hook() /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook
    yield
    /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup
    item.session._setupstate.setup(item) /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup
    raise exc
    /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup
    col.setup()
    /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup
    self._request._fillfixtures() /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures
    item.funcargs[argname] = self.getfixturevalue(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue
    fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in _get_active_fixturedef
    self._compute_fixture_value(fixturedef) /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in _compute_fixture_value
    fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute
    result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
    /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup
    return (yield)
    /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup
    result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func
    fixture_result = next(generator)
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    self = <tests.test_all.TestAll object at 0x7fc67e1586e0>
    request = <SubRequest '_xunit_setup_method_fixture_TestAll' for <Function test_single_extraction>>

    @fixtures.fixture(
    autouse=True,
    scope="function",
    # Use a unique name to speed up lookup.
    name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}",
    )
    def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]:
    method = request.function
    if setup_method is not None:
    func = getattr(self, setup_name)
    _call_with_optional_argument(func, method)
    if emit_nose_setup_warning:
    warnings.warn(
    NOSE_SUPPORT_METHOD.format(
    nodeid=request.node.nodeid, method="setup"
    ),
    stacklevel=2,
    )
    E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release.
    E .pybuild/cpython3_3.12_padatious/build/tests/test_all.py::TestAll::test_single_extraction is using nose-specific method: `setup(self)`
    E To remove this warning, rename it to `setup_method(self)`
    E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose

    /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning _________ ERROR at setup of TestAll.test_single_extraction_front_back __________

    cls = <class '_pytest.runner.CallInfo'>
    func = <function call_runtest_hook.<locals>.<lambda> at 0x7fc67e0c7560>
    when = 'setup'
    reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)

    @classmethod
    def from_call(
    cls,
    func: Callable[[], TResult],
    when: Literal["collect", "setup", "call", "teardown"],
    reraise: Optional[
    Union[Type[BaseException], Tuple[Type[BaseException], ...]]
    ] = None,
    ) -> "CallInfo[TResult]":
    """Call func, wrapping the result in a CallInfo.

    :param func:
    The function to call. Called without arguments.
    :param when:
    The phase in which the function is called.
    :param reraise:
    Exception or exceptions that shall propagate if raised by the
    function, instead of being wrapped in the CallInfo.
    """
    excinfo = None
    start = timing.time()
    precise_start = timing.perf_counter()
    try:
    result: Optional[TResult] = func()

    /usr/lib/python3/dist-packages/_pytest/runner.py:342:
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda>
    lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
    /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup
    yield from unraisable_exception_runtest_hook() /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook
    yield
    /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup
    yield from self._runtest_for(item, "setup") /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for
    yield
    /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup
    return (yield) /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in pytest_runtest_setup
    yield from thread_exception_runtest_hook() /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook
    yield
    /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup
    item.session._setupstate.setup(item) /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup
    raise exc
    /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup
    col.setup()
    /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup
    self._request._fillfixtures() /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures
    item.funcargs[argname] = self.getfixturevalue(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue
    fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in _get_active_fixturedef
    self._compute_fixture_value(fixturedef) /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in _compute_fixture_value
    fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute
    result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
    /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup
    return (yield)
    /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup
    result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func
    fixture_result = next(generator)
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    self = <tests.test_all.TestAll object at 0x7fc67e137cb0>
    request = <SubRequest '_xunit_setup_method_fixture_TestAll' for <Function test_single_extraction_front_back>>

    @fixtures.fixture(
    autouse=True,
    scope="function",
    # Use a unique name to speed up lookup.
    name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}",
    )
    def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]:
    method = request.function
    if setup_method is not None:
    func = getattr(self, setup_name)
    _call_with_optional_argument(func, method)
    if emit_nose_setup_warning:
    warnings.warn(
    NOSE_SUPPORT_METHOD.format(
    nodeid=request.node.nodeid, method="setup"
    ),
    stacklevel=2,
    )
    E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release.
    E .pybuild/cpython3_3.12_padatious/build/tests/test_all.py::TestAll::test_single_extraction_front_back is using nose-specific method: `setup(self)`
    E To remove this warning, rename it to `setup_method(self)`
    E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose

    /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning _____________ ERROR at setup of TestAll.test_multi_extraction_easy _____________

    cls = <class '_pytest.runner.CallInfo'>
    func = <function call_runtest_hook.<locals>.<lambda> at 0x7fc67e0b6fc0>
    when = 'setup'
    reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)

    @classmethod
    def from_call(
    cls,
    func: Callable[[], TResult],
    when: Literal["collect", "setup", "call", "teardown"],
    reraise: Optional[
    Union[Type[BaseException], Tuple[Type[BaseException], ...]]
    ] = None,
    ) -> "CallInfo[TResult]":
    """Call func, wrapping the result in a CallInfo.

    :param func:
    The function to call. Called without arguments.
    :param when:
    The phase in which the function is called.
    :param reraise:
    Exception or exceptions that shall propagate if raised by the
    function, instead of being wrapped in the CallInfo.
    """
    excinfo = None
    start = timing.time()
    precise_start = timing.perf_counter()
    try:
    result: Optional[TResult] = func()

    /usr/lib/python3/dist-packages/_pytest/runner.py:342:
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda>
    lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
    /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup
    yield from unraisable_exception_runtest_hook() /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook
    yield
    /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup
    yield from self._runtest_for(item, "setup") /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for
    yield
    /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup
    return (yield) /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in pytest_runtest_setup
    yield from thread_exception_runtest_hook() /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook
    yield
    /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup
    item.session._setupstate.setup(item) /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup
    raise exc
    /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup
    col.setup()
    /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup
    self._request._fillfixtures() /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures
    item.funcargs[argname] = self.getfixturevalue(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue
    fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in _get_active_fixturedef
    self._compute_fixture_value(fixturedef) /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in _compute_fixture_value
    fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute
    result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
    /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup
    return (yield)
    /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup
    result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func
    fixture_result = next(generator)
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    self = <tests.test_all.TestAll object at 0x7fc67e0ac140>
    request = <SubRequest '_xunit_setup_method_fixture_TestAll' for <Function test_multi_extraction_easy>>

    @fixtures.fixture(
    autouse=True,
    scope="function",
    # Use a unique name to speed up lookup.
    name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}",
    )
    def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]:
    method = request.function
    if setup_method is not None:
    func = getattr(self, setup_name)
    _call_with_optional_argument(func, method)
    if emit_nose_setup_warning:
    warnings.warn(
    NOSE_SUPPORT_METHOD.format(
    nodeid=request.node.nodeid, method="setup"
    ),
    stacklevel=2,
    )
    E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release.
    E .pybuild/cpython3_3.12_padatious/build/tests/test_all.py::TestAll::test_multi_extraction_easy is using nose-specific method: `setup(self)`
    E To remove this warning, rename it to `setup_method(self)`
    E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose

    /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning _____________ ERROR at setup of TestAll.test_extraction_dependence _____________

    cls = <class '_pytest.runner.CallInfo'>
    func = <function call_runtest_hook.<locals>.<lambda> at 0x7fc67e0c76a0>
    when = 'setup'
    reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)

    @classmethod
    def from_call(
    cls,
    func: Callable[[], TResult],
    when: Literal["collect", "setup", "call", "teardown"],
    reraise: Optional[
    Union[Type[BaseException], Tuple[Type[BaseException], ...]]
    ] = None,
    ) -> "CallInfo[TResult]":
    """Call func, wrapping the result in a CallInfo.

    :param func:
    The function to call. Called without arguments.
    :param when:
    The phase in which the function is called.
    :param reraise:
    Exception or exceptions that shall propagate if raised by the
    function, instead of being wrapped in the CallInfo.
    """
    excinfo = None
    start = timing.time()
    precise_start = timing.perf_counter()
    try:
    result: Optional[TResult] = func()

    /usr/lib/python3/dist-packages/_pytest/runner.py:342:
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda>
    lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
    /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup
    yield from unraisable_exception_runtest_hook() /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook
    yield
    /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup
    yield from self._runtest_for(item, "setup") /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for
    yield
    /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup
    return (yield) /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in pytest_runtest_setup
    yield from thread_exception_runtest_hook() /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook
    yield
    /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup
    item.session._setupstate.setup(item) /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup
    raise exc
    /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup
    col.setup()
    /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup
    self._request._fillfixtures() /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures
    item.funcargs[argname] = self.getfixturevalue(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue
    fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in _get_active_fixturedef
    self._compute_fixture_value(fixturedef) /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in _compute_fixture_value
    fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute
    result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
    /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup
    return (yield)
    /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup
    result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func
    fixture_result = next(generator)
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    self = <tests.test_all.TestAll object at 0x7fc67e0acda0>
    request = <SubRequest '_xunit_setup_method_fixture_TestAll' for <Function test_extraction_dependence>>

    @fixtures.fixture(
    autouse=True,
    scope="function",
    # Use a unique name to speed up lookup.
    name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}",
    )
    def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]:
    method = request.function
    if setup_method is not None:
    func = getattr(self, setup_name)
    _call_with_optional_argument(func, method)
    if emit_nose_setup_warning:
    warnings.warn(
    NOSE_SUPPORT_METHOD.format(
    nodeid=request.node.nodeid, method="setup"
    ),
    stacklevel=2,
    )
    E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release.
    E .pybuild/cpython3_3.12_padatious/build/tests/test_all.py::TestAll::test_extraction_dependence is using nose-specific method: `setup(self)`
    E To remove this warning, rename it to `setup_method(self)`
    E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose

    /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning ______________ ERROR at setup of TestAll.test_entity_recognition _______________

    cls = <class '_pytest.runner.CallInfo'>
    func = <function call_runtest_hook.<locals>.<lambda> at 0x7fc67e0b6fc0>
    when = 'setup'
    reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)

    @classmethod
    def from_call(
    cls,
    func: Callable[[], TResult],
    when: Literal["collect", "setup", "call", "teardown"],
    reraise: Optional[
    Union[Type[BaseException], Tuple[Type[BaseException], ...]]
    ] = None,
    ) -> "CallInfo[TResult]":
    """Call func, wrapping the result in a CallInfo.

    :param func:
    The function to call. Called without arguments.
    :param when:
    The phase in which the function is called.
    :param reraise:
    Exception or exceptions that shall propagate if raised by the
    function, instead of being wrapped in the CallInfo.
    """
    excinfo = None
    start = timing.time()
    precise_start = timing.perf_counter()
    try:
    result: Optional[TResult] = func()

    /usr/lib/python3/dist-packages/_pytest/runner.py:342:
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda>
    lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
    /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup
    yield from unraisable_exception_runtest_hook() /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook
    yield
    /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup
    yield from self._runtest_for(item, "setup") /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for
    yield
    /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup
    return (yield)

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)