markdown-it-pyrs: add build-markdown-it-pyrs.yml for riscv64 wheels - #1382
Merged
Conversation
Builds the PyO3/maturin markdown-it.rs binding directly from the upstream checkout (Cargo.lock is committed there), per-interpreter since pyo3 0.19.2 carries no abi3 feature and predates Py_GIL_DISABLED, so cp314t is dropped.
…3.14 Confirmed on CI: cp312 and cp313 pass, cp314 SIGSEGVs inside the compiled extension on the very first MarkdownIt().render() call, the same test that passes clean on the other two. pyo3 0.19.2 predates CPython 3.14's changed Unicode object internal layout, so its own PyUnicode_KIND/PyUnicode_DATA struct-offset assumptions are stale there.
luhenry
force-pushed
the
markdown-it-pyrs
branch
from
September 7, 2026 14:51
91ccb3b to
fc3f19e
Compare
luhenry
added a commit
that referenced
this pull request
Sep 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
markdown-it-pyrs0.4.0Compiles the PyO3 binding for
markdown-it.rs, a CommonMark/GFM Markdown parser. Upstream publishes no riscv64 wheel.Mirrors the
linuxjob of upstream'sCI.yml, via cibuildwheel instead ofmaturin-actiondirectly.Differs from upstream
Matrix: cp312/cp313 only - pyo3 0.19.2 sets no abi3 feature, predates
Py_GIL_DISABLED(no cp314t), and segfaults on.render()against cp314's changed Unicode object layout (no cp314).Testing
test_api.py/test_cli.py/test_fixtures.py;bench_html.py/bench_tree.pyneed the unrelated benchmarking extra, deselected.License: OK
Built on cp312.