Repository navigation
Build per-platform wheels and run the corpus against them - #2
Draft
suleman-uzair wants to merge 4 commits into
Draft
suleman-uzair wants to merge 4 commits into
suleman-uzair wants to merge 4 commits into
Conversation
added 4 commits
November 16, 2026 20:37
Add a wheel build for Linux (manylinux_2_28 x86_64 and aarch64), macOS (arm64, x86_64) and Windows x86_64 that bundles the pinned core library, checks its glibc, macOS or Windows baseline from the binary, and records wheel, library and core hashes. Each wheel is installed into a clean environment and runs the binding tests and the conformance corpus. Wheels are workflow artifacts only; nothing is published.
A distribution without extension modules put the package under .data/purelib. Declare platform content so the wheel root holds it.
A queued macOS runner held every platform's install test back because the install job needed the whole build matrix. Install and test each wheel in the job that built it, and keep running later checks after an earlier one fails so one result does not hide another.
… feat/python-native-wheels
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.
Builds per-platform wheels that carry the pinned core's C library and runs the conformance corpus against each installed wheel. Refs ukiryu/ukiryu#25 (part of ukiryu/ukiryu#29). Stacked on #1; the base is that branch.
Changes
pyproject.toml,setup.py: platform wheels taggedpy3-none-<platform>, with the library atukiryu/lib/. The tag comes fromUKIRYU_WHEEL_PLAT, never from the build host. No sdist..github/workflows/wheels.yml:tests/outside the checkout withpython -I. It runs the installed-wheel checks, the binding tests and the full corpus. Linux also runs the corpus in a manylinux_2_28 image (glibc 2.28).scripts/check_wheel.py: checks the library's own baseline (max GLIBC symbol, Mach-O minos, no VC++ runtime import on Windows) and records wheel, library and core hashes plus the core commit.tests/wheel/: the loaded package is the installed one, the library source ispackaged, and its hash equals the build record.Not done here
pyproject.tomlreuse what the repo already has and are not a ratified release contract.