https://bugzilla.redhat.com/show_bug.cgi?id=2290561
Bug ID: 2290561 Summary: python-eventlet fails to build with Python 3.13: AttributeError: module 'eventlet.green.thread' has no attribute 'start_joinable_thread' Product: Fedora Version: rawhide Status: NEW Component: python-eventlet Assignee: amoralej@redhat.com Reporter: ksurma@redhat.com QA Contact: extras-qa@fedoraproject.org CC: amoralej@redhat.com, apevec@redhat.com, epel-packagers-sig@lists.fedoraproject.org, igor.raits@gmail.com, kevin@scrye.com, ksurma@redhat.com, mhroncok@redhat.com, python-packagers-sig@lists.fedoraproject.org Blocks: 2244836 (PYTHON3.13) Target Milestone: --- Classification: Fedora
python-eventlet fails to build with Python 3.13.0b1.
_____________________ ERROR collecting tests/wsgi_test.py ______________________ /usr/lib/python3.13/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() /usr/lib/python3.13/site-packages/_pytest/runner.py:372: in <lambda> call = CallInfo.from_call(lambda: list(collector.collect()), "collect") /usr/lib/python3.13/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() /usr/lib/python3.13/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") /usr/lib/python3.13/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() /usr/lib/python3.13/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() /usr/lib/python3.13/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) /usr/lib/python3.13/site-packages/_pytest/pathlib.py:567: in import_path importlib.import_module(module_name) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) <frozen importlib._bootstrap>:1387: in _gcd_import ??? <frozen importlib._bootstrap>:1360: in _find_and_load ??? <frozen importlib._bootstrap>:1331: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:935: in _load_unlocked ??? /usr/lib/python3.13/site-packages/_pytest/assertion/rewrite.py:186: in exec_module exec(co, module.__dict__) tests/wsgi_test.py:21: in <module> from eventlet import wsgi eventlet/wsgi.py:14: in <module> from eventlet.green import BaseHTTPServer eventlet/green/BaseHTTPServer.py:3: in <module> from eventlet.green import SocketServer eventlet/green/SocketServer.py:5: in <module> from eventlet.green import threading eventlet/green/threading.py:18: in <module> eventlet.patcher.inject( eventlet/patcher.py:109: in inject module = __import__(module_name, {}, {}, module_name.split('.')[:-1]) /usr/lib64/python3.13/threading.py:35: in <module> _start_joinable_thread = _thread.start_joinable_thread E AttributeError: module 'eventlet.green.thread' has no attribute 'start_joinable_thread'
=========================== short test summary info ============================ ERROR tests/asyncio_test.py - AttributeError: module 'eventlet.green.thread' ... ERROR tests/subprocess_test.py - AttributeError: module 'eventlet.green.threa... ERROR tests/test__greenness.py - AttributeError: module 'eventlet.green.threa... ERROR tests/websocket_new_test.py - AttributeError: module 'eventlet.green.th... ERROR tests/websocket_test.py - AttributeError: module 'eventlet.green.thread... ERROR tests/wsgi_test.py - AttributeError: module 'eventlet.green.thread' has... !!!!!!!!!!!!!!!!!!! Interrupted: 6 errors during collection !!!!!!!!!!!!!!!!!!!! ======================= 13 deselected, 6 errors in 5.28s =======================
https://docs.python.org/3.13/whatsnew/3.13.html
For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.13-b1/fedora...
For all our attempts to build python-eventlet with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13-b1/package/pytho...
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.13: https://copr.fedorainfracloud.org/coprs/g/python/python3.13-b1/
Let us know here if you have any questions.
Python 3.13 is planned to be included in Fedora 41. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13. 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.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2244836 [Bug 2244836] Python 3.13