diff --git a/README.md b/README.md index ae97739f..9122ba23 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==3.3.1 + run: python -m pip install cibuildwheel==3.4.0 - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse @@ -235,6 +235,17 @@ Changelog +### v3.4.0 + +_5 March 2026_ + +- ๐ŸŒŸ You can now build wheels using `uv` as a build frontend. This should improve performance, especially if your project has lots of build dependencies. To use, set [`build-frontend`](https://cibuildwheel.pypa.io/en/stable/options/#build-frontend) to `uv`. (#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) +- ๐Ÿ› 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 `build` and `uv` from the cibuildwheel `build-verbosity` setting. +- ๐Ÿ“š Docs updates, including guidance on using Meson on Windows (#2718) + ### v3.3.1 _5 January 2026_ @@ -274,25 +285,7 @@ _22 September 2025_ - โš ๏ธ PyPy 3.10 was moved to `pypy-eol` in the `enable` option, as it is now end-of-life. (#2521) - ๐Ÿ“š Docs improvements (#2574, #2601, #2598) -### v3.1.4 - -_19 August 2025_ - -- โœจ Add a `--clean-cache` command to clean up our cache (#2489) -- ๐Ÿ›  Update Python to 3.14rc2 and other patch version bumps (#2542, #2556) -- ๐Ÿ›  Update Pyodide to 0.28.2 (#2562, #2558) -- ๐Ÿ› Fix resolution with `pyodide-build` when `dependency-versions` is set (#2548) -- ๐Ÿ› Set `CMAKE_FIND_ROOT_PATH_MODE_PACKAGE` to `BOTH` on Android (#2547) -- ๐Ÿ› Add `patchelf` dependency for platforms that can build Android wheels (#2552) -- ๐Ÿ› Ignore empty values for `CIBW_ARCHS` like most other environment variables (#2541) -- ๐Ÿ’ผ The `color` and `suggest_on_error` argparse options are now default in 3.14rc1+ (#2554) -- ๐Ÿ’ผ Use the virtualenv release URL instead of blob URL (should be more robust) (#2555) -- ๐Ÿงช For iOS, lowering to macos-14 is needed for now due to issues with GitHub's runner images (#2557) -- ๐Ÿงช Split out platforms iOS and Android in our tests (#2519) -- ๐Ÿงช Fix and enable doctests (#2546) -- ๐Ÿ“š Improve our docs on free-threading (#2549) - - + --- diff --git a/cibuildwheel/__init__.py b/cibuildwheel/__init__.py index ff041687..903a158a 100644 --- a/cibuildwheel/__init__.py +++ b/cibuildwheel/__init__.py @@ -1 +1 @@ -__version__ = "3.3.1" +__version__ = "3.4.0" diff --git a/docs/changelog.md b/docs/changelog.md index 2a143afa..a700e41f 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -4,6 +4,17 @@ title: Changelog # Changelog +### v3.4.0 + +_5 March 2026_ + +- ๐ŸŒŸ You can now build wheels using `uv` as a build frontend. This should improve performance, especially if your project has lots of build dependencies. To use, set [`build-frontend`](https://cibuildwheel.pypa.io/en/stable/options/#build-frontend) to `uv`. (#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) +- ๐Ÿ› 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 `build` and `uv` from the cibuildwheel `build-verbosity` setting. +- ๐Ÿ“š Docs updates, including guidance on using Meson on Windows (#2718) + ### v3.3.1 _5 January 2026_ diff --git a/docs/faq.md b/docs/faq.md index 949ee717..25198231 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -125,7 +125,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@v3.3.1 +uses: pypa/cibuildwheel@v3.4.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. @@ -147,7 +147,7 @@ The second option, and the only one that supports other CI systems, is using a ` ```bash # requirements-cibw.txt -cibuildwheel==3.3.1 +cibuildwheel==3.4.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: @@ -312,7 +312,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==3.3.1 --output-dir wheelhouse +pipx run cibuildwheel==3.4.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 7f3612ff..d05b7e39 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==3.3.1 + pip3 install cibuildwheel==3.4.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==3.3.1 + python3 -m pip install cibuildwheel==3.4.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==3.3.1 + pip install cibuildwheel==3.4.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 118a8895..1c9f072b 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==3.3.1 + python3 -m pip install --user cibuildwheel==3.4.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==3.3.1 + python3 -m pip install --user cibuildwheel==3.4.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 python<=3.8 or x86_64/universal2 tests - pip3 install cibuildwheel==3.3.1 + pip3 install cibuildwheel==3.4.0 cibuildwheel --output-dir wheelhouse - store_artifacts: path: wheelhouse/ diff --git a/examples/cirrus-ci-intel-mac.yml b/examples/cirrus-ci-intel-mac.yml index 16ecd348..ada0f17a 100644 --- a/examples/cirrus-ci-intel-mac.yml +++ b/examples/cirrus-ci-intel-mac.yml @@ -1,6 +1,6 @@ build_and_store_wheels: &BUILD_AND_STORE_WHEELS install_cibuildwheel_script: - - python -m pip install cibuildwheel==3.3.1 + - python -m pip install cibuildwheel==3.4.0 run_cibuildwheel_script: - cibuildwheel wheels_artifacts: diff --git a/examples/cirrus-ci-minimal.yml b/examples/cirrus-ci-minimal.yml index 056a4b72..8b191d6d 100644 --- a/examples/cirrus-ci-minimal.yml +++ b/examples/cirrus-ci-minimal.yml @@ -1,6 +1,6 @@ build_and_store_wheels: &BUILD_AND_STORE_WHEELS install_cibuildwheel_script: - - python -m pip install cibuildwheel==3.3.1 + - python -m pip install cibuildwheel==3.4.0 run_cibuildwheel_script: - cibuildwheel wheels_artifacts: diff --git a/examples/github-deploy.yml b/examples/github-deploy.yml index 559b80d6..1407507d 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@v3.3.1 + uses: pypa/cibuildwheel@v3.4.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 8576174d..62522508 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@v3.3.1 + uses: pypa/cibuildwheel@v3.4.0 # env: # CIBW_SOME_OPTION: value # ... diff --git a/examples/github-pipx.yml b/examples/github-pipx.yml index 8f7eef43..2db7a5b2 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==3.3.1 + run: pipx run cibuildwheel==3.4.0 - uses: actions/upload-artifact@v4 with: diff --git a/examples/github-with-qemu.yml b/examples/github-with-qemu.yml index 9d327a44..56d2a9df 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@v3.3.1 + uses: pypa/cibuildwheel@v3.4.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 556e51d5..8361c556 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==3.3.1 + - python -m pip install cibuildwheel==3.4.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==3.3.1 + - py -m pip install cibuildwheel==3.4.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==3.3.1 + - python3 -m pip install cibuildwheel==3.4.0 script: - python3 -m cibuildwheel --output-dir wheelhouse artifacts: diff --git a/examples/gitlab-with-qemu.yml b/examples/gitlab-with-qemu.yml index aa613c39..b1a0ddea 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==3.3.1 + - python -m pip install cibuildwheel==3.4.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 b252fdc7..330733b4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "cibuildwheel" -version = "3.3.1" +version = "3.4.0" description = "Build Python wheels on CI with minimal configuration." readme = "README.md" license = "BSD-2-Clause"