macOS builds have been temporarily disabled until the import issue is resolved.
The wheels build successfully on macOS but fail at import:
ModuleNotFoundError: No module named 'blend2d._capi'
The _capi.so file is either:
- Not being included in the wheel
- In the wrong location in the wheel
- Has incorrect permissions/linking
✅ Linux (x86_64, aarch64) - Fully working ✅ Windows (AMD64) - Fully working
❌ macOS (Intel x86_64) - Disabled ❌ macOS (Apple Silicon arm64) - Disabled
-
.github/workflows/build-wheels.yml:- Removed
macos-13andmacos-14from build matrix
- Removed
-
pyproject.toml:- Added
*-macosx*to skip patterns
- Added
When published to PyPI, users will be able to install on:
- ✅ Linux x86_64 (Python 3.8-3.12)
- ✅ Linux aarch64/ARM64 (Python 3.8-3.12)
- ✅ Windows AMD64 (Python 3.8-3.12)
- ❌ macOS (all architectures) - source install only
Total: 10 wheels (5 Linux x86_64 + 5 Linux aarch64 + 5 Windows)
macOS users can still install from source:
pip install blend2d --no-binary blend2dThis will compile from source (requires CMake and a C++ compiler).
- Investigate wheel contents:
unzip -l blend2d-*.whl - Check if
_capi.sois present - Verify it's in
blend2d/directory - Check with
otool -Lfor missing dependencies - Test locally on macOS with debug build
Once fixed:
- Restore OS list in
.github/workflows/build-wheels.yml - Remove
*-macosx*from skip inpyproject.toml - Test with new release candidate tag
Decision: Ship Linux + Windows wheels now, fix macOS later