Skip to content

connected-components-3d: add build-connected-components-3d.yml for riscv64 wheels - #1450

Merged
luhenry merged 3 commits into
mainfrom
connected-components-3d
Sep 8, 2026
Merged

connected-components-3d: add build-connected-components-3d.yml for riscv64 wheels#1450
luhenry merged 3 commits into
mainfrom
connected-components-3d

Conversation

@luhenry

@luhenry luhenry commented Sep 7, 2026

Copy link
Copy Markdown
Member

Compiles 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

  • Nothing beyond the riscv64 image.

Testing

  • fastremap (a hard test import) has no riscv64 wheel on either index, so pip builds it from sdist.
  • scipy has 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.

…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.
…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.
@luhenry
luhenry merged commit 4b79fa3 into main Sep 8, 2026
9 checks passed
@luhenry
luhenry deleted the connected-components-3d branch September 8, 2026 08:35
@luhenry luhenry linked an issue Sep 8, 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.

connected-components-3d riscv64 support

1 participant