Conversation
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
edt3.1.2Multi-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
PIP_ONLY_BINARY=numpy) - PyPI ships no riscv64 numpy wheel.tests.ymlsuite (automated_test.py) viaCIBW_TEST_COMMAND-build_wheels.ymlitself builds without testing.Testing
python -m pytest automated_test.py, same suite as upstream's separatetests.yml.License: Patched
setup.cfg'slicense_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 nodist-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.