Skip to content

fix(ci): publish wheels compatible with more Python versions#177

Merged
nijel merged 1 commit intomainfrom
wheels
Apr 10, 2026
Merged

fix(ci): publish wheels compatible with more Python versions#177
nijel merged 1 commit intomainfrom
wheels

Conversation

@nijel
Copy link
Copy Markdown
Member

@nijel nijel commented Apr 10, 2026

The build randomly picked Python interpreter to use causing build with Python 3.8 and not producing wheels compatible with modern Python versions.

The build randomly picked Python interpreter to use causing build with
Python 3.8 and not producing wheels compatible with modern Python
versions.
@nijel nijel requested a review from Copilot April 10, 2026 12:59
@nijel nijel self-assigned this Apr 10, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the GitHub Actions packaging workflow to make wheel builds deterministic by pinning the interpreter used for the stable-ABI (abi3) wheel builds, avoiding accidental builds against an older CPython that would produce narrowly-versioned wheel tags.

Changes:

  • Stop relying on python-version: 3.x for wheel builds and instead build stable-ABI wheels using CPython 3.10.
  • Pass an explicit interpreter to maturin (-i python3.10 on Linux/musllinux; pin to Python 3.10 and use -i python on Windows/macOS).
  • Keep free-threaded wheel builds unchanged while ensuring the stable-ABI artifacts are tagged consistently.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nijel nijel enabled auto-merge (rebase) April 10, 2026 13:07
@nijel nijel merged commit 2daa886 into main Apr 10, 2026
40 checks passed
@nijel nijel deleted the wheels branch April 10, 2026 13:07
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