Skip to content

🤖 ci: test built wheels, ship type stubs, add ruff (re-land #61) - #62

Merged
dancergraham merged 8 commits into
mainfrom
ci/test-built-wheels
Nov 22, 2026
Merged

dancergraham merged 8 commits into
mainfrom
ci/test-built-wheels

Conversation

@dancergraham

Copy link
Copy Markdown
Owner

Re-lands #61, which merged into #60's branch (ci/zizmor-concurrency-cache) after #60 had already merged into main, so none of its commits reached main. Same branch, same commits (ci/test-built-wheels @ 880aa0e), now targeting main. The diff only contains #61's changes, since #60's commits are already in main.

See #61 for the description, verification and review follow-ups. CI on that head was green (21/21 checks).

🤖 Generated with Claude Code

dancergraham and others added 8 commits November 22, 2026 13:08
The pytest matrix rebuilt the extension from source for each of five
interpreters, plus once more for a coverage job that only measured
Python code (there is none). Download the manylinux x86_64 wheels
instead, cover 3.14t, 3.15t and PyPy 3.11 too, assert the free-threaded
builds keep the GIL off, and make release depend on the tests.
Drop the coverage job and the now unused pytest-cov extra.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add e57.pyi; maturin packages it with py.typed. CI checks it against
the compiled module with mypy.stubtest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The manylinux image builds pypy311_pp73 wheels, which the current PyPy
3.11 (pp80 ABI) can't install, so the job could never pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Shape-typed arrays: points/color (n, 3), intensity (n, 1).
- Document that color/intensity are empty if any scan lacks them, and
  that color falls back to greyscale from intensity.
- Document raised exceptions.
- E57.__init__ -> NoReturn, since E57() raises TypeError at runtime.
- Mirror the docs on the Rust items so help() matches the stub.
- Test array dtypes/shapes and that E57() raises.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep docstrings in e57.pyi (PYI021 ignored): for a compiled module
they are what IDEs show.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dancergraham
dancergraham marked this pull request as ready for review November 22, 2026 12:58
@dancergraham
dancergraham merged commit dc25590 into main Nov 22, 2026
44 checks passed
@dancergraham
dancergraham deleted the ci/test-built-wheels branch November 22, 2026 14:02
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.

1 participant