Skip to content

pytera: Add version 0.1.2 - #3398

Draft
luhenry wants to merge 1 commit into
mainfrom
pytera
Draft

luhenry wants to merge 1 commit into
mainfrom
pytera

Conversation

@luhenry

@luhenry luhenry commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

PyO3 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.yml linux/musllinux jobs (PyO3/maturin-action).

Differs from upstream

  • Drops the separate free-threaded (python3.13t) leg - abi3 can't target it and pyo3 0.23's free-threaded support is out of scope here

Testing

  • same as upstream (pytest tests, using the repo's own templates/ 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.

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
luhenry marked this pull request as draft October 16, 2026 00:03

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