Skip to content

dumb-init: add build-dumb-init.yml for riscv64 wheels - #1184

Merged
luhenry merged 2 commits into
mainfrom
dumb-init
Sep 7, 2026
Merged

dumb-init: add build-dumb-init.yml for riscv64 wheels#1184
luhenry merged 2 commits into
mainfrom
dumb-init

Conversation

@luhenry

@luhenry luhenry commented Sep 6, 2026

Copy link
Copy Markdown
Member

Compiles dumb-init's standalone C signal-forwarding init executable, distributed as a py2.py3-none-<plat> wheel. Upstream publishes no riscv64 wheel.

Mirrors upstream's own python-dists-% Makefile target: build in a manylinux container, pip wheel + auditwheel repair, done here via cibuildwheel.

Differs from upstream

  • Single cp312 build - setup.py's own bdist_wheel override forces py2.py3-none, so one build covers every interpreter.

Testing

  • Runs upstream's own tests/ pytest suite via CIBW_TEST_SOURCES, staging testing/, VERSION, pytest.ini alongside it.

License: OK

Patches

  • 0001-testing-eliminate-usage-of-pylib.patch - Backport [https://github.com/Yelp/dumb-init/commit/2c39101849abb835e9f368e3cf5c9570362a9589]. Without it, import testing fails on any pytest recent enough to no longer pull in the standalone py package.
  • 0002-setup.py-version-1.2.5.post1-and-drop-testing-package.patch - Inappropriate. Replicates a version bump and packages=[] fix Yelp applied to the uploaded sdist but never pushed to the v1.2.5 tag; without it the build produces version 1.2.5 and ships the dev-only testing package inside the wheel.

Built on cp312; CI run in progress.

Builds dumb-init's plain C signal-forwarding executable from an upstream
checkout via cibuildwheel, mirroring the manylinux+auditwheel repair
upstream's own Makefile drives. Two patches backport a testing-helper fix
and replicate a PyPI-only setup.py version bump that Yelp never pushed
back to the v1.2.5 tag.
@luhenry
luhenry merged commit 64b943c into main Sep 7, 2026
6 checks passed
@luhenry
luhenry deleted the dumb-init branch September 7, 2026 08:12
@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.

dumb-init riscv64 support

1 participant