Skip to content

gnureadline: add build-gnureadline.yml for riscv64 wheels - #1194

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

gnureadline: add build-gnureadline.yml for riscv64 wheels#1194
luhenry merged 1 commit into
mainfrom
gnureadline

Conversation

@luhenry

@luhenry luhenry commented Sep 6, 2026

Copy link
Copy Markdown
Member

Builds the standard Python readline extension statically linked against a GNU readline 8.3 the build compiles itself from a vendored tarball. Upstream publishes no riscv64 wheel.

Mirrors upstream's wheels.yaml (build-from-checkout, cibuildwheel).

Differs from upstream

  • Added a gpl_sources job - archives the vendored readline source as Corresponding Source

Testing

  • same as upstream (python -c "import gnureadline", matching upstream's own wheels.yaml override of its pyproject.toml's pytest default)

License: Statically links GNU readline 8.3 (GPL-3.0-or-later) built from a vendored tarball; the new gpl_sources job archives it and publishes it alongside the wheels.

Built on cp312 riscv64 in a local manylinux_riscv64 rehearsal; wheel built, auditwheel-repaired, installed and imported successfully.

Build-from-checkout cibuildwheel workflow mirroring upstream's own
wheels.yaml. gnureadline statically links a GNU readline it builds from
a vendored source tarball, so add a gpl_sources job that archives
rl/ (the readline source, official patches, and build script) as the
GPLv3 Corresponding Source, published alongside the wheels.
luhenry added a commit that referenced this pull request Sep 6, 2026
luhenry added a commit that referenced this pull request Sep 6, 2026
@luhenry
luhenry merged commit 6945ffd into main Sep 7, 2026
16 of 17 checks passed
@luhenry
luhenry deleted the gnureadline branch September 7, 2026 08:22
@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.

gnureadline riscv64 support

1 participant