python-aiounittest fails to build with pytest 8. =================================== FAILURES =================================== _______________ TestAsyncCaseWithCustomLoop.test_await_async_add _______________ ../../BUILDROOT/python-aiounittest-1.3.1-16.fc41.x86_64/usr/lib/python3.12/site-packages/aiounittest/helpers.py:137: in wrapper future = asyncio.ensure_future(ret, loop=loop) /usr/lib64/python3.12/asyncio/tasks.py:695: in ensure_future return loop.create_task(coro_or_future) /usr/lib64/python3.12/asyncio/base_events.py:456: in create_task self._check_closed() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_UnixSelectorEventLoop running=False closed=True debug=False> def _check_closed(self): if self._closed: > raise RuntimeError('Event loop is closed') E RuntimeError: Event loop is closed /usr/lib64/python3.12/asyncio/base_events.py:541: RuntimeError =============================== warnings summary =============================== tests/test_asynctestcase_get_event_loop.py:30 /builddir/build/BUILD/aiounittest-1.3.1/tests/test_asynctestcase_get_event_loop.py:30: DeprecationWarning: There is no current event loop self.my_loop = asyncio.get_event_loop() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_asynctestcase_get_event_loop.py::TestAsyncCaseWithCustomLoop::test_await_async_add ============== 1 failed, 8 passed, 2 xfailed, 1 warning in 0.89s =============== https://docs.pytest.org/en/stable/changelog.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/thrnciar/pytest/fedora-rawhide-x86_64/07393315-python-aiounittest/ For all our attempts to build python-aiounittest with pytest 8, see: https://copr.fedorainfracloud.org/coprs/thrnciar/pytest/package/python-aiounittest/ Let us know here if you have any questions. Pytest 8 is planned to be included in Fedora 41. And this bugzilla is a heads up before we merge new pytest into rawhide. For more info see a Fedora Change proposal https://fedoraproject.org/wiki/Changes/Pytest_8 We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
FEDORA-2024-78ca977062 (python-aiounittest-1.3.1-19.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2024-78ca977062
FEDORA-2024-78ca977062 (python-aiounittest-1.3.1-19.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.