Skip to content

Build free-threaded wheels for Windows x86-64 and macOS arm64 - #1104

Open
Duo-ee wants to merge 2 commits into
python-pendulum:masterfrom
Duo-ee:codex/release-free-threaded-mixed-interpreters
Open

Duo-ee wants to merge 2 commits into
python-pendulum:masterfrom
Duo-ee:codex/release-free-threaded-mixed-interpreters

Conversation

@Duo-ee

@Duo-ee Duo-ee commented Dec 1, 2026

Copy link
Copy Markdown

Fixes #1103.

The regular wheel step builds both CPython and PyPy on Windows x86-64 and macOS arm64. The free-threaded step checked that regular interpreter list for PyPy and skipped both targets. Its own interpreter list already requests only CPython 3.14t and 3.15t, so the guard can be removed.

The 3.3.0 PyPI release has no free-threaded wheel for either target. Expanding all ten workflow matrix entries with this change enables the two missing jobs and preserves the other eight selections. Native wheel builds run on the release infrastructure.

Pull Request Check List

  • Added tests for changed code. Verified the release matrix separately and ran the applicable prek hooks. Actionlint reports the same three existing matrix-property diagnostics on master.
  • Updated documentation for changed code. This change affects the release workflow.

AI assistance was used to check the published wheels, change the workflow and validate the matrix.

Comment thread .github/workflows/release.yml Outdated
- name: build free-threaded wheels
uses: PyO3/maturin-action@86b9d133d34bc1b40018696f782949dac11bd380 # v1.49.4
if: ${{ !contains(matrix.interpreter || '', 'pypy') }}
# These CPython builds are independent of the regular step's PyPy interpreters.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I don't think we need this comment. Let's just remove the if clause.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Removed the comment in 5dc2ee7. The PR now only removes the free-threaded step's if condition.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants