Skip to content

uv.lock: Pyjoyment of Git main at 1d48088, and event_loop_modules inherited - #3

Merged
dex4er merged 2 commits into
mainfrom
event-loop-modules
Nov 5, 2026
Merged

dex4er merged 2 commits into
mainfrom
event-loop-modules

Conversation

@dex4er

@dex4er dex4er commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

uv.lock takes Pyjoyment of Git main at 1d48088, with pyjoyment/Pyjoyment#534, which #2 needs. event_loop_modules stays the inherited ('asyncio', 'selectors'), with Pyjo/Reactor/Winloop.py and its _Loop covered as the module of the class.

Closes #2

Changes

Validation

  • t/ of the repository with PYTHONDEVMODE=1, with the Pyjoyment of uv.lock and with --with-editable ../Pyjoyment
  • The suite of Pyjoyment 1d48088 on the reactor with PYTHONDEVMODE=1, on Windows: 434 files, 7018 tests, of which one fails: t/Pyjo/JSON_RPC.py, see below
  • A probe of Pyjo.Reactor._finalize over that suite: no frame of Winloop nor of a .pyx below any of its 3749 calls in 152 processes, t/stdlib/IOLoop_gc.py among them
  • The documentation with sphinx-build -W
  • trunk check, not run locally
  • CI: Build
  • CI: the required check Tests, which fails on main already

Known failure

t/Pyjo/JSON_RPC.py, subtest Calls of a closed peer, fails on every run on the reactor, also with the Pyjoyment of main before this change (25fbbfa), and fails the Tests of main. The writer of the socket sends to the peer that has closed it, and the next recv raises ConnectionAbortedError (WinError 10053). Pyjo.IOLoop.Stream._read_handle closes the stream on ConnectionResetError and BrokenPipeError only, so it emits error, which Pyjo.IOLoop.Messages emits again with no subscriber, so emit raises before .close(), and libuv reports the socket again and again. It is a fix of Pyjoyment: ConnectionAbortedError as a close too, with which the test passes on the reactor.

🤖 Generated with Claude Code

…erited

Pyjoyment of Git main with pyjoyment/Pyjoyment#534, whose
Pyjo.Reactor._finalize defers the cleanup of a finalizer below the frames
of the module of the class of the reactor and of event_loop_modules. The
reactor names no winloop: the loop of Winloop is compiled with Cython and
makes no frames of Python, and a probe of _finalize over the suite of
Pyjoyment on the reactor found no frame of Winloop below any of its calls.

Closes #2

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Tests

Job Tests Passed ✅ Skipped ⚠️ Failed ❌ Log
prove (python 3.12) 7087 7013 71 3 ❌ 127225072770
prove (python 3.13) 7087 7013 71 3 ❌ 127225072762
prove (python 3.14) 7118 7049 66 3 ❌ 127225072645
prove (python 3.15) 7118 7051 66 1 ❌ 127225072704
prove (python 3.15t) 7113 7042 66 5 ❌ 127225072658
All 35523 35168 340 15 ❌
Job Script Test Message
prove (python 3.12) t/Pyjo/JSON_RPC.py 27 - Calls of a closed peer
prove (python 3.12) t/Pyjo/Prove.py 26 - Summary in Markdown
prove (python 3.12) t/Pyjo/Prove.py No plan found in TAP output
prove (python 3.13) t/Pyjo/JSON_RPC.py 27 - Calls of a closed peer
prove (python 3.13) t/Pyjo/Prove.py 26 - Summary in Markdown
prove (python 3.13) t/Pyjo/Prove.py No plan found in TAP output
prove (python 3.14) t/Pyjo/JSON_RPC.py 27 - Calls of a closed peer
prove (python 3.14) t/Pyjo/Prove.py 26 - Summary in Markdown
prove (python 3.14) t/Pyjo/Prove.py No plan found in TAP output
prove (python 3.15) t/Pyjo/JSON_RPC.py 27 - Calls of a closed peer
prove (python 3.15t) t/Pyjo/JSON_RPC.py 27 - Calls of a closed peer
prove (python 3.15t) t/Pyjo/Server_FastCGI.py 9 - Unsupported requests
prove (python 3.15t) t/Pyjo/Server_FastCGI.py No plan found in TAP output
prove (python 3.15t) t/Pyjo/Server_Lambda.py 12 - Runtime client
prove (python 3.15t) t/Pyjo/Server_Lambda.py No plan found in TAP output

The run of the workflow

uv on Windows takes the path of --python as it is, without .exe, so
venv/Scripts/python was not found, and Build failed since #1. The
directory of the virtual environment is found on every platform.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dex4er
dex4er merged commit e0605c4 into main Nov 5, 2026
5 of 11 checks passed
@dex4er
dex4er deleted the event-loop-modules branch November 5, 2026 11:50
@dex4er dex4er added this to the 0.1.0 milestone Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

event_loop_modules of Pyjo.Reactor, so that finalizers defer their cleanups below the frames of the event loop

1 participant