feat: move default manylinux
build to manylinux_2_28
#1988
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR moves the default
manylinux
build frommanylinux2014
tomanylinux_2_28
. The main motivation behind this is that CentOS 7, on whichmanylinux2014
is based, became end-of-life end of June. It also helps projects by defaulting to more performant wheels that have improved support for modern microarchitectures.Motivation
The motivation to move the default
manylinux
build frommanylinux2014
tomanylinux_2_28
is two fold: On the one hand there's a necessity and on the other hand an oppertunity.manylinux_2_28
offers better performance and support for modern architectures, including AVX-512 support, new optimized mathematical functions, new floating point types, AArch64 and PowerPC optimizations, and much more.manylinux_2_28
has steadily risen to 92.8% according to the manylinux timeline, and is expected to increase further over time.Implementation
cibuildwheel/options.py
andcibuildwheel/resources/defaults.toml
docs/options.md
to reflect the new defaulttest/utils.py
andunit_test/option_prepare_test.py
This PR closely follows the default move to
musllinux_1_2
in #1817.Impact
manylinux_2_28
wheels by defaultmanylinux2014
or earlier will continue to work as beforeCloses #1772.