Skip to content

chore: Modernize cibuildwheel configuration - #557

Merged
Jan Tilly (jtilly) merged 7 commits into
mainfrom
modernize-cibuildwheel
Nov 4, 2026
Merged

Jan Tilly (jtilly) merged 7 commits into
mainfrom
modernize-cibuildwheel

Conversation

@jtilly

Copy link
Copy Markdown
Member

Modernize wheel and source distribution builds:

  • Update cibuildwheel to 4.3.5 and use uv for environment creation and dependency installation.
  • Skip free-threaded wheels on all platforms and remove obsolete exclusions.
  • Install macOS native dependencies once per job, remove hard-coded runner paths, and skip micromamba setup on Linux.
  • Build sdists with python -m build --sdist, using dependencies declared in pyproject.toml.

Validated wheel selection across all five targets, Windows include-path expansion, and an isolated sdist build. Full wheel builds are left to CI.

@jtilly
Jan Tilly (jtilly) marked this pull request as ready for review November 4, 2026 13:40
Base automatically changed from modernize-pixi to main November 4, 2026 13:59
@MarcAntoineSchmidtQC

Copy link
Copy Markdown
Member

I have to admit that I didn't track very closely when the free-threaded releases were automatically added. Is there a reason to remove them?

I just tested it, and it seemed to be working, although to really use the free-threading we have to add the "freethreading_compatible": True, instruction to Cython.

@jtilly

Copy link
Copy Markdown
Member Author

Is there a reason to remove them?

No. The setup was just inconsistent. Happy to include them.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@jtilly
Jan Tilly (jtilly) merged commit 3927ade into main Nov 4, 2026
26 checks passed
@jtilly
Jan Tilly (jtilly) deleted the modernize-cibuildwheel branch November 4, 2026 16:10
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