uvloop 0.23.0 - #768
Merged
Merged
uvloop 0.23.0#768
Conversation
Changes ======= * Add Python 3.15 and 3.15t wheel builds and CI coverage (#758) (by @honglei @fantix in f7c0547) * Add support for the `eager_start` keyword argument in create_task() (#748) (by @samypr100 in 3cbb095 for #746 #718) * Add thread name prefix to the default thread pool executor (#636) (by @inikolaev @fantix in 0582f94 for #562) * Add support for special hostname `<broadcast>` (#592) (by @jpbede in 3060ceb for #540) * Upgrade libuv to v1.52.1 (#753) (by @fantix in e8efea4 for #752) * Improve performance by using Python C API to enter/exit context (#627) (by @tarasko in 837ef22) * Improve performance/latency of Transport.write (#619) (by @tarasko in 1d9b6e0) * Replace some SSL vectorcall with direct methods (#626) (by @tarasko in 6a27cbe) * Optimize SSL buffered reads using C values (#629) (by @tarasko in a308f75) Fixes ===== * Detach socket on create_connection cancellation to prevent fd double-close (#740) (by @junjzhang @fantix in dc680eb for #645 #738) * Remove `loop._ready_len` in favor of `len(loop._ready)` (#721) (by @x42005e1f in 5910a18 for #720) * Prefer inspect.iscoroutinefunction (#705) (by @MatthieuDartiailh in fd65027 for #703) * Fix context tests by explicitly yielding after run_in_executor (#743) (by @samypr100 in 6cd24cb) * Fix test_create_connection_open_con_addr with Python 3.13.9+ (#713) (by @shadchin in b93141a for #701) * Skip flaky test_cancel_post_init on asyncio 3.13+ (#714) (by @fantix in 3ea5c85 for #709) * Fix flaky test_fs_event (#717) (by @fantix in 8da4547) * Use C __atomic builtins for debug counters (#719) (by @fantix in 836e3b2) * Update the example to work with Python 3.14 (#710) (by @Jamie-Chang in b74c2f1) Build ===== * Replace pkg_resources with packaging and use Cython 3.1 (#742) (by @samypr100 in b377b7c for #729) * Remove wheel as a build dependency (#696) (by @DimitriPapadopoulos in 173e88c) * Support any number of flags in UVLOOP_OPT_CFLAGS (#630) (by @mgorny in 963a5f3)
edgedb-ci
approved these changes
Sep 30, 2026
Contributor
|
The PyPI publishing failed (invalid trusted publisher credentials). |
Member
Author
|
Yeah unfortunately - let me fix that! |
Contributor
|
I saw the release on PyPI. Thanks @fantix |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Add Python 3.15 and 3.15t wheel builds and CI coverage (Add Python 3.15 to CI and fix test issues #758)
(by @honglei @fantix in f7c0547)
Add support for the
eager_startkeyword argument in create_task() (feat(loop): support eager_start in loop.create_task #748)(by @samypr100 in 3cbb095 for support **kwargs on loop.create_task like in 3.13 and 3.14 #746 (Feature request)
loop.create_taskto accept arbitrary**kwargs#718)Add thread name prefix to the default thread pool executor (Add thread name prefix to the default thread pool executor #636)
(by @inikolaev @fantix in 0582f94 for Set thread name prefix for default event loop thread pool #562)
Add support for special hostname
<broadcast>(Add support for special hostname <broadcast> #592)(by @jpbede in 3060ceb for sendto fails if ip address is "<broadcast>" #540)
Upgrade libuv to v1.52.1 (Upgrade libuv to v1.52.1 #753)
(by @fantix in e8efea4 for Bump bundled libuv to ≥1.49 so io_uring isn't silently on by default #752)
Improve performance by using Python C API to enter/exit context (Improve performance by using Python C API to enter/exit context #627)
(by @tarasko in 837ef22)
Improve performance/latency of Transport.write (Improve performance and reduce latency of Transport.write by attempting to send data immediately if all write buffers are empty #619)
(by @tarasko in 1d9b6e0)
Replace some SSL vectorcall with direct methods (Improve SSL performance by calling SSLProtocol methods directly, not through the python's vectorcall interface #626)
(by @tarasko in 6a27cbe)
Optimize SSL buffered reads using C values (Improve SSL performance by avoiding SSLWantReadError exception and using much faster checks whenever possible #629)
(by @tarasko in a308f75)
Fixes
Detach socket on create_connection cancellation to prevent fd double-close (Detach socket on create_connection cancellation to prevent fd double-close #740)
(by @junjzhang @fantix in dc680eb for Information exposure bug: response leaking to wrong requests in
uvicorn-based server under heavy load #645 create_connection(sock=sock) does not detach socket on cancellation, causing fd double-close #738)Remove
loop._ready_lenin favor oflen(loop._ready)(Fix race conditions onloop._ready_len#721)(by @x42005e1f in 5910a18 for
loop.call_soon_threadsafe()behaves as non-thread-safe in free-threading #720)Prefer inspect.iscoroutinefunction (Do not use deprecated asyncio.iscoroutinefunction #705)
(by @MatthieuDartiailh in fd65027 for DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated in uvloop.loop.Loop.run_in_executor in Python 3.14 #703)
Fix context tests by explicitly yielding after run_in_executor (fix(tests): explicit yield in test_create_ssl_server_manual_connection_lost #743)
(by @samypr100 in 6cd24cb)
Fix test_create_connection_open_con_addr with Python 3.13.9+ (Fix test
test_create_connection_open_con_addrwith Python 3.13.9+ #713)(by @shadchin in b93141a for
tests/test_tcp.py::Test_AIO_TCP::test_create_connection_open_con_addrfails on Python 3.13.9 #701)Skip flaky test_cancel_post_init on asyncio 3.13+ (test: skip flaky test_cancel_post_init on AIO 3.13+ #714)
(by @fantix in 3ea5c85 for tests/test_process.py::TestAsyncio_AIO_Process::test_cancel_post_init fails randomly #709)
Fix flaky test_fs_event (test: fix flaky test_fs_event #717)
(by @fantix in 8da4547)
Use C __atomic builtins for debug counters (test: use C __atomic builtins for debug counters #719)
(by @fantix in 836e3b2)
Update the example to work with Python 3.14 (Update the example to work with 3.14 #710)
(by @Jamie-Chang in b74c2f1)
Build
Replace pkg_resources with packaging and use Cython 3.1 (fix(build): use packaging instead of relying on pkg_resources from setuptools #742)
(by @samypr100 in b377b7c for Use of deprecated / removed pkg_resources #729)
Remove wheel as a build dependency (Get rid of wheel as a dependency #696)
(by @DimitriPapadopoulos in 173e88c)
Support any number of flags in UVLOOP_OPT_CFLAGS (Support any number of flags in UVLOOP_OPT_CFLAGS #630)
(by @mgorny in 963a5f3)