Skip to content

uv.lock: Pyjoyment of Git main at b6d623e, and a timer of uvloop not due before its time - #8

Merged
dex4er merged 2 commits into
mainfrom
pyjoyment-main
Nov 5, 2026
Merged

dex4er merged 2 commits into
mainfrom
pyjoyment-main

Conversation

@dex4er

@dex4er dex4er commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

uv.lock takes Pyjoyment of Git main at b6d623e, with pyjoyment/Pyjoyment#534, which #7 needs. Its new tests of Pyjo.Steps failed on the reactor now and then, as a timer of uvloop was due up to a millisecond early, which _Loop fixes.

Closes #7

Changes

Validation

  • t/ of the repository with PYTHONDEVMODE=1
  • The suite of Pyjoyment b6d623e on the reactor with PYTHONDEVMODE=1, on macOS: 434 files, 7320 tests pass
  • A probe of Pyjo.Reactor._finalize over that suite: no frame of uvloop below any of its 4265 calls in 198 processes, t/stdlib/IOLoop_gc.py among them
  • trunk check, and the documentation with sphinx-build -W
  • CI: the required check Tests passes

🤖 Generated with Claude Code

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) 7285 7255 30 0 ✅ 127174808457
prove (python 3.13) 7285 7255 30 0 ✅ 127174808400
prove (python 3.14) 7316 7291 25 0 ✅ 127174808511
prove (python 3.15) 7316 7291 25 0 ✅ 127174808331
prove (python 3.15t) 7316 7291 25 0 ✅ 127174808522
All 36518 36383 135 0 ✅

The run of the workflow

…modules of asyncio

libuv counts a timer in whole milliseconds of a clock that it rounds down,
so a timer of uvloop was due up to a millisecond early by time.monotonic,
which failed the tests of Pyjo.Steps of Pyjoyment now and then.
_Loop.call_later rounds the delay up, as MagicStack/uvloop#755 does.

event_loop_modules stays the one of Pyjo.Reactor.Asyncio: the loop of
uvloop makes no frames of Python below a callback (#7).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dex4er dex4er changed the title uv.lock: Pyjoyment of Git main at b6d623e uv.lock: Pyjoyment of Git main at b6d623e, and a timer of uvloop not due before its time Nov 5, 2026
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 Pyjo-Reactor-Uvloop | 🛠️ Build #35666981 | 📁 Comparing b164de4 against latest (41cee40)

  🔍 Preview build  

1 file changed
± index.html

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