Skip to content

faust-cchardet: add build-faust-cchardet.yml for riscv64 wheels - #1681

Merged
luhenry merged 1 commit into
mainfrom
faust-cchardet
Sep 10, 2026
Merged

faust-cchardet: add build-faust-cchardet.yml for riscv64 wheels#1681
luhenry merged 1 commit into
mainfrom
faust-cchardet

Conversation

@luhenry

@luhenry luhenry commented Sep 10, 2026

Copy link
Copy Markdown
Member

Compiles the bundled uchardet C++ sources (Mozilla's universal charset detector) into a Cython extension for fast character-encoding detection. Upstream publishes no riscv64 wheel.

Mirrors upstream's build-and-upload-to-pypi.yml build_wheels job.

Differs from upstream

  • Nothing beyond the riscv64 image.

Testing

  • same as upstream

License: Wheel ships the MPL-1.1/GPL-2.0-or-later/LGPL-2.1-or-later COPYING that covers both the package and the vendored uchardet sources (identical text); upstream's own published wheels ship no licence file at all.

Patches

  • 0001-ship-the-tri-license-COPYING-in-the-wheel-s-dist-info.patch - To upstream (no fork of faust-streaming/cChardet to push from). meson-python has no default licence glob, so pyproject.toml needs an explicit license-files key or every wheel ships none; reproduces on every platform, not riscv64-specific.

Built on cp312; 150 passed, 3 skipped.

Mirrors upstream's build_wheels job: checkout the tag with submodules
(the meson build compiles the vendored uchardet C++ sources), run
cibuildwheel with the riscv64 manylinux image, matrix cp312/cp313/
cp314/cp314t. A pyproject.toml patch converts the legacy license table
to a plain SPDX expression and adds license-files, so the tri-licensed
COPYING ships in the wheel's dist-info, which none of upstream's own
published wheels currently do.
@luhenry
luhenry merged commit a220924 into main Sep 10, 2026
10 checks passed
@luhenry
luhenry deleted the faust-cchardet branch September 10, 2026 10:44
@luhenry luhenry linked an issue Sep 10, 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.

faust-cchardet riscv64 support

1 participant