Releases: pypa/cibuildwheel
v4.1.0
- ✨ Updates Pyodide to the final 314.0.0 release, so Pyodide 3.14 wheels now build by default without the
pyodide-prereleaseenableflag. (#2906) - 🐛 Raises clear errors when a build produces no wheel, instead of failing later with a confusing message (#2909)
- 🛠 Speeds up CLI startup through lazy imports on Python 3.15 (#2797)
- 📚 Adds an FAQ section on caching cibuildwheel's downloaded tools with
CIBW_CACHE_PATH(#2842) - 📚 Documentation improvements: clarifies which shell is used for command options, clarifies environment variable precedence, and fixes a dead Pyodide env info link (#2904, #2905, #2911)
v4.0.0
See @henryiii's release post for more info on new features!
-
🌟 Adds wheel auditing with
abi3auditas a default after the repair step, with newaudit-requiresandaudit-commandoptions (#2805) -
🌟 Adds
pyemscriptenplatform tag support (PEP 783), updates Pyodide to 314.0.0a2, and adds apyodide-eolenableflag for building end-of-life Pyodide versions (#2812, #2848) -
🌟 Sets up
delvewheelas the defaultrepair-wheel-commandfor Windows, so extension module DLLs are now bundled automatically. Skip by setting it to empty if not needed. (#2831) -
✨ Adds CPython 3.15 support, under the
enableoptioncpython-prerelease. This version of cibuildwheel uses 3.15.0b2. (#2833, #2850)While CPython is in beta, the ABI can change, so your wheels might not be compatible with the final release. For this reason, we don't recommend distributing wheels until RC1, at which point 3.15 will be available in cibuildwheel without the flag.
-
✨ Adds CPython 3.15 support for iOS and Android (#2857, #2858)
-
✨ Adds Android improvements for building NumPy and related packages, including auditwheel support, pkg-config and Fortran configuration, and the
xbuild-filesoption (#2695) -
✨ Adds
CIBUILDWHEEL_BUILD_IDENTIFIERenvironment variable set to the current build identifier (e.g.cp311-manylinux_x86_64) during per-build steps (#2872) -
✨ Adds
{project}and{package}placeholders toconfig-settings(#2827) -
⚠️ Drops support for Python 3.8 (#2686) -
⚠️ Removes the experimental CPython 3.13 free-threading builds and thecpython-freethreadingenableoption. CPython 3.14+ free-threading support remains available without the enable flag. (#2684) -
⚠️ Drops support for Cirrus CI, which is shutting down June 1, 2026 (#2817) -
⚠️ Drops GraalPy 3.11 (gp311) support, as agreed in #2741, and removes GraalPy 24-only workarounds (#2895) -
🔐 Adds SHA256 verification for direct downloads of Python interpreters, virtualenv, and python-build-standalone assets (#2873)
-
🔐 Adds tarfile extraction filter for safe archive extraction (#2856)
-
🐛 Fixes
UV_PYTHONnot being set forbefore-buildon Linux when usinguvas thebuild-frontend(#2830) -
🐛 Fixes detection of musl libc when downloading python-build-standalone, which previously always selected the gnu asset on musl hosts like Alpine (#2889)
-
🐛 Fixes
config-settingsexpansion when{project}or{package}contains spaces or backslashes (#2886) -
🐛 Prevents deadlock when
linux32fails and forwards platform args to the sanity check (#2880, #2888) -
🐛 Fixes container resource leaks on start failure and during teardown (#2879, #2887)
-
🐛 Removes potential partial cache-population in case of error (#2892)
-
🐛 Raises a clear error when
ANDROID_API_LEVELis not an integer (#2891) -
🐛 Replaces assert with proper exception in python-build-standalone (#2859)
-
🐛 Uses ConfigurationError when
package_diris outside cwd instead of a generic Exception (#2898) -
🛠 Updates dependencies and container pins (#2893, #2882, #2874, #2868, #2862, #2884, #2845, #2837, #2818, #2810, #2838, #2813)
-
🛠 Updates Android to Python 3.13.13 and 3.14.4 (#2821)
-
🛠 Applies Pyodide-specific patches to the Emscripten toolchain installation (#2800)
-
🛠 Uses
python -V -Vfor Windows build diagnostics (#2832) -
🛠 Simplifies pinned container image lookup (#2897)
-
🛠 Minor fixups across error messages, OCI container, and options (#2860)
-
💼 Adds PEP 723 metadata for
bin/scripts and drops thebindependency group (#2819) -
💼 Improves Azure test reliability with retries and caching (#2890)
-
💼 Fixes Windows GitLab CI test running (#2870)
-
💼 Updates CI action pins and dev dependencies (#2902, #2867, #2851, #2843, #2826, #2823, #2820, #2807)
-
💼 Adds agent and copilot setup files (#2861)
-
🧪 Fixes Android tests using the
uvfrontend (#2809) -
🧪 Fixes the update-dependencies workflow to use
uvto runnox(#2808) -
🧪 Adds unit tests for
OCIContainer._get_platform_args(#2878) -
📚 Updates documentation for delvewheel as the default Windows
repair-wheel-command, including the build diagram, schema defaults, and legal note (#2877, #2853, #2891) -
📚 Documents platform-specific
before-buildconfiguration (#2834) -
📚 Updates the "How it works" diagram with details of Android, iOS, and Pyodide builds (#2816)
-
📚 Adds Pyodide icon and regenerates working examples data for Android, iOS, and Pyodide (#2815, #2811)
-
📚 Adds intersphinx support for external documentation linking (#2871)
-
📚 Adds instructions for building CUDA wheels and fixes manylinux container references in FAQ (#2896, #2900)
-
📚 Links back to source in docs (#2806)
-
📚 Removes outdated numpy info (#2855)
v4.0.0rc2
- ✨ Adds CPython 3.15 support for iOS and Android (#2857, #2858)
- ✨ Adds Android improvements for building NumPy and related packages, including auditwheel support, pkg-config and Fortran configuration, and the
xbuild-filesoption (#2695) - ✨ Adds
CIBUILDWHEEL_BUILD_IDENTIFIERenvironment variable set to the current build identifier (e.g.cp311-manylinux_x86_64) during per-build steps (#2872) - 🔐 Adds SHA256 verification for direct downloads of Python interpreters, virtualenv, and python-build-standalone assets (#2873)
- 🔐 Adds tarfile extraction filter for safe archive extraction (#2856)
- 🐛 Fixes detection of musl libc when downloading python-build-standalone, which previously always selected the gnu asset on musl hosts like Alpine (#2889)
- 🐛 Fixes
config-settingsexpansion when{project}or{package}contains spaces or backslashes (#2886) - 🐛 Prevents deadlock when
linux32fails and forwards platform args to the sanity check (#2880, #2888) - 🐛 Fixes container resource leaks on start failure and during teardown (#2879, #2887)
- 🐛 Removes potential partial cache-population in case of error (#2892)
- 🐛 Raises a clear error when
ANDROID_API_LEVELis not an integer (#2891) - 🐛 Replaces assert with proper exception in python-build-standalone (#2859)
- 🛠 Updates dependencies and container pins (#2893, #2882, #2874, #2868, #2862, #2884)
- 🛠 Minor fixups across error messages, OCI container, and options (#2860)
- 📚 Updates documentation for delvewheel as the default Windows
repair-wheel-command, including the build diagram, schema defaults, and legal note (#2877, #2853, #2891) - 📚 Adds intersphinx support for external documentation linking (#2871)
- 📚 Removes outdated numpy info (#2855)
- 💼 Improves Azure test reliability with retries and caching (#2890)
- 💼 Fixes Windows GitLab CI test running (#2870)
- 💼 Updates CI action pins (#2867)
- 💼 Adds agent and copilot setup files (#2861)
- 💼 Uses
if TYPE_CHECKING:blocks (#2866, #2864) - 🧪 Adds unit tests for
OCIContainer._get_platform_args(#2878)
v4.0.0rc1
-
🌟 Adds wheel auditing with
abi3auditas a default after the repair step, with newaudit-requiresandaudit-commandoptions (#2805) -
🌟 Adds
pyemscriptenplatform tag support (PEP 783), updates Pyodide to 314.0.0a1, and adds apyodide-eolenableflag for building end-of-life Pyodide versions (#2812, #2848) -
🌟 Sets up
delvewheelas the defaultrepair-wheel-commandfor Windows, so extension module DLLs are now bundled automatically. Skip by setting it to empty if not needed. (#2831) -
✨ Adds CPython 3.15 support, under the
enableoptioncpython-prerelease. This version of cibuildwheel uses 3.15.0b1. (#2833, #2850)While CPython is in beta, the ABI can change, so your wheels might not be compatible with the final release. For this reason, we don't recommend distributing wheels until RC1, at which point 3.14 will be available in cibuildwheel without the flag. (#2390)
-
✨ Adds
{project}and{package}placeholders toconfig-settings(#2827) -
⚠️ Drops support for Python 3.8 (#2686) -
⚠️ Removes the experimental CPython 3.13 free-threading builds and thecpython-freethreadingenableoption. CPython 3.14+ free-threading support remains available without the enable flag. (#2684) -
⚠️ Drops support for Cirrus CI, which is shutting down June 1, 2026 (#2817) -
🐛 Fixes
UV_PYTHONnot being set forbefore-buildon Linux when usinguvas thebuild-frontend(#2830) -
🛠 Updates Android to Python 3.13.13 and 3.14.4 (#2821)
-
🛠 Applies Pyodide-specific patches to the Emscripten toolchain installation (#2800)
-
🛠 Updates dependencies and container pins (#2845, #2837, #2821, #2818, #2810, #2838, #2813)
-
🛠 Uses
python -V -Vfor Windows build diagnostics (#2832) -
📚 Documents platform-specific
before-buildconfiguration (#2834) -
📚 Updates the "How it works" diagram with details of Android, iOS, and Pyodide builds (#2816)
-
📚 Adds Pyodide icon and regenerates working examples data for Android, iOS, and Pyodide (#2815, #2811)
-
📚 Links back to source in docs (#2806)
-
💼 Adds PEP 723 metadata for
bin/scripts and drops thebindependency group (#2819) -
💼 Updates CI action pins and dev dependencies (#2851, #2843, #2826, #2823, #2820, #2807)
-
🧪 Fixes Android tests using the
uvfrontend (#2809) -
🧪 Fixes the update-dependencies workflow to use
uvto runnox(#2808)
v3.4.1
⚠️ Building for the experimental CPython 3.13 free-threading variant is now deprecated. That functionality will be removed in the next minor release. Theenableoptioncpython-freethreadingis therefore also deprecated. Builds specifyingenable = "all"no longer selectcpython-freethreading. CPython 3.14 free-threading support remains available without theenableflag. (#2787)- 🐛 iOS builds will no longer skip
repair-wheel-commandif it's defined in config (#2761) - 🐛 Fix bug causing
uvto fail when environments define PYTHON_VERSION or UV_PYTHON, conflicting with our venvs (#2795) - ✨ cibuildwheel prints the selected build identifiers at the start of the build. (#2785)
- 🔐 The GitHub Action now references other actions with a full SHA (#2744)
v2.23.4
v3.4.0
- 🌟 You can now build wheels using
uvas a build frontend. This should improve performance, especially if your project has lots of build dependencies. To use, setbuild-frontendtouv. (#2322) ⚠️ We no longer support running on Travis CI. It may continue working but we don't run tests there anymore so we can't be sure. (#2682)- ✨ Improvements to building Rust wheels on Android (#2650)
- 🛠 Update Pyodide to 0.29.3 (#2719, #2733)
- 🐛 Fix bug with the GitHub Action on Windows, where PATH was getting unnecessarily changed, causing issues with meson builds. (#2723)
- ✨ Add support for quiet setting on
buildanduvfrom the cibuildwheelbuild-verbositysetting. (#2737) - 📚 Docs updates, including guidance on using Meson on Windows (#2718)
v3.3.1
v3.3.0
- 🐛 Fix an incompatibility with Docker v29 (#2660)
- ✨ Adds
test-runtimeoption, to customise how tests on simulated/emulated environments are run (#2636) - ✨ Adds support for new
manylinux_2_35images on 32-bit ARMarmv7l, offering better C++20 compatibility (#2656) - ✨
build[uv]is now supported on Android (#2587) - ✨ You can now install extras (such as
uv) with a simple option on the GitHub Action (#2630) - ✨
{project}and{package}placeholders are now supported inrepair-wheel-command(#2589) - 🛠 The versions set with
dependency-versionsno longer constrain packages specified by yourbuild-system.requires. Previously, on platforms other than Linux, the constraints in this option would remain in the environment during the build. This has been tidied up make behaviour more consistent between platforms, and to prevent version conflicts. (#2583) - 🛠 Improve the handling of
test-commandon Android, enabling more options to be passed (#2590) - 📚 Docs improvements (#2618)
