Skip to content

Conversation

@27Bslash6
Copy link
Contributor

Summary

  • Add explicit interpreter flags for macOS and Windows wheel builds
  • Fixes missing wheels for Python 3.9-3.12 on these platforms

Problem

Users on Windows/macOS with Python 3.9-3.12 had no pre-built wheels, forcing source builds which failed due to home crate 0.5.12 requiring Rust edition 2024 (Cargo 1.85+, not yet stable).

Solution

Maturin's --find-interpreter auto-discovery is unreliable with multiple Python versions from setup-python. Explicit -i python3.X flags ensure all versions get wheels.

Impact

Platform Before After
Linux x86_64 5 wheels 5 wheels
Linux aarch64 5 wheels 5 wheels
macOS x86_64 1 wheel (3.13) 5 wheels
macOS aarch64 1 wheel (3.13) 5 wheels
Windows x86_64 1 wheel (3.13) 5 wheels
Total 13 25

Maturin's auto-discovery only found Python 3.13 on macOS/Windows,
resulting in missing wheels for py3.9-3.12. Users on these platforms
fell back to source builds which failed due to edition2024 in
transitive dev-dependencies.

Add explicit interpreter flags for macOS and Windows builds,
matching the pattern already used for Linux.

Before: 13 wheels (missing macOS py3.9-3.12, Windows py3.9-3.12)
After: 25 wheels (full coverage)
@27Bslash6 27Bslash6 force-pushed the fix/wheel-builds-all-platforms branch from c3caf2f to 5de46b5 Compare December 18, 2025 06:24
@27Bslash6 27Bslash6 merged commit 65da740 into main Dec 18, 2025
37 checks 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.

2 participants