Conversation
Cython/C++ edit-distance library. Wraps edlib's C++ core, compiled per-interpreter from a Cython-generated .cpp (no pyproject.toml, and the pre-generated source isn't checked in upstream either). Ships the root LICENSE into dist-info/licenses/, which upstream's own wheels omit entirely (patches/edlib/1.3.9.post1).
luhenry
added a commit
that referenced
this pull request
Sep 7, 2026
before-build's cwd is {project} (the invocation dir), not {package}
(the package-dir subdir) -- cython was looking for edlib.pyx at the
checkout root and failing on every job. Prefix with {package}.
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.
edlib1.3.9.post1Cython binding compiling edlib's C++ edit-distance (Levenshtein) core into a per-interpreter extension. Upstream publishes no riscv64 wheel.
Mirrors upstream's
python_edlibjob (ci.yaml) andbindings/python/Makefile'swheelstarget.Differs from upstream
edlib.pyxinCIBW_BEFORE_BUILDinstead of viamake sdist- skips the cog-generatedREADME.rst, which needs a built wheel to generate.Testing
python3 {project}/test.py.License: Wheel now ships the root LICENSE under
dist-info/licenses/; upstream's own PyPI wheels carry none at all.Patches
0001-ship-the-MIT-LICENSE-in-the-wheel-s-dist-info.patch- To upstream [no fork to push from]. Without it the wheel has no LICENSE file; reproduces off riscv64 too.Built off the checkout on cp312 (macOS/arm64, local, off-riscv64);
test.pypassed.