Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Move pytest config into pyproject.toml #4184

Merged
merged 3 commits into from
Mar 21, 2025

Conversation

antonpirker
Copy link
Member

Consolidate configuration into pyproject.toml.

Copy link

codecov bot commented Mar 21, 2025

❌ 2 Tests Failed:

Tests completed Failed Passed Skipped
23784 2 23782 5850
View the top 2 failed test(s) by shortest run time
tests.test_basics test_staticmethod_tracing
Stack Traces | 0.129s run time
tests/test_basics.py:956: in test_staticmethod_tracing
    assert fake_start_child.call_count == 1
E   AssertionError: assert 2 == 1
E    +  where 2 = <MagicMock name='mock.start_child' id='140699651213584'>.call_count
tests.test_transport test_transport_works[greenlet-False-None-9-True-flush-True]
Stack Traces | 0.692s run time
tests/test_transport.py:186: in test_transport_works
    assert not err and not out
E   assert (not '--- Logging error ---\nTraceback (most recent call last):\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/logging/__init__.py", line 1103, in emit\n    stream.write(msg + self.terminator)\nRuntimeError: reentrant call inside <_io.BufferedWriter name=\'<stderr>\'>\nCall stack:\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/runpy.py", line 196, in _run_module_as_main\n    return _run_code(code, main_globals, None,\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/runpy.py", line 86, in _run_code\n    exec(code, run_globals)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10....../site-packages/pytest/__main__.py", line 9, in <module>\n    raise SystemExit(pytest.console_main())\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10.../_pytest/config/__init__.py", line 201, in console_main\n    code = main()\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10.../_pytest/config/__init__.py", line 175, in main\n    ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_hooks.py", line 513, in __call__\n    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_manager.py", line 120, in _hookexec\n    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_callers.py", line 103, in _multicall\n    res = hook_impl.function(*args)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10......................../site-packages/_pytest/main.py", line 330, in pytest_cmdline_main\n    return wrap_session(config, _main)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10......................../site-packages/_pytest/main.py", line 283, in wrap_session\n    session.exitstatus = doit(config, session) or 0\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10......................../site-packages/_pytest/main.py", line 337, in _main\n    config.hook.pytest_runtestloop(session=session)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_hooks.py", line 513, in __call__\n    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_manager.py", line 120, in _hookexec\n    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_callers.py", line 103, in _multicall\n    res = hook_impl.function(*args)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10......................../site-packages/_pytest/main.py", line 362, in pytest_runtestloop\n    item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_hooks.py", line 513, in __call__\n    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_manager.py", line 120, in _hookexec\n    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_callers.py", line 103, in _multicall\n    res = hook_impl.function(*args)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10................../site-packages/pytest_forked/__init__.py", line 51, in pytest_runtest_protocol\n    reports = forked_run_report(item)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10................../site-packages/pytest_forked/__init__.py", line 73, in forked_run_report\n    ff = py.process.ForkedFunc(runforked)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10.../py/_process/forkedfunc.py", line 50, in __init__\n    self._child(nice_level, child_on_start, child_on_exit)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10.../py/_process/forkedfunc.py", line 65, in _child\n    retval = self.fun(*self.args, **self.kwargs)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10................../site-packages/pytest_forked/__init__.py", line 68, in runforked\n    reports = runtestprotocol(item, log=False)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/_pytest/runner.py", line 132, in runtestprotocol\n    reports.append(call_and_report(item, "call", log))\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/_pytest/runner.py", line 241, in call_and_report\n    call = CallInfo.from_call(\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/_pytest/runner.py", line 341, in from_call\n    result: TResult | None = func()\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/_pytest/runner.py", line 242, in <lambda>\n    lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_hooks.py", line 513, in __call__\n    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_manager.py", line 120, in _hookexec\n    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_callers.py", line 103, in _multicall\n    res = hook_impl.function(*args)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/_pytest/runner.py", line 174, in pytest_runtest_call\n    item.runtest()\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............/site-packages/_pytest/python.py", line 1627, in runtest\n    self.ihook.pytest_pyfunc_call(pyfuncitem=self)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_hooks.py", line 513, in __call__\n    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_manager.py", line 120, in _hookexec\n    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_callers.py", line 103, in _multicall\n    res = hook_impl.function(*args)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call\n    result = testfunction(**testargs)\n  File ".../sentry-python/tests/test_transport.py", line 183, in test_transport_works\n    getattr(client, client_flush_method)()\n  File ".../sentry-python/sentry_sdk/client.py", line 1046, in flush\n    self.transport.flush(timeout=timeout, callback=callback)\n  File ".../sentry-python/sentry_sdk/transport.py", line 581, in flush\n    self._worker.flush(timeout, callback)\n  File ".../sentry-python/sentry_sdk/worker.py", line 96, in flush\n    logger.debug("background worker got flush request")\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/logging/__init__.py", line 1465, in debug\n    self._log(DEBUG, msg, args, **kwargs)\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/logging/__init__.py", line 1624, in _log\n    self.handle(record)\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/logging/__init__.py", line 1634, in handle\n    self.callHandlers(record)\n  File ".../sentry_sdk/integrations/logging.py", line 98, in sentry_patched_callhandlers\n    return old_callhandlers(self, record)\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/logging/__init__.py", line 1696, in callHandlers\n    hdlr.handle(record)\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/logging/__init__.py", line 968, in handle\n    self.emit(record)\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/logging/__init__.py", line 1103, in emit\n    stream.write(msg + self.terminator)\n  File ".../sentry-python/sentry_sdk/transport.py", line 164, in __del__\n    self.kill()\n  File ".../sentry-python/sentry_sdk/transport.py", line 585, in kill\n    logger.debug("Killing HTTP transport")\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/logging/__init__.py", line 1465, in debug\n    self._log(DEBUG, msg, args, **kwargs)\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/logging/__init__.py", line 1624, in _log\n    self.handle(record)\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/logging/__init__.py", line 1634, in handle\n    self.callHandlers(record)\n  File ".../sentry_sdk/integrations/logging.py", line 98, in sentry_patched_callhandlers\n    return old_callhandlers(self, record)\nMessage: \'Killing HTTP transport\'\nArguments: ()\n--- Logging error ---\nTraceback (most recent call last):\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/logging/__init__.py", line 1103, in emit\n    stream.write(msg + self.terminator)\nRuntimeError: reentrant call inside <_io.BufferedWriter name=\'<stderr>\'>\nCall stack:\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/runpy.py", line 196, in _run_module_as_main\n    return _run_code(code, main_globals, None,\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/runpy.py", line 86, in _run_code\n    exec(code, run_globals)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10....../site-packages/pytest/__main__.py", line 9, in <module>\n    raise SystemExit(pytest.console_main())\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10.../_pytest/config/__init__.py", line 201, in console_main\n    code = main()\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10.../_pytest/config/__init__.py", line 175, in main\n    ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_hooks.py", line 513, in __call__\n    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_manager.py", line 120, in _hookexec\n    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_callers.py", line 103, in _multicall\n    res = hook_impl.function(*args)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10......................../site-packages/_pytest/main.py", line 330, in pytest_cmdline_main\n    return wrap_session(config, _main)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10......................../site-packages/_pytest/main.py", line 283, in wrap_session\n    session.exitstatus = doit(config, session) or 0\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10......................../site-packages/_pytest/main.py", line 337, in _main\n    config.hook.pytest_runtestloop(session=session)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_hooks.py", line 513, in __call__\n    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_manager.py", line 120, in _hookexec\n    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_callers.py", line 103, in _multicall\n    res = hook_impl.function(*args)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10......................../site-packages/_pytest/main.py", line 362, in pytest_runtestloop\n    item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_hooks.py", line 513, in __call__\n    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_manager.py", line 120, in _hookexec\n    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_callers.py", line 103, in _multicall\n    res = hook_impl.function(*args)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10................../site-packages/pytest_forked/__init__.py", line 51, in pytest_runtest_protocol\n    reports = forked_run_report(item)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10................../site-packages/pytest_forked/__init__.py", line 73, in forked_run_report\n    ff = py.process.ForkedFunc(runforked)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10.../py/_process/forkedfunc.py", line 50, in __init__\n    self._child(nice_level, child_on_start, child_on_exit)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10.../py/_process/forkedfunc.py", line 65, in _child\n    retval = self.fun(*self.args, **self.kwargs)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10................../site-packages/pytest_forked/__init__.py", line 68, in runforked\n    reports = runtestprotocol(item, log=False)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/_pytest/runner.py", line 132, in runtestprotocol\n    reports.append(call_and_report(item, "call", log))\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/_pytest/runner.py", line 241, in call_and_report\n    call = CallInfo.from_call(\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/_pytest/runner.py", line 341, in from_call\n    result: TResult | None = func()\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/_pytest/runner.py", line 242, in <lambda>\n    lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_hooks.py", line 513, in __call__\n    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_manager.py", line 120, in _hookexec\n    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_callers.py", line 103, in _multicall\n    res = hook_impl.function(*args)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/_pytest/runner.py", line 174, in pytest_runtest_call\n    item.runtest()\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............/site-packages/_pytest/python.py", line 1627, in runtest\n    self.ihook.pytest_pyfunc_call(pyfuncitem=self)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_hooks.py", line 513, in __call__\n    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_manager.py", line 120, in _hookexec\n    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............................../site-packages/pluggy/_callers.py", line 103, in _multicall\n    res = hook_impl.function(*args)\n  File ".../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10............/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call\n    result = testfunction(**testargs)\n  File ".../sentry-python/tests/test_transport.py", line 183, in test_transport_works\n    getattr(client, client_flush_method)()\n  File ".../sentry-python/sentry_sdk/client.py", line 1046, in flush\n    self.transport.flush(timeout=timeout, callback=callback)\n  File ".../sentry-python/sentry_sdk/transport.py", line 581, in flush\n    self._worker.flush(timeout, callback)\n  File ".../sentry-python/sentry_sdk/worker.py", line 96, in flush\n    logger.debug("background worker got flush request")\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/logging/__init__.py", line 1465, in debug\n    self._log(DEBUG, msg, args, **kwargs)\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/logging/__init__.py", line 1624, in _log\n    self.handle(record)\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/logging/__init__.py", line 1634, in handle\n    self.callHandlers(record)\n  File ".../sentry_sdk/integrations/logging.py", line 98, in sentry_patched_callhandlers\n    return old_callhandlers(self, record)\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/logging/__init__.py", line 1696, in callHandlers\n    hdlr.handle(record)\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/logging/__init__.py", line 968, in handle\n    self.emit(record)\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/logging/__init__.py", line 1103, in emit\n    stream.write(msg + self.terminator)\n  File ".../sentry-python/sentry_sdk/transport.py", line 164, in __del__\n    self.kill()\n  File ".../sentry-python/sentry_sdk/transport.py", line 586, in kill\n    self._worker.kill()\n  File ".../sentry-python/sentry_sdk/worker.py", line 83, in kill\n    logger.debug("background worker got kill request")\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/logging/__init__.py", line 1465, in debug\n    self._log(DEBUG, msg, args, **kwargs)\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/logging/__init__.py", line 1624, in _log\n    self.handle(record)\n  File ".../hostedtoolcache/Python/3.10.16......................................................................../x64/lib/python3.10/logging/__init__.py", line 1634, in handle\n    self.callHandlers(record)\n  File ".../sentry_sdk/integrations/logging.py", line 98, in sentry_patched_callhandlers\n    return old_callhandlers(self, record)\nMessage: \'background worker got kill request\'\nArguments: ()\n')
View the full list of 1 ❄️ flaky tests
tests.test_utils test_get_current_thread_meta_failed_to_get_main_thread

Flake rate in main: 18.18% (Passed 9 times, Failed 2 times)

Stack Traces | 0.112s run time
tests/test_utils.py:916: in test_get_current_thread_meta_failed_to_get_main_thread
    thread.join()
.../hostedtoolcache/Python/3.8.18............/x64/lib/python3.8/threading.py:1007: in join
    if self is current_thread():
.../hostedtoolcache/Python/3.8.18............/x64/lib/python3.8/unittest/mock.py:1081: in __call__
    return self._mock_call(*args, **kwargs)
.../hostedtoolcache/Python/3.8.18............/x64/lib/python3.8/unittest/mock.py:1085: in _mock_call
    return self._execute_mock_call(*args, **kwargs)
.../hostedtoolcache/Python/3.8.18............/x64/lib/python3.8/unittest/mock.py:1142: in _execute_mock_call
    result = next(effect)
E   StopIteration

The above exception was the direct cause of the following exception:
.tox/py3.8-common/lib/python3.8....../site-packages/_pytest/runner.py:341: in from_call
    result: TResult | None = func()
.tox/py3.8-common/lib/python3.8....../site-packages/_pytest/runner.py:242: in <lambda>
    lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
.tox/py3.8-common/lib/python3.8.../site-packages/pluggy/_hooks.py:513: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
.tox/py3.8-common/lib/python3.8.../site-packages/pluggy/_manager.py:120: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
.tox/py3.8-common/lib/python3.8....../site-packages/_pytest/threadexception.py:92: in pytest_runtest_call
    yield from thread_exception_runtest_hook()
.tox/py3.8-common/lib/python3.8....../site-packages/_pytest/threadexception.py:68: in thread_exception_runtest_hook
    yield
.tox/py3.8-common/lib/python3.8....../site-packages/_pytest/unraisableexception.py:95: in pytest_runtest_call
    yield from unraisable_exception_runtest_hook()
.tox/py3.8-common/lib/python3.8....../site-packages/_pytest/unraisableexception.py:70: in unraisable_exception_runtest_hook
    yield
.tox/py3.8-common/lib/python3.8....../site-packages/_pytest/logging.py:846: in pytest_runtest_call
    yield from self._runtest_for(item, "call")
.tox/py3.8-common/lib/python3.8....../site-packages/_pytest/logging.py:829: in _runtest_for
    yield
.tox/py3.8-common/lib/python3.8.../site-packages/_pytest/capture.py:898: in pytest_runtest_call
    return (yield)
E   RuntimeError: generator raised StopIteration

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@antonpirker antonpirker changed the title Move pytest config into pyproject.toml ci: Move pytest config into pyproject.toml Mar 21, 2025
@antonpirker antonpirker marked this pull request as ready for review March 21, 2025 10:02
@antonpirker antonpirker requested a review from a team as a code owner March 21, 2025 10:02
@antonpirker antonpirker enabled auto-merge (squash) March 21, 2025 10:05
@antonpirker antonpirker merged commit aefa34d into master Mar 21, 2025
138 of 140 checks passed
@antonpirker antonpirker deleted the antonpirker/move-pytest-confg-into-pyproject-toml branch March 21, 2025 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants