Skip to content

css-inline: add build-css-inline.yml for riscv64 wheels - #1009

Merged
luhenry merged 2 commits into
mainfrom
css-inline
Sep 6, 2026
Merged

css-inline: add build-css-inline.yml for riscv64 wheels#1009
luhenry merged 2 commits into
mainfrom
css-inline

Conversation

@luhenry

@luhenry luhenry commented Sep 6, 2026

Copy link
Copy Markdown
Member

PyO3/maturin binding that inlines CSS into HTML style attributes. Upstream publishes no riscv64 wheel.

Mirrors the linux job of upstream's python-release.yml.

Differs from upstream

  • Backgrounds css-inline/tests/server.py and polls it ready before testing - a single CIBW_TEST_COMMAND has no separate step to absorb the startup race upstream's multi-step CI gets for free.

Matrix: single cp310-abi3 build (pyo3's abi3-py310 feature is fixed in bindings/python/Cargo.toml); upstream ships no free-threaded wheel for this package.

Testing

  • same as upstream (tests-py, including the hypothesis property test)

License: OK

Built on cp310; re-tested on 3.11-3.14 via find_compatible_wheel.

PyO3/maturin binding with pyo3 abi3-py310 fixed upstream, so the wheel
matrix collapses to a single cp310-abi3 build built on cp310 and
re-tested on 3.11-3.14. Mirrors upstream's own python-release.yml
linux job and reproduces its background test HTTP server for the
remote-stylesheet test cases.
…d extension

css_inline/__init__.py is a pure-Python shim doing `from .css_inline import *`;
the compiled .so lives at css_inline/css_inline.abi3.so (confirmed by inspecting
the published PyPI wheel), so the top-level import always resolves to __init__.py.
@luhenry
luhenry merged commit 152a7c1 into main Sep 6, 2026
6 checks passed
@luhenry
luhenry deleted the css-inline branch September 6, 2026 13:29
@luhenry luhenry linked an issue Sep 6, 2026 that may be closed by this pull request
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.

css-inline riscv64 support

1 participant