Skip to content

Build architecture-specific macOS wheels#71

Merged
anth-volk merged 1 commit into
mainfrom
codex/macos-wheel-architecture-validation
Jun 1, 2026
Merged

Build architecture-specific macOS wheels#71
anth-volk merged 1 commit into
mainfrom
codex/macos-wheel-architecture-validation

Conversation

@anth-volk
Copy link
Copy Markdown
Contributor

Fixes #70

Summary

  • add separate macOS wheel builds for Intel and Apple Silicon targets
  • retag release wheels with explicit platform tags using wheel tags
  • validate that the wheel filename, internal WHEEL metadata, and bundled Rust executable architecture agree before upload
  • add unit coverage for the wheel artifact validator

Testing

  • PYTHONPYCACHEPREFIX=/private/tmp/pycache-uk-rust PYTHONPATH=interfaces/python PYTEST_ADDOPTS='-p no:cacheprovider' python -m pytest interfaces/python/tests/test_validate_wheel_artifact.py -q
  • PYTHONPYCACHEPREFIX=/private/tmp/pycache-uk-rust PYTHONPATH=interfaces/python PYTEST_ADDOPTS='-p no:cacheprovider' python -m pytest interfaces/python/tests -q
  • python -c "import yaml; yaml.safe_load(open('.github/workflows/publish-pypi.yml'))"
  • git diff --check

Notes

This adds release-time artifact validation but does not add a full PR wheel-build matrix. The existing PR workflow will run the validator unit tests through the Python wrapper test suite. A follow-up should decide whether to build and install smoke-test wheels on PRs, and whether Linux manylinux tags should be verified with auditwheel or retagged to match the build containers.

@anth-volk anth-volk marked this pull request as ready for review June 1, 2026 16:47
@anth-volk anth-volk merged commit 718db0a into main Jun 1, 2026
1 check passed
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.

Publish architecture-specific macOS wheels for policyengine-uk-compiled

1 participant