Bug 2290561 - python-eventlet fails to build with Python 3.13: AttributeError: module 'eventlet.green.thread' has no attribute 'start_joinable_thread'
Summary: python-eventlet fails to build with Python 3.13: AttributeError: module 'even...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: python-eventlet
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: Orphan Owner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2291691 (view as bug list)
Depends On:
Blocks: F41FTBFS F41FailsToInstall F42FailsToInstall PYTHON3.13 2291686 2291710 2291728 2291752 2291818 2291820 2291821 2291822 2291826 2291827 2291940
TreeView+ depends on / blocked
 
Reported: 2024-06-05 14:50 UTC by Karolina Surma
Modified: 2024-12-22 04:25 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-08-23 13:04:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github eventlet eventlet issues 964 0 None open Python 3.13: AttributeError: module 'eventlet.green.thread' has no attribute 'start_joinable_thread' 2024-06-05 15:44:07 UTC

Description Karolina Surma 2024-06-05 14:50:47 UTC
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-rawhide-x86_64/07532240-python-eventlet/

For all our attempts to build python-eventlet with Python 3.13, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13-b1/package/python-eventlet/

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.

Comment 1 Ben Beasley 2024-06-05 15:44:08 UTC
Reported upstream with instructions to reproduce in a virtual environment: https://github.com/eventlet/eventlet/issues/964

Comment 2 Karolina Surma 2024-06-12 15:01:17 UTC
*** Bug 2291691 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Fails To Install 2024-06-19 20:00:07 UTC
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.

Comment 4 Kevin Fenzi 2024-06-23 18:36:32 UTC
@amoralej

Comment 5 Fedora Fails To Install 2024-07-13 08:02:33 UTC
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.

Comment 6 Fedora Fails To Install 2024-08-13 00:02:46 UTC
This package has been orphaned.

You can pick it up at https://src.fedoraproject.org/rpms/python-eventlet by clicking button "Take". If nobody picks it up, it will be retired and removed from a distribution.

Comment 7 Fedora Admin user for bugzilla script actions 2024-08-22 18:41:52 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 8 Miro Hrončok 2024-08-23 13:04:04 UTC
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

Comment 9 Red Hat Bugzilla 2024-12-22 04:25:15 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


Note You need to log in before you can comment on or make changes to this bug.