Skip to content

MNT: move cibw's configuration to TOML#159

Draft
neutrinoceros wants to merge 2 commits intobrandon-rhodes:masterfrom
neutrinoceros:mnt/static-cibw-conf
Draft

MNT: move cibw's configuration to TOML#159
neutrinoceros wants to merge 2 commits intobrandon-rhodes:masterfrom
neutrinoceros:mnt/static-cibw-conf

Conversation

@neutrinoceros
Copy link
Copy Markdown

Based off #155 which introduced pyproject.toml
Incidentally also includes #153

uses: pypa/cibuildwheel@v3.3.1
env:
# if adding python 3.15, just add cp315-*
CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-* cp314-*"
Copy link
Copy Markdown
Author

@neutrinoceros neutrinoceros Mar 12, 2026

Choose a reason for hiding this comment

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

I intentionally didn't reproduce this line verbatim because cibw's already parses project.requires-python from pyproject.toml, and set the appropriate upper bound itself.

[tool.cibuildwheel]
build-verbosity = 0
skip = [
"*-musllinux_*", # not sure there's a good reason for this anymore ?
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.

very likely this was done because numpy didn't serve this target at the time, but it does now, so maybe we can re-enable it here or in a follow up PR ?

build-verbosity = 0
skip = [
"*-musllinux_*", # not sure there's a good reason for this anymore ?
"cp314t-*",
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.

recent versions of cibw include Free-threading 3.14 (3.14t) by default (though, not 3.13t). I assume we don't want to add it here.
FWIW it might get significantly easier to serve both builds (3.1x and 3.1xt) with a single wheel per platform in the near future, provided PEP 803 is accepted for Python 3.15

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.

1 participant