connected-components-3d: add build-connected-components-3d.yml for riscv64 wheels - #1450
Merged
Conversation
…scv64 wheels Cython/C++ connected-components labeling for 2D/3D images. Mirrors upstream's build_wheel.yml with cibuildwheel narrowed to riscv64. scipy has no cp314t wheel anywhere, so that leg drops scipy and deselects the two tests that need it.
luhenry
added a commit
that referenced
this pull request
Sep 7, 2026
…el in tests automated_test.py sits next to the unbuilt cc3d/ source directory; pytest's rootdir insertion put that directory ahead of the installed wheel on sys.path, so `from .fastcc3d import ...` failed against the uncompiled source. Stage only the test file via CIBW_TEST_SOURCES (gotcha 25).
…y deselect list crackle-codec (the optional stack extra's codec) has no riscv64 wheel on either index; test_connected_components_stack imports it unconditionally via cc3d's own connected_components_stack(), so deselect it everywhere rather than building pybind11/google_crc32c from source for one optional extra. Also catches test_compare_scipy_6, which the previous --deselect list missed.
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.
connected-components-3d4.1.0Compiles a Cython/C++ extension for connected-component labeling on 2D/3D images (26/18/6-connected variants). Upstream publishes no riscv64 wheel.
Mirrors upstream's
build_wheel.yml.Differs from upstream
Testing
fastremap(a hard test import) has no riscv64 wheel on either index, so pip builds it from sdist.scipyhas no cp314t wheel anywhere, so that leg drops it and deselects the two tests that need it.License: OK
Built on cp312; ran locally off the checkout to confirm the extension compiles and imports cleanly before pushing.