Skip to content

fix: use older manylinux for CPython 3.10 and 3.9#3558

Merged
henryiii merged 1 commit intomainfrom
henryiii/fix/wheeloldlinux
Jun 27, 2025
Merged

fix: use older manylinux for CPython 3.10 and 3.9#3558
henryiii merged 1 commit intomainfrom
henryiii/fix/wheeloldlinux

Conversation

@henryiii
Copy link
Copy Markdown
Member

As discussed. Minor cleanup as well.

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Copy link
Copy Markdown
Member

@ianna ianna left a comment

Choose a reason for hiding this comment

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

@henryiii - looks great! Thank you.

@henryiii henryiii merged commit 312c037 into main Jun 27, 2025
43 checks passed
@henryiii henryiii deleted the henryiii/fix/wheeloldlinux branch June 27, 2025 14:37
@agoose77
Copy link
Copy Markdown
Collaborator

Hey @henryiii, is it possible for you to briefly explain this pr for my benefit? I'm looking to follow the changes!

Copy link
Copy Markdown
Member Author

@henryiii henryiii left a comment

Choose a reason for hiding this comment

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

For more on cibuildwheel 3.0, see https://iscinumpy.dev/post/cibuildwheel-3-0-0/.

"""]
skip = [
"pp*win*",
"pp*-manylinux_i686",
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

We don't build with 32-bit linux by default anymore in cibuildwheel (and we weren't doing it at all here anyway, like in most packages).

"pp*-manylinux_i686",
]
test-skip = [
"*universal2:arm64",
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

We should be building a pair of native wheels, not universal2. Just old cleanup.


[[tool.cibuildwheel.overrides]]
select = "cp313*"
environment.PYO3_USE_ABI3_FORWARD_COMPATIBILITY = "1"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Shouldn't be needed anymore, from early 3.13 days. Cleanup.

[[tool.cibuildwheel.overrides]]
select = "cp313*"
environment.PYO3_USE_ABI3_FORWARD_COMPATIBILITY = "1"
UV_ONLY_BINARY = "cmake,numpy"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is probably a good idea, since we use build[uv] some of the time, and the variable has this name there.

select = "*pyodide*"
build-frontend = {name = "build", args = ["--exports", "whole_archive"]}

# Use older manylinux for Python 3.9 and 3.10
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is the 3.0 default change; we are going back to the old manylinux_2014 for 3.9 and 3.10 to reduce issues if someone is running CentOS 7-like machines with older Python. NumPy moved to 2_28 too in the last release, but NumPy only supports 3.11+.

"ignore:Jitify is performing a one-time only warm-up",
]
log_cli_level = "info"
log_cli_level = "INFO"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The SchemaStore schema for this expects upper case. You can see this with uvx sp-repo-review[all] . or at https://learn.scientific-python.org/development/guides/repo-review/.

@henryiii
Copy link
Copy Markdown
Member Author

I'm also working on getting pybind11 3.0 out, but haven't moved over to it here yet since it's not out yet (PyTorch is currently blocking the release). That's needed for Python 3.14, iOS, and GraalPy.

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.

3 participants