Repository navigation
Conversation
Templating-engine native-accelerator candidate distinct from the
already-published minijinja/markdown-it-pyrs and the already-parked
genshi/cheetah3 (ct3): pytera is a PyO3 binding to Rust's Tera template
engine, a single abi3-py38 extension module (one wheel reused across every
CPython 3.8+ interpreter).
Mirrors upstream's own maturin-generated ci.yml linux/musllinux jobs
(PyO3/maturin-action), narrowed to riscv64. Drops the free-threaded
(python3.13t) leg upstream builds separately, since abi3 already can't
target it and pyo3 0.23's free-threaded support is out of scope for this
first port.
Adds license-files: the real v0.1.2 tag's tree has no LICENSE file at all
(added to the repo one commit after that tag) and its legacy
`license = {text = "MIT"}` table form gets no automatic license-files
discovery, so the released PyPI wheel ships no licence text on any
platform.
luhenry
marked this pull request as draft
October 16, 2026 00:03
This branch has not been deployed
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.
pytera0.1.2PyO3 binding to Rust's Tera template engine, a single abi3-py38 extension reused across every CPython 3.8+ interpreter. Upstream publishes no riscv64 wheel.
Mirrors upstream's maturin-generated
ci.ymllinux/musllinux jobs (PyO3/maturin-action).Differs from upstream
Testing
pytest tests, using the repo's owntemplates/fixtures)License: wheel currently ships no licence text on any platform (the v0.1.2 tag predates the repo's LICENSE file); the patch adds it.
Patches
0001-pyproject-ship-the-projects-mit-licence-in-the-wheel.patch- To upstream, not filed yet. Without it the wheel ships no licence file at all; reproduces on every platform, not riscv64-only.CI running on manylinux and musllinux.