Skip to content

Switch to maturin as build backend#607

Open
Wuestengecko wants to merge 1 commit into
masterfrom
maturin
Open

Switch to maturin as build backend#607
Wuestengecko wants to merge 1 commit into
masterfrom
maturin

Conversation

@Wuestengecko
Copy link
Copy Markdown
Member

@Wuestengecko Wuestengecko commented Nov 18, 2025

Maturin handles a lot of the stuff we do in our wheel building CI automatically, and has a general understanding of pyo3. Specifically, it knows about the abi3 and freethreading feature flags, and turns them on and off as needed by the current build. This should allow us to simplify the wheel building CI, and possibly get rid of cibuildwheel altogether.

Open TODOs:

  • Test this more thoroughly. Opening this PR is part of that effort, as it allows us to run the CI :)
  • Make sure that all expected wheels are built, ideally via automated check in the CI itself
  • Add a script for making releases, as it requires changing the version number in pyproject.toml now instead of just tagging in git :c
  • Update the repo's merge rules with the new build job names

@Wuestengecko Wuestengecko force-pushed the maturin branch 6 times, most recently from 3797ddc to 2a95d94 Compare December 1, 2025 13:53
Comment thread .github/workflows/code-qa.yml Fixed
Comment thread .github/workflows/code-qa.yml Fixed
Comment thread .github/workflows/code-qa.yml Fixed
@Wuestengecko Wuestengecko force-pushed the maturin branch 23 times, most recently from 081c894 to e4bc8ca Compare December 8, 2025 14:03
This commit replaces the used build backend and configuration, as well
as the CI workflows, to use maturin instead of setuptools.
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