-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3.13: AttributeError: module 'eventlet.green.thread' has no attribute 'start_joinable_thread' #964
Comments
A change like this might solve it: (The thread.py change only.) |
There are more attributes, but adding them all seem to work. Will open a PR if all tests pass. |
hroncok
added a commit
to hroncok/eventlet
that referenced
this issue
Jun 6, 2024
Does not fix eventlet#964 yet
#965 does that but it still doesn't work -- hopefully it will help debug the thing. |
stefanor
added a commit
to stefanor/eventlet
that referenced
this issue
Nov 7, 2024
Emulate Python 3.13's start_joinable_thread API using greenthreads Fixes: eventlet#964
stefanor
added a commit
to stefanor/eventlet
that referenced
this issue
Nov 7, 2024
Emulate Python 3.13's start_joinable_thread API using greenthreads. We cut some corners, of course: * We aren't maintaining a table of green thread idents to threads, so we can't wait for all threads on shutdown. * Our _make_thread_handle() can only make a handle for the current thread (as we don't have a way to look up green threads by ident). * .join() on a non-GreenThread (e.g. the main thread) just returns immediately. Fixes: eventlet#964
bmwiedemann
pushed a commit
to bmwiedemann/openSUSE
that referenced
this issue
Nov 8, 2024
… 57 via SR 1218077 https://build.opensuse.org/request/show/1218077 by user mcepl + anag+factory - Temporarily switch to direct download from GitHub, and update to version 0.37.0+git.1726056572.8637820: * Update changelog for version 0.37.0 (#980) * Describes Eventlet's Alternatives Into the Migration Guide (#971) * fix migration guide url (#978) * os.read/write waits until file descriptor is ready. (#975) * Upgrade RLocks as last thing we do (#970) * warns about using multiple readers (#960) * drop header keys with underscores (#959) * doc: Repair changelog link (#958) * Make the docs more user friendly (#950) * Update changelog for version 0.36.1 (#952) - Add patches making it build with 3.13: - 313-new-thread-attributes.patch (gh#eventlet/eventlet#964) - no-dynamic-version.patch (we cannot use dynamic version number on a git checkout) - Fix setting of t
stefanor
added a commit
to stefanor/eventlet
that referenced
this issue
Nov 13, 2024
Emulate Python 3.13's start_joinable_thread API using greenthreads. We cut some corners, of course: * We aren't maintaining a table of green thread idents to threads, so we can't wait for all threads on shutdown. * Our _make_thread_handle() can only make a handle for the current thread (as we don't have a way to look up green threads by ident). * .join() on a non-GreenThread (e.g. the main thread) just returns immediately. Fixes: eventlet#964
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Python 3.13, there are several errors in test collection due to
AttributeError: module 'eventlet.green.thread' has no attribute 'start_joinable_thread'
.To reproduce:
So we need to build a version of
greenlet
that supports Python 3.13, using python-greenlet/greenlet#396:Now we can try again:
The text was updated successfully, but these errors were encountered: