Skip to content

v0.21.1

Choose a tag to compare

@tya5 tya5 released this 14 Aug 09:55
· 2 commits to main since this release

Maintenance: CI had been red since the 0.18.x series and none of the releases in between were the cause.

ruff was declared >=0.5 in the dev extra, so CI installed whatever was newest on each run while local checks used an older one. ruff 0.16 added RUF036, which fires on a pre-existing clipboard type union (None not last) — so the workflow failed at the lint step before ever running mypy or the tests.

  • Reordered the union (bool | Awaitable[bool | None] | None) — semantically identical.
  • Pinned ruff==0.16.3, so lint results are reproducible instead of drifting with each ruff release. That is what the rule-list comment in pyproject.toml already claimed to guarantee.

No library behaviour changed. The full suite (215 tests, mypy strict, ruff) now passes in CI on Python 3.11 / 3.12 / 3.13.