Skip to content

edt: add build-edt.yml for riscv64 wheels - #1377

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

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

Conversation

@luhenry

@luhenry luhenry commented Sep 7, 2026

Copy link
Copy Markdown
Member

Multi-label anisotropic Euclidean distance transform for numpy arrays, compiled from a Cython/C++ extension. Upstream publishes no riscv64 wheel.

Mirrors upstream's build_wheels.yml.

Differs from upstream

  • numpy pinned to our riscv64 registry (PIP_ONLY_BINARY=numpy) - PyPI ships no riscv64 numpy wheel.
  • Runs upstream's tests.yml suite (automated_test.py) via CIBW_TEST_COMMAND - build_wheels.yml itself builds without testing.

Testing

  • python -m pytest automated_test.py, same suite as upstream's separate tests.yml.

License: Patched setup.cfg's license_files (COPYING, COPYING.LESSER) so the wheel ships the LGPL-3.0-or-later text; upstream's own PyPI wheels currently ship none.

Patches

  • 0001-Ship-the-LGPL-license-files-in-the-wheel.patch - To upstream [not yet submitted]. Without it the wheel has no dist-info/licenses/ entry at all; reproduces on any platform, not riscv64-specific.

Built on cp312 equivalent (macOS arm64, local pip wheel, no cibuildwheel/riscv64); 84 passed.

luhenry added a commit that referenced this pull request Sep 7, 2026
Cython/C++ package computing Euclidean distance transforms on numpy
arrays; builds cleanly from checkout with cibuildwheel, no OpenMP so no
gpl_sources job needed. Carries a patch fixing setup.cfg's license_files
so the wheel ships the LGPL-3.0-or-later text (upstream's own PyPI
wheels currently ship none, per an explicit license_files list that
turned off setuptools' default glob).
luhenry added a commit that referenced this pull request Sep 7, 2026
@luhenry
luhenry merged commit 4ee27e4 into main Sep 7, 2026
13 of 15 checks passed
@luhenry
luhenry deleted the edt branch September 7, 2026 16:06
@luhenry luhenry mentioned this pull request Sep 7, 2026
@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.

edt riscv64 support

1 participant