python-nest-asyncio fails to build with Python 3.14.0a6. ERROR: test_timeout (__main__.NestTest.test_timeout) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-nest-asyncio-1.6.0-build/nest_asyncio-1.6.0/tests/nest_test.py", line 74, in test_timeout self.loop.run_until_complete(f2()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/builddir/build/BUILD/python-nest-asyncio-1.6.0-build/BUILDROOT/usr/lib/python3.14/site-packages/nest_asyncio.py", line 98, in run_until_complete return f.result() ~~~~~~~~^^ File "/usr/lib64/python3.14/asyncio/futures.py", line 208, in result raise self._exception.with_traceback(self._exception_tb) File "/usr/lib64/python3.14/asyncio/tasks.py", line 289, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/python-nest-asyncio-1.6.0-build/nest_asyncio-1.6.0/tests/nest_test.py", line 71, in f2 asyncio.run(asyncio.wait_for(f1(), 0.01)) ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-nest-asyncio-1.6.0-build/BUILDROOT/usr/lib/python3.14/site-packages/nest_asyncio.py", line 30, in run return loop.run_until_complete(task) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/builddir/build/BUILD/python-nest-asyncio-1.6.0-build/BUILDROOT/usr/lib/python3.14/site-packages/nest_asyncio.py", line 98, in run_until_complete return f.result() ~~~~~~~~^^ File "/usr/lib64/python3.14/asyncio/futures.py", line 208, in result raise self._exception.with_traceback(self._exception_tb) File "/usr/lib64/python3.14/asyncio/tasks.py", line 289, in __step_run_and_handle_result result = coro.send(None) File "/usr/lib64/python3.14/asyncio/tasks.py", line 493, in wait_for async with timeouts.timeout(timeout): ~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib64/python3.14/asyncio/timeouts.py", line 88, in __aenter__ raise RuntimeError("Timeout should be used inside a task") RuntimeError: Timeout should be used inside a task https://docs.python.org/3.14/whatsnew/3.14.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.14/fedora-rawhide-x86_64/08783452-python-nest-asyncio/ For all our attempts to build python-nest-asyncio with Python 3.14, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/python-nest-asyncio/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.14: https://copr.fedorainfracloud.org/coprs/g/python/python3.14/ Let us know here if you have any questions. Python 3.14 is planned to be included in Fedora 43. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.14. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. 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.
https://src.fedoraproject.org/rpms/python-nest-asyncio/pull-request/9
PR merged, fixed in distgit.