memory-allocator: add build-memory-allocator.yml for riscv64 wheels - #1378
Merged
Conversation
Small Cython extension (used by SageMath) built with meson-python; cibuildwheel builds directly from a checkout of the upstream repo. The v0.2.0 git tag predates the version bump in pyproject.toml (a history rewrite around the meson migration left it behind), so the workflow pins the actual release commit instead, whose tree is byte-identical to the released PyPI sdist. Also carries a patch adding `license-files = ["LICENSE"]` to pyproject.toml: meson-python has no default LICENSE glob the way some other backends do, so every wheel upstream publishes today ships with none.
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.
memory-allocator0.2.0Compiles a tiny Cython extension class (
MemoryAllocator) that SageMath and related projects use for manual memory allocation. Upstream publishes no riscv64 wheel.Mirrors upstream's
dist.ymlbuild_wheelsjob.Differs from upstream
v0.2.0tag - that tag predates upstream's pyproject.toml version bump.Testing
License: GPL-3.0-or-later; upstream ships no LICENSE text in its wheels because meson-python has no default LICENSE glob, so the patch adds one.
Patches
0001-ship-the-GPL-3.0-or-later-LICENSE-in-the-wheel-s-dis.patch- To upstream (no fork to push from). Every wheel upstream publishes today lacks a LICENSE file; reproduces off riscv64.Built and tested locally on cp314 (macOS, patched pyproject.toml); 3 doctests passed, 0 skipped.