Skip to content

Add lark-cython build workflow - #3400

Draft
luhenry wants to merge 1 commit into
mainfrom
lark-cython
Draft

luhenry wants to merge 1 commit into
mainfrom
lark-cython

Conversation

@luhenry

@luhenry luhenry commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Cython LALR-parsing accelerator plugin for the Lark parser library (pure algorithmic Cython, no SIMD/arch-specific code, no vendored C library). Upstream publishes no riscv64 wheel.

Mirrors upstream's own [tool.cibuildwheel] config in pyproject.toml (build-system already declares Cython>=3.0,<3.1, so no extra before-build step is needed).

Differs from upstream

  • Nothing beyond the riscv64 image.

Matrix: cp312/cp313 only - upstream's own cibuildwheel build glob stops at p313, and its pinned Cython>=3.0,<3.1 has no free-threaded (cp314t) support.

Testing

  • same as upstream (pytest {project})

License: OK

Built on cp312/cp313; watching CI.

Cython LALR-parsing accelerator plugin for Lark, with no exotic native
deps and no SIMD/arch-specific code. PyPI ships manylinux2014/musllinux
x86_64+i686 wheels plus macOS/Windows, no riscv64 or aarch64. Mirrors
upstream's own cibuildwheel config in pyproject.toml, narrowed to riscv64
and capped at cp312/cp313 to match upstream's own build matrix (Cython
>=3.0,<3.1 has no free-threaded support, and upstream doesn't build
cp314 either).
@luhenry
luhenry marked this pull request as draft October 16, 2026 00:02

This branch has not been deployed

No deployments
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