python-uvloop fails to build with Python 3.14.0a1. 20 test errors with: __________________ ERROR collecting _empty/tests/test_unix.py __________________ Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() ~~~~^^ File "/usr/lib/python3.14/site-packages/_pytest/runner.py", line 389, in collect return list(collector.collect()) ~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3.14/site-packages/_pytest/python.py", line 549, in collect self._register_setup_module_fixture() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3.14/site-packages/_pytest/python.py", line 562, in _register_setup_module_fixture self.obj, ("setUpModule", "setup_module") ^^^^^^^^ File "/usr/lib/python3.14/site-packages/_pytest/python.py", line 284, in obj self._obj = obj = self._getobj() ~~~~~~~~~~~~^^ File "/usr/lib/python3.14/site-packages/_pytest/python.py", line 546, in _getobj return importtestmodule(self.path, self.config) File "/usr/lib/python3.14/site-packages/_pytest/python.py", line 493, in importtestmodule mod = import_path( path, ...<2 lines>... consider_namespace_packages=config.getini("consider_namespace_packages"), ) File "/usr/lib/python3.14/site-packages/_pytest/pathlib.py", line 544, in import_path mod = _import_module_using_spec( module_name, path, pkg_root, insert_modules=False ) File "/usr/lib/python3.14/site-packages/_pytest/pathlib.py", line 663, in _import_module_using_spec spec.loader.exec_module(mod) # type: ignore[union-attr] ~~~~~~~~~~~~~~~~~~~~~~~^^^^^ File "<frozen importlib._bootstrap_external>", line 752, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/builddir/build/BUILD/python-uvloop-0.19.0-build/uvloop-0.19.0/_empty/tests/test_unix.py", line 10, in <module> from uvloop import _testbase as tb File "/builddir/build/BUILD/python-uvloop-0.19.0-build/BUILDROOT/usr/lib64/python3.14/site-packages/uvloop/__init__.py", line 9, in <module> from .loop import Loop as __BaseLoop # NOQA ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "uvloop/includes/stdlib.pxi", line 47, in init uvloop.loop AttributeError: module 'asyncio' has no attribute 'AbstractChildWatcher' 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/08258824-python-uvloop/ For all our attempts to build python-uvloop with Python 3.14, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/python-uvloop/ 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.
Reported upstream in https://github.com/MagicStack/uvloop/issues/637
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42.
With Python 3.14.0a5 the error looks different: __________________ ERROR collecting _empty/tests/test_unix.py __________________ ImportError while importing test module '/builddir/build/BUILD/python-uvloop-0.21.0-build/uvloop-0.21.0/_empty/tests/test_unix.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: tests/test_unix.py:10: in <module> from uvloop import _testbase as tb ../../BUILDROOT/usr/lib64/python3.14/site-packages/uvloop/__init__.py:6: in <module> from asyncio.events import BaseDefaultEventLoopPolicy as __BasePolicy E ImportError: cannot import name 'BaseDefaultEventLoopPolicy' from 'asyncio.events' (/usr/lib64/python3.14/asyncio/events.py)
I reported the removal to CPython as a regression. https://github.com/python/cpython/issues/131148
However, workaroundign that, I get back to: AttributeError: module 'asyncio' has no attribute 'AbstractChildWatcher'. This one was deprecated and is reported to uvloop upstream at https://github.com/MagicStack/uvloop/issues/637
*** Bug 2372190 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.
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 4+ weeks. This is the second reminder (step 4) 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 package has been orphaned. You can pick it up at https://src.fedoraproject.org/rpms/python-uvloop by clicking button "Take". If nobody picks it up, it will be retired and removed from a distribution.
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.
Automation has figured out the package is retired in rawhide. If you like it to be unretired, please open a ticket at https://pagure.io/releng/new_issue?template=package_unretirement