Skip to content

cwcwidth: add build-cwcwidth.yml for riscv64 wheels - #1182

Merged
luhenry merged 1 commit into
mainfrom
cwcwidth
Sep 7, 2026
Merged

luhenry merged 1 commit into
mainfrom
cwcwidth

Conversation

@luhenry

@luhenry luhenry commented Sep 6, 2026

Copy link
Copy Markdown
Member

Cython bindings for libc wcwidth/wcswidth, used to compute terminal
printable-character widths. Upstream publishes no riscv64 wheel.

Mirrors upstream's publish-twine.yaml, split into its two wheel classes.

Differs from upstream

  • Build once on cp311 (upstream's hardcoded abi3 floor), not cp312 - avoids compiling the abi3 wheel against newer headers than it claims to support.

Testing

  • CIBW_TEST_SOURCES: tests - tests/ is a package; without staging it alone, pytest's rootdir insertion shadows the wheel with the uncompiled source tree.

License: OK

Built on cp311 (abi3, reused on cp312/cp313/cp314) and cp314t; 11 passed, 1 skipped (macOS-only native-wcwidth quirk).

Mirrors upstream's own two-pass cibuildwheel setup: one abi3 wheel built on
cp311 (upstream's own py_limited_api floor, hardcoded in setup.py) and reused
on cp312/cp313/cp314, plus a separate cp314t free-threaded build.
luhenry added a commit that referenced this pull request Sep 6, 2026
@luhenry
luhenry merged commit bf4fe39 into main Sep 7, 2026
7 checks passed
@luhenry
luhenry deleted the cwcwidth branch September 7, 2026 08:13
@luhenry luhenry linked an issue Sep 7, 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.

cwcwidth riscv64 support

1 participant