From f03ac7617d6cff873ccf24cc0d567ef5ba5a9e6d Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Sun, 7 Jun 2026 14:53:57 -0400 Subject: [PATCH] Bump version: v4.0.0 --- README.md | 85 ++++++++++++++++------------ cibuildwheel/__init__.py | 2 +- docs/changelog.md | 67 +++++++++++----------- docs/faq.md | 6 +- examples/azure-pipelines-minimal.yml | 6 +- examples/circleci-minimal.yml | 6 +- examples/github-deploy.yml | 2 +- examples/github-minimal.yml | 2 +- examples/github-pipx.yml | 2 +- examples/github-with-qemu.yml | 2 +- examples/gitlab-minimal.yml | 6 +- examples/gitlab-with-qemu.yml | 2 +- pyproject.toml | 2 +- 13 files changed, 101 insertions(+), 89 deletions(-) diff --git a/README.md b/README.md index b6026b46..80f7bbfd 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ jobs: - uses: actions/setup-python@v6 - name: Install cibuildwheel - run: python -m pip install cibuildwheel==4.0.0rc2 + run: python -m pip install cibuildwheel==4.0.0 - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse @@ -240,15 +240,29 @@ Changelog -### v4.0.0rc2 +### v4.0.0 -_5 June 2026_ +_7 June 2026_ +See @henryiii's [release post](https://iscinumpy.dev/post/cibuildwheel-4-0-0/) for more info on new features! + +- ๐ŸŒŸ Adds wheel auditing with `abi3audit` as a default after the repair step, with new [`audit-requires`](https://cibuildwheel.pypa.io/en/stable/options/#audit-requires) and [`audit-command`](https://cibuildwheel.pypa.io/en/stable/options/#audit-command) options (#2805) +- ๐ŸŒŸ Adds `pyemscripten` platform tag support (PEP 783), updates Pyodide to 314.0.0a2, and adds a `pyodide-eol` [`enable`](https://cibuildwheel.pypa.io/en/stable/options/#enable) flag for building end-of-life Pyodide versions (#2812, #2848) +- ๐ŸŒŸ Sets up `delvewheel` as the default [`repair-wheel-command`](https://cibuildwheel.pypa.io/en/stable/options/#repair-wheel-command) for 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 [`enable` option](https://cibuildwheel.pypa.io/en/stable/options/#enable) `cpython-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.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-files`](https://cibuildwheel.pypa.io/en/stable/options/#xbuild-files) option (#2695) - โœจ Adds `CIBUILDWHEEL_BUILD_IDENTIFIER` environment variable set to the current build identifier (e.g. `cp311-manylinux_x86_64`) during per-build steps (#2872) +- โœจ Adds `{project}` and `{package}` placeholders to [`config-settings`](https://cibuildwheel.pypa.io/en/stable/options/#config-settings) (#2827) +- โš ๏ธ Drops support for Python 3.8 (#2686) +- โš ๏ธ Removes the experimental CPython 3.13 free-threading builds and the `cpython-freethreading` [`enable`](https://cibuildwheel.pypa.io/en/stable/options/#enable) option. 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_PYTHON` not being set for [`before-build`](https://cibuildwheel.pypa.io/en/stable/options/#before-build) on Linux when using `uv` as the [`build-frontend`](https://cibuildwheel.pypa.io/en/stable/options/#build-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-settings`](https://cibuildwheel.pypa.io/en/stable/options/#config-settings) expansion when `{project}` or `{package}` contains spaces or backslashes (#2886) - ๐Ÿ› Prevents deadlock when `linux32` fails and forwards platform args to the sanity check (#2880, #2888) @@ -256,45 +270,30 @@ _5 June 2026_ - ๐Ÿ› Removes potential partial cache-population in case of error (#2892) - ๐Ÿ› Raises a clear error when `ANDROID_API_LEVEL` is 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`](https://cibuildwheel.pypa.io/en/stable/options/#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 - -_14 May 2026_ - -- ๐ŸŒŸ Adds wheel auditing with `abi3audit` as a default after the repair step, with new [`audit-requires`](https://cibuildwheel.pypa.io/en/stable/options/#audit-requires) and [`audit-command`](https://cibuildwheel.pypa.io/en/stable/options/#audit-command) options (#2805) -- ๐ŸŒŸ Adds `pyemscripten` platform tag support (PEP 783), updates Pyodide to 314.0.0a1, and adds a `pyodide-eol` [`enable`](https://cibuildwheel.pypa.io/en/stable/options/#enable) flag for building end-of-life Pyodide versions (#2812, #2848) -- ๐ŸŒŸ Sets up `delvewheel` as the default [`repair-wheel-command`](https://cibuildwheel.pypa.io/en/stable/options/#repair-wheel-command) for 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 [`enable` option](https://cibuildwheel.pypa.io/en/stable/options/#enable) `cpython-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 to [`config-settings`](https://cibuildwheel.pypa.io/en/stable/options/#config-settings) (#2827) -- โš ๏ธ Drops support for Python 3.8 (#2686) -- โš ๏ธ Removes the experimental CPython 3.13 free-threading builds and the `cpython-freethreading` [`enable`](https://cibuildwheel.pypa.io/en/stable/options/#enable) option. 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_PYTHON` not being set for [`before-build`](https://cibuildwheel.pypa.io/en/stable/options/#before-build) on Linux when using `uv` as the [`build-frontend`](https://cibuildwheel.pypa.io/en/stable/options/#build-frontend) (#2830) +- ๐Ÿ› Uses ConfigurationError when `package_dir` is 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) -- ๐Ÿ›  Updates dependencies and container pins (#2845, #2837, #2821, #2818, #2810, #2838, #2813) - ๐Ÿ›  Uses `python -V -V` for 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 the `bin` dependency 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) +- ๐Ÿ’ผ Uses `if TYPE_CHECKING:` blocks (#2866, #2864) +- ๐Ÿงช Fixes Android tests using the `uv` frontend (#2809) +- ๐Ÿงช Fixes the update-dependencies workflow to use `uv` to run `nox` (#2808) +- ๐Ÿงช Adds unit tests for `OCIContainer._get_platform_args` (#2878) +- ๐Ÿ“š Updates documentation for delvewheel as the default Windows [`repair-wheel-command`](https://cibuildwheel.pypa.io/en/stable/options/#repair-wheel-command), including the build diagram, schema defaults, and legal note (#2877, #2853, #2891) - ๐Ÿ“š Documents platform-specific [`before-build`](https://cibuildwheel.pypa.io/en/stable/options/#before-build) configuration (#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) -- ๐Ÿ’ผ Adds PEP 723 metadata for `bin/` scripts and drops the `bin` dependency group (#2819) -- ๐Ÿ’ผ Updates CI action pins and dev dependencies (#2851, #2843, #2826, #2823, #2820, #2807) -- ๐Ÿงช Fixes Android tests using the `uv` frontend (#2809) -- ๐Ÿงช Fixes the update-dependencies workflow to use `uv` to run `nox` (#2808) +- ๐Ÿ“š Removes outdated numpy info (#2855) ### v3.4.1 @@ -325,7 +324,21 @@ _5 January 2026_ - ๐Ÿ›  Update dependencies and container pins, including updating to CPython 3.14.2. (#2708) - +### v3.3.0 + +_12 November 2025_ + +- ๐Ÿ› Fix an incompatibility with Docker v29 (#2660) +- โœจ Adds `test-runtime` option, to customise how tests on simulated/emulated environments are run (#2636) +- โœจ Adds support for new `manylinux_2_35` images on 32-bit ARM `armv7l`, 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 in `repair-wheel-command` (#2589) +- ๐Ÿ›  The versions set with `dependency-versions` no longer constrain packages specified by your `build-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-command` on Android, enabling more options to be passed (#2590) +- ๐Ÿ“š Docs improvements (#2618) + + --- diff --git a/cibuildwheel/__init__.py b/cibuildwheel/__init__.py index 1e470876..ce1305bf 100644 --- a/cibuildwheel/__init__.py +++ b/cibuildwheel/__init__.py @@ -1 +1 @@ -__version__ = "4.0.0rc2" +__version__ = "4.0.0" diff --git a/docs/changelog.md b/docs/changelog.md index 939e9f48..cbce6910 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -5,15 +5,29 @@ ref: changelog # Changelog -### v4.0.0rc2 +### v4.0.0 -_5 June 2026_ +_7 June 2026_ +See @henryiii's [release post](https://iscinumpy.dev/post/cibuildwheel-4-0-0/) for more info on new features! + +- ๐ŸŒŸ Adds wheel auditing with `abi3audit` as a default after the repair step, with new [`audit-requires`](https://cibuildwheel.pypa.io/en/stable/options/#audit-requires) and [`audit-command`](https://cibuildwheel.pypa.io/en/stable/options/#audit-command) options (#2805) +- ๐ŸŒŸ Adds `pyemscripten` platform tag support (PEP 783), updates Pyodide to 314.0.0a2, and adds a `pyodide-eol` [`enable`](https://cibuildwheel.pypa.io/en/stable/options/#enable) flag for building end-of-life Pyodide versions (#2812, #2848) +- ๐ŸŒŸ Sets up `delvewheel` as the default [`repair-wheel-command`](https://cibuildwheel.pypa.io/en/stable/options/#repair-wheel-command) for 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 [`enable` option](https://cibuildwheel.pypa.io/en/stable/options/#enable) `cpython-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.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-files`](https://cibuildwheel.pypa.io/en/stable/options/#xbuild-files) option (#2695) - โœจ Adds `CIBUILDWHEEL_BUILD_IDENTIFIER` environment variable set to the current build identifier (e.g. `cp311-manylinux_x86_64`) during per-build steps (#2872) +- โœจ Adds `{project}` and `{package}` placeholders to [`config-settings`](https://cibuildwheel.pypa.io/en/stable/options/#config-settings) (#2827) +- โš ๏ธ Drops support for Python 3.8 (#2686) +- โš ๏ธ Removes the experimental CPython 3.13 free-threading builds and the `cpython-freethreading` [`enable`](https://cibuildwheel.pypa.io/en/stable/options/#enable) option. 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_PYTHON` not being set for [`before-build`](https://cibuildwheel.pypa.io/en/stable/options/#before-build) on Linux when using `uv` as the [`build-frontend`](https://cibuildwheel.pypa.io/en/stable/options/#build-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-settings`](https://cibuildwheel.pypa.io/en/stable/options/#config-settings) expansion when `{project}` or `{package}` contains spaces or backslashes (#2886) - ๐Ÿ› Prevents deadlock when `linux32` fails and forwards platform args to the sanity check (#2880, #2888) @@ -21,45 +35,30 @@ _5 June 2026_ - ๐Ÿ› Removes potential partial cache-population in case of error (#2892) - ๐Ÿ› Raises a clear error when `ANDROID_API_LEVEL` is 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`](https://cibuildwheel.pypa.io/en/stable/options/#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 - -_14 May 2026_ - -- ๐ŸŒŸ Adds wheel auditing with `abi3audit` as a default after the repair step, with new [`audit-requires`](https://cibuildwheel.pypa.io/en/stable/options/#audit-requires) and [`audit-command`](https://cibuildwheel.pypa.io/en/stable/options/#audit-command) options (#2805) -- ๐ŸŒŸ Adds `pyemscripten` platform tag support (PEP 783), updates Pyodide to 314.0.0a1, and adds a `pyodide-eol` [`enable`](https://cibuildwheel.pypa.io/en/stable/options/#enable) flag for building end-of-life Pyodide versions (#2812, #2848) -- ๐ŸŒŸ Sets up `delvewheel` as the default [`repair-wheel-command`](https://cibuildwheel.pypa.io/en/stable/options/#repair-wheel-command) for 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 [`enable` option](https://cibuildwheel.pypa.io/en/stable/options/#enable) `cpython-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 to [`config-settings`](https://cibuildwheel.pypa.io/en/stable/options/#config-settings) (#2827) -- โš ๏ธ Drops support for Python 3.8 (#2686) -- โš ๏ธ Removes the experimental CPython 3.13 free-threading builds and the `cpython-freethreading` [`enable`](https://cibuildwheel.pypa.io/en/stable/options/#enable) option. 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_PYTHON` not being set for [`before-build`](https://cibuildwheel.pypa.io/en/stable/options/#before-build) on Linux when using `uv` as the [`build-frontend`](https://cibuildwheel.pypa.io/en/stable/options/#build-frontend) (#2830) +- ๐Ÿ› Uses ConfigurationError when `package_dir` is 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) -- ๐Ÿ›  Updates dependencies and container pins (#2845, #2837, #2821, #2818, #2810, #2838, #2813) - ๐Ÿ›  Uses `python -V -V` for 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 the `bin` dependency 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) +- ๐Ÿ’ผ Uses `if TYPE_CHECKING:` blocks (#2866, #2864) +- ๐Ÿงช Fixes Android tests using the `uv` frontend (#2809) +- ๐Ÿงช Fixes the update-dependencies workflow to use `uv` to run `nox` (#2808) +- ๐Ÿงช Adds unit tests for `OCIContainer._get_platform_args` (#2878) +- ๐Ÿ“š Updates documentation for delvewheel as the default Windows [`repair-wheel-command`](https://cibuildwheel.pypa.io/en/stable/options/#repair-wheel-command), including the build diagram, schema defaults, and legal note (#2877, #2853, #2891) - ๐Ÿ“š Documents platform-specific [`before-build`](https://cibuildwheel.pypa.io/en/stable/options/#before-build) configuration (#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) -- ๐Ÿ’ผ Adds PEP 723 metadata for `bin/` scripts and drops the `bin` dependency group (#2819) -- ๐Ÿ’ผ Updates CI action pins and dev dependencies (#2851, #2843, #2826, #2823, #2820, #2807) -- ๐Ÿงช Fixes Android tests using the `uv` frontend (#2809) -- ๐Ÿงช Fixes the update-dependencies workflow to use `uv` to run `nox` (#2808) +- ๐Ÿ“š Removes outdated numpy info (#2855) ### v3.4.1 diff --git a/docs/faq.md b/docs/faq.md index 1ed2e131..456022a4 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -113,7 +113,7 @@ There are two suggested methods for keeping cibuildwheel up to date that instead If you use GitHub Actions for builds, you can use cibuildwheel as an action: ```yaml -uses: pypa/cibuildwheel@v4.0.0rc2 +uses: pypa/cibuildwheel@v4.0.0 ``` This is a composite step that just runs cibuildwheel using pipx. You can set command-line options as `with:` parameters, and use `env:` as normal. @@ -138,7 +138,7 @@ The second option, and the only one that supports other CI systems, is using a ` ```bash # requirements-cibw.txt -cibuildwheel==4.0.0rc2 +cibuildwheel==4.0.0 ``` Then your install step would have `python -m pip install -r requirements-cibw.txt` in it. Your `.github/dependabot.yml` file could look like this: @@ -357,7 +357,7 @@ Solutions to this vary, but the simplest is to use pipx: # most runners have pipx preinstalled, but in case you don't python3 -m pip install pipx -pipx run cibuildwheel==4.0.0rc2 --output-dir wheelhouse +pipx run cibuildwheel==4.0.0 --output-dir wheelhouse pipx run twine upload wheelhouse/*.whl ``` diff --git a/examples/azure-pipelines-minimal.yml b/examples/azure-pipelines-minimal.yml index 57263582..58b0f392 100644 --- a/examples/azure-pipelines-minimal.yml +++ b/examples/azure-pipelines-minimal.yml @@ -6,7 +6,7 @@ jobs: - bash: | set -o errexit python3 -m pip install --upgrade pip - pip3 install cibuildwheel==4.0.0rc2 + pip3 install cibuildwheel==4.0.0 displayName: Install dependencies - bash: cibuildwheel --output-dir wheelhouse . displayName: Build wheels @@ -20,7 +20,7 @@ jobs: - bash: | set -o errexit python3 -m pip install --upgrade pip - python3 -m pip install cibuildwheel==4.0.0rc2 + python3 -m pip install cibuildwheel==4.0.0 displayName: Install dependencies - bash: cibuildwheel --output-dir wheelhouse . displayName: Build wheels @@ -34,7 +34,7 @@ jobs: - bash: | set -o errexit python -m pip install --upgrade pip - pip install cibuildwheel==4.0.0rc2 + pip install cibuildwheel==4.0.0 displayName: Install dependencies - bash: cibuildwheel --output-dir wheelhouse . displayName: Build wheels diff --git a/examples/circleci-minimal.yml b/examples/circleci-minimal.yml index bea7d0d3..885444cb 100644 --- a/examples/circleci-minimal.yml +++ b/examples/circleci-minimal.yml @@ -11,7 +11,7 @@ jobs: - run: name: Build the Linux wheels. command: | - python3 -m pip install --user cibuildwheel==4.0.0rc2 + python3 -m pip install --user cibuildwheel==4.0.0 cibuildwheel --output-dir wheelhouse - store_artifacts: path: wheelhouse/ @@ -28,7 +28,7 @@ jobs: - run: name: Build the Linux aarch64 wheels. command: | - python3 -m pip install --user cibuildwheel==4.0.0rc2 + python3 -m pip install --user cibuildwheel==4.0.0 python3 -m cibuildwheel --output-dir wheelhouse - store_artifacts: path: wheelhouse/ @@ -44,7 +44,7 @@ jobs: name: Build the OS X wheels. command: | sudo softwareupdate --install-rosetta --agree-to-license # for x86_64/universal2 tests - pip3 install cibuildwheel==4.0.0rc2 + pip3 install cibuildwheel==4.0.0 cibuildwheel --output-dir wheelhouse - store_artifacts: path: wheelhouse/ diff --git a/examples/github-deploy.yml b/examples/github-deploy.yml index 8c1dbc8b..722059b4 100644 --- a/examples/github-deploy.yml +++ b/examples/github-deploy.yml @@ -53,7 +53,7 @@ jobs: persist-credentials: false - name: Build wheels - uses: pypa/cibuildwheel@v4.0.0rc2 + uses: pypa/cibuildwheel@v4.0.0 env: CIBW_PLATFORM: ${{ matrix.platform || 'auto' }} CIBW_ARCHS: ${{ matrix.archs || 'auto' }} diff --git a/examples/github-minimal.yml b/examples/github-minimal.yml index 2d3ea301..d4ef24e7 100644 --- a/examples/github-minimal.yml +++ b/examples/github-minimal.yml @@ -17,7 +17,7 @@ jobs: persist-credentials: false - name: Build wheels - uses: pypa/cibuildwheel@v4.0.0rc2 + uses: pypa/cibuildwheel@v4.0.0 # env: # CIBW_SOME_OPTION: value # ... diff --git a/examples/github-pipx.yml b/examples/github-pipx.yml index fdc8cc79..23102dba 100644 --- a/examples/github-pipx.yml +++ b/examples/github-pipx.yml @@ -17,7 +17,7 @@ jobs: persist-credentials: false - name: Build wheels - run: pipx run cibuildwheel==4.0.0rc2 + run: pipx run cibuildwheel==4.0.0 - uses: actions/upload-artifact@v4 with: diff --git a/examples/github-with-qemu.yml b/examples/github-with-qemu.yml index f2ab57e4..135af460 100644 --- a/examples/github-with-qemu.yml +++ b/examples/github-with-qemu.yml @@ -23,7 +23,7 @@ jobs: platforms: all - name: Build wheels - uses: pypa/cibuildwheel@v4.0.0rc2 + uses: pypa/cibuildwheel@v4.0.0 env: # configure cibuildwheel on Linux to build native archs ('auto'), # and to split the remaining architectures between the x86_64 and diff --git a/examples/gitlab-minimal.yml b/examples/gitlab-minimal.yml index 5af92ed5..406f7f45 100644 --- a/examples/gitlab-minimal.yml +++ b/examples/gitlab-minimal.yml @@ -12,7 +12,7 @@ linux: DOCKER_TLS_CERTDIR: "" script: - curl -sSL https://get.docker.com/ | sh - - python -m pip install cibuildwheel==4.0.0rc2 + - python -m pip install cibuildwheel==4.0.0 - cibuildwheel --output-dir wheelhouse artifacts: paths: @@ -23,7 +23,7 @@ windows: before_script: - choco install python -y --allow-downgrade --version 3.12.4 - choco install git.install -y - - py -m pip install cibuildwheel==4.0.0rc2 + - py -m pip install cibuildwheel==4.0.0 script: - py -m cibuildwheel --output-dir wheelhouse --platform windows artifacts: @@ -35,7 +35,7 @@ windows: macos: image: macos-14-xcode-15 before_script: - - python3 -m pip install cibuildwheel==4.0.0rc2 + - python3 -m pip install cibuildwheel==4.0.0 script: - python3 -m cibuildwheel --output-dir wheelhouse artifacts: diff --git a/examples/gitlab-with-qemu.yml b/examples/gitlab-with-qemu.yml index 7b6b7af8..8c67063d 100644 --- a/examples/gitlab-with-qemu.yml +++ b/examples/gitlab-with-qemu.yml @@ -14,7 +14,7 @@ linux: - curl -sSL https://get.docker.com/ | sh # Warning: This is extremely slow, be careful with how many wheels you build - docker run --rm --privileged multiarch/qemu-user-static --reset -p yes - - python -m pip install cibuildwheel==4.0.0rc2 + - python -m pip install cibuildwheel==4.0.0 # Assuming your CI runner's default architecture is x86_64... - cibuildwheel --output-dir wheelhouse --platform linux --archs aarch64 artifacts: diff --git a/pyproject.toml b/pyproject.toml index 6c32b842..6b499a9c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "cibuildwheel" -version = "4.0.0rc2" +version = "4.0.0" description = "Build Python wheels on CI with minimal configuration." readme = "README.md" license = "BSD-2-Clause"