python-txaio fails to build with Python 3.14.0a2. ___________________________ test_is_called[asyncio] ____________________________ framework = <module 'txaio.aio' from '/builddir/build/BUILD/python-txaio-23.1.1-build/BUILDROOT/usr/lib/python3.14/site-packages/txaio/aio.py'> def test_is_called(framework): > f = txaio.create_future_success(None) test/test_is_future.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.14/site-packages/txaio/aio.py:387: in create_future_success return self.create_future(result=result) ../BUILDROOT/usr/lib/python3.14/site-packages/txaio/aio.py:366: in create_future f = self._loop.create_future() ../BUILDROOT/usr/lib/python3.14/site-packages/txaio/aio.py:323: in _loop return asyncio.get_event_loop() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0x7f0c9d0d9a90> def get_event_loop(self): """Get the event loop for the current context. Returns an instance of EventLoop or raises an exception. """ if self._local._loop is None: > raise RuntimeError('There is no current event loop in thread %r.' % threading.current_thread().name) E RuntimeError: There is no current event loop in thread 'MainThread'. /usr/lib64/python3.14/asyncio/events.py:681: RuntimeError =========================== short test summary info ============================ FAILED test/test_as_future.py::test_as_future_immediate[asyncio] - RuntimeErr... FAILED test/test_as_future.py::test_as_future_immediate_none[asyncio] - Runti... FAILED test/test_as_future.py::test_as_future_exception[asyncio] - RuntimeErr... FAILED test/test_as_future.py::test_as_future_recursive[asyncio] - RuntimeErr... FAILED test/test_call_later.py::test_create_future_explicit_loop[asyncio] - R... FAILED test/test_call_later.py::test_create_future_success_explicit_loop[asyncio] FAILED test/test_call_later.py::test_create_future_failure_explicit_loop[asyncio] FAILED test/test_callback.py::test_default_resolve[asyncio] - RuntimeError: T... FAILED test/test_callback.py::test_callback[asyncio] - RuntimeError: There is... FAILED test/test_callback.py::test_immediate_result[asyncio] - RuntimeError: ... FAILED test/test_cancel.py::test_cancel[asyncio] - RuntimeError: There is no ... FAILED test/test_create.py::test_create_result[asyncio] - RuntimeError: There... FAILED test/test_create.py::test_create_error[asyncio] - RuntimeError: There ... FAILED test/test_errback.py::test_errback[asyncio] - RuntimeError: There is n... FAILED test/test_errback.py::test_errback_without_except[asyncio] - RuntimeEr... FAILED test/test_errback.py::test_errback_plain_exception[asyncio] - RuntimeE... FAILED test/test_errback.py::test_errback_cancel_exception[asyncio] - Runtime... FAILED test/test_errback.py::test_errback_illegal_args[asyncio] - RuntimeErro... FAILED test/test_errback.py::test_errback_reject_no_args[asyncio] - RuntimeEr... FAILED test/test_errback.py::test_immediate_failure[asyncio] - RuntimeError: ... FAILED test/test_gather.py::test_gather_two[asyncio] - RuntimeError: There is... FAILED test/test_gather.py::test_gather_no_consume[asyncio] - RuntimeError: T... FAILED test/test_is_future.py::test_is_future_generic[asyncio] - RuntimeError... FAILED test/test_is_future.py::test_is_called[asyncio] - RuntimeError: There ... ================== 24 failed, 24 passed, 70 skipped in 0.43s =================== According to https://docs.python.org/dev/whatsnew/3.14.html#id3 Removed implicit creation of event loop by asyncio.get_event_loop(). It now raises a RuntimeError if there is no current event loop. (Contributed by Kumar Aditya in gh-126353.) 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/08293026-python-txaio/ For all our attempts to build python-txaio with Python 3.14, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/python-txaio/ 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.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42.
*** Bug 2372177 has been marked as a duplicate of this bug. ***
Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ This package fails to install and maintainers are advised to take one of the following actions: - Fix this bug and close this bugzilla once the update makes it to the repository. (The same script that posted this comment will eventually close this bugzilla when the fixed package reaches the repository, so you don't have to worry about it.) or - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet. or - Orphan the package if you no longer plan to maintain it. If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue. This package may be orphaned in 7+ weeks. This is the first reminder (step 3) from the policy. Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.
This seems to be a bug in the package that doesn’t support Python 3.14 yet and uses `get_async_loop` in a deprecated way. I reported the issue upstream: https://github.com/crossbario/txaio/issues/193
Julien, the upstream issue did not get much friction. What is the plan if they don't respond? The Beta Freeze of Fedora 43 starts tomorrow.
I don’t think upstream will do anything until Python 3.14 actually releases. It’s their policy and they’re consistent with it (3.14 isn’t the first release that caused issue on our end). I’ll create a patch based on my analysis we can use in the meantime. It seems fine to me.
Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ All subpackages of a package against which this bug was filled are now installable or removed from Fedora 44. Thanks for taking care of it!
Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ All subpackages of a package against which this bug was filled are now installable or removed from Fedora 43. Thanks for taking care of it!
I still need to build and push an update to f43. It’s currently only good for f44.
Yeah, the buidlroot override made the script close this. I am building autobahn for f43 and will expire it.
I’m myself waiting on side-tag f43-build-side-118066 to finish creating to be able to build autobahn with the fixed txaio ;-) Without it, autobahn won’t build. Depending on when this ends, I’ll complete the work within the next 30 minutes or resume later tonight.
Ah. I see that you've already expired the override. I won't step on your toes then.
FEDORA-2025-86992e7e14 (python-autobahn-24.4.2-3.fc43 and python-txaio-25.6.1-1.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-86992e7e14
Thanks for the bodhi update. I submitted python-daphne and buildbot build to the same side tag and will refresh it when done. There should be no more dependents on autobahn.
> Thanks for the bodhi update. I submitted python-daphne and buildbot build to the same side tag and will refresh it when done. There should be no more dependents on autobahn. Thanks, sorry for the very long delay, I’ve been very busy lately.
FEDORA-2025-86992e7e14 has been pushed to the Fedora 43 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-86992e7e14` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-86992e7e14 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-86992e7e14 (buildbot-4.3.0-3.fc43, python-autobahn-24.4.2-3.fc43, and 2 more) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report.