Conversation
Build-from-checkout cibuildwheel workflow mirroring upstream's own cibuildwheel-based deployment job, narrowed to manylinux riscv64. numpy is a build and runtime dependency; Cython is build-only. Both come from our registry since PyPI ships neither for riscv64. The project ships no LICENSE file at all despite declaring GPL in setup.py; the vendored core solver's own header states GPLv3-or-later explicitly. Adds the canonical GPLv3 text via patch (matching how conda-forge's feedstock for this package fills the same gap) plus the vendored solver's own copyright/citation notice, so both land in dist-info/licenses/.
luhenry
added a commit
that referenced
this pull request
Sep 7, 2026
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.
pymaxflow1.3.2Compiles the Cython bindings around Kolmogorov's Boykov-Kolmogorov maxflow/min-cut C++ library. Upstream publishes no riscv64 wheel.
Mirrors upstream's
maxflow-deployment.ymldeploy-wheelsjob.Differs from upstream
PIP_ONLY_BINARY- PyPI's newest numpy has no riscv64 wheel.Matrix: cp312/cp313/cp314 - cp314t dropped, Cython has no free-threaded wheel anywhere yet.
Testing
test_maxflow.py, plusimageio/networkxtest deps), staged viatest-sourcessince it's not in the sdist.License: Project ships no LICENSE at all despite declaring GPL; the vendored core solver's header states GPLv3-or-later explicitly, so the build adds the canonical GPLv3 text plus the solver's own notice.
Patches
0001-Add-LICENSE-matching-setuptools-default-license_file.patch- To upstream, blocked (this port may only touch riseproject-dev/python-wheels). Without it the wheel ships no license text at all.Built on cp312 locally (macOS, plain
pip wheel+ pytest against the installed wheel, no cibuildwheel/QEMU available in this environment); 12 passed.