python-colcon-parallel-executor fails to build with Python 3.14.0a1. ________________________________ test_parallel _________________________________ def test_parallel(): global ran_jobs extension = ParallelExecutorExtension() args = SimpleNamespace(parallel_workers=2) jobs = OrderedDict() jobs['one'] = Job1() # success rc = extension.execute(args, jobs) > assert rc == 0 E assert 1 == 0 test/test_executor_parallel.py:118: AssertionError ------------------------------ Captured log call ------------------------------- ERROR colcon.colcon_parallel_executor.executor.parallel:parallel.py:94 Exception in job execution: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead Traceback (most recent call last): File "/builddir/build/BUILD/python-colcon-parallel-executor-0.3.0-build/colcon-parallel-executor-0.3.0/colcon_parallel_executor/executor/parallel.py", line 75, in execute loop.run_until_complete(future) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^ File "/usr/lib64/python3.14/asyncio/base_events.py", line 720, in run_until_complete return future.result() ~~~~~~~~~~~~~^^ File "/builddir/build/BUILD/python-colcon-parallel-executor-0.3.0-build/colcon-parallel-executor-0.3.0/colcon_parallel_executor/executor/parallel.py", line 153, in _execute assert asyncio.iscoroutinefunction(job.__call__), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "/usr/lib64/python3.14/asyncio/coroutines.py", line 23, in iscoroutinefunction warnings._deprecated("asyncio.iscoroutinefunction", ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ f"{warnings._DEPRECATED_MSG}; " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ "use inspect.iscoroutinefunction() instead", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ remove=(3,16)) ^^^^^^^^^^^^^^ File "/usr/lib64/python3.14/warnings.py", line 668, in _deprecated warn(msg, DeprecationWarning, stacklevel=3) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead =========================== short test summary info ============================ FAILED test/test_executor_parallel.py::test_parallel - assert 1 == 0 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! KeyboardInterrupt !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! /usr/lib64/python3.14/threading.py:1092: KeyboardInterrupt (to show a full traceback on KeyboardInterrupt use --full-trace) ========================= 1 failed, 1 passed in 0.36s ========================== 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/08189194-python-colcon-parallel-executor/ For all our attempts to build python-colcon-parallel-executor with Python 3.14, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/python-colcon-parallel-executor/ 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 2371837 has been marked as a duplicate of this bug. ***