Skip to content

Commit ee63bf1

Browse files
committed
Bump version: v2.22.0
1 parent d3eeba7 commit ee63bf1

19 files changed

+66
-40
lines changed

README.md

+20-13
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
- uses: actions/setup-python@v5
9898

9999
- name: Install cibuildwheel
100-
run: python -m pip install cibuildwheel==2.21.3
100+
run: python -m pip install cibuildwheel==2.22.0
101101

102102
- name: Build wheels
103103
run: python -m cibuildwheel --output-dir wheelhouse
@@ -214,6 +214,25 @@ Changelog
214214

215215
<!-- this section was generated by bin/update_readme_changelog.py -- do not edit manually -->
216216

217+
### v2.22.0
218+
219+
_23 November 2024_
220+
221+
- 🌟 Added a new `CIBW_ENABLE`/`enable` feature that replaces `CIBW_FREETHREADED_SUPPORT`/`free-threaded-support` and `CIBW_PRERELEASE_PYTHONS` with a system that supports both. In cibuildwheel 3, this will also include a PyPy setting and the deprecated options will be removed. (#2048)
222+
- 🌟 [Dependency groups](https://peps.python.org/pep-0735/) are now supported for tests. Use `CIBW_TEST_GROUPS`/`test-groups` to specify groups in `[dependency-groups]` for testing. (#2063)
223+
- 🌟 Support for the experimental Ubuntu-based ARMv7l manylinux image (#2052)
224+
- ✨ Show a warning when cibuildwheel is run from Python 3.10 or older; cibuildwheel 3.0 will require Python 3.11 or newer as host (#2050)
225+
- 🐛 Fix issue with stderr interfering with checking the docker version (#2074)
226+
- 🛠 Python 3.9 is now used in `CIBW_BEFORE_ALL`/`before-all` on linux, replacing 3.8, which is now EoL (#2043)
227+
- 🛠 Error messages for producing a pure-Python wheel are slightly more informative (#2044)
228+
- 🛠 Better error when `uname -m` fails on ARM (#2049)
229+
- 🛠 Better error when repair fails and docs for abi3audit on Windows (#2058)
230+
- 🛠 Better error when `manylinux-interpreters ensure` fails (#2066)
231+
- 🛠 Update Pyodide to 0.26.4, and adapt to the unbundled pyodide-build (now 0.29) (#2090)
232+
- 🛠 Now cibuildwheel uses dependency-groups for development dependencies (#2064, #2085)
233+
- 📚 Docs updates and tidy ups (#2061, #2067, #2072)
234+
235+
217236
### v2.21.3
218237

219238
_9 October 2024_
@@ -252,18 +271,6 @@ _13 September 2024_
252271
- 🐛 Fixes some bugs building Linux wheels on macOS. (#1961)
253272
- ⚠️ Changes the minimum version of Docker/Podman to Docker API version 1.43, Podman API version 3. The only mainstream runner this should affect is Travis Graviton2 runners - if so you can [upgrade your version of Docker](https://github.com/pypa/cibuildwheel/pull/1961#issuecomment-2304060019). (#1961)
254273

255-
256-
### v2.20.0
257-
258-
_4 August 2024_
259-
260-
- 🌟 CPython 3.13 wheels are now built by default - without the `CIBW_PRERELEASE_PYTHONS` flag. It's time to build and upload these wheels to PyPI! This release includes CPython 3.13.0rc1, which is guaranteed to be ABI compatible with the final release. Free-threading is still behind a flag/config option. (#1950)
261-
- ✨ Provide a `CIBW_ALLOW_EMPTY` environment variable as an alternative to the command line flag. (#1937)
262-
- 🐛 Don't use uv on PyPy3.8 on Windows, it stopped working starting in 0.2.25. Note that PyPy 3.8 is EoL. (#1868)
263-
- 🛠 Set the `VSCMD_ARG_TGT_ARCH` variable based on target arch. (#1876)
264-
- 🛠 Undo cleaner output on pytest 8-8.2 now that 8.3 is out. (#1943)
265-
- 📚 Update examples to use Python 3.12 on host (cibuildwheel will require Python 3.11+ on the host machine starting in October 2024) (#1919)
266-
267274
<!-- END bin/update_readme_changelog.py -->
268275

269276
---

cibuildwheel/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from __future__ import annotations
22

3-
__version__ = "2.21.3"
3+
__version__ = "2.22.0"

docs/changelog.md

+19
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,25 @@ title: Changelog
44

55
# Changelog
66

7+
### v2.22.0
8+
9+
_23 November 2024_
10+
11+
- 🌟 Added a new `CIBW_ENABLE`/`enable` feature that replaces `CIBW_FREETHREADED_SUPPORT`/`free-threaded-support` and `CIBW_PRERELEASE_PYTHONS` with a system that supports both. In cibuildwheel 3, this will also include a PyPy setting and the deprecated options will be removed. (#2048)
12+
- 🌟 [Dependency groups](https://peps.python.org/pep-0735/) are now supported for tests. Use `CIBW_TEST_GROUPS`/`test-groups` to specify groups in `[dependency-groups]` for testing. (#2063)
13+
- 🌟 Support for the experimental Ubuntu-based ARMv7l manylinux image (#2052)
14+
- ✨ Show a warning when cibuildwheel is run from Python 3.10 or older; cibuildwheel 3.0 will require Python 3.11 or newer as host (#2050)
15+
- 🐛 Fix issue with stderr interfering with checking the docker version (#2074)
16+
- 🛠 Python 3.9 is now used in `CIBW_BEFORE_ALL`/`before-all` on linux, replacing 3.8, which is now EoL (#2043)
17+
- 🛠 Error messages for producing a pure-Python wheel are slightly more informative (#2044)
18+
- 🛠 Better error when `uname -m` fails on ARM (#2049)
19+
- 🛠 Better error when repair fails and docs for abi3audit on Windows (#2058)
20+
- 🛠 Better error when `manylinux-interpreters ensure` fails (#2066)
21+
- 🛠 Update Pyodide to 0.26.4, and adapt to the unbundled pyodide-build (now 0.29) (#2090)
22+
- 🛠 Now cibuildwheel uses dependency-groups for development dependencies (#2064, #2085)
23+
- 📚 Docs updates and tidy ups (#2061, #2067, #2072)
24+
25+
726
### v2.21.3
827

928
_9 October 2024_

docs/faq.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ There are two suggested methods for keeping cibuildwheel up to date that instead
142142
If you use GitHub Actions for builds, you can use cibuildwheel as an action:
143143

144144
```yaml
145-
uses: pypa/cibuildwheel@v2.21.3
145+
uses: pypa/cibuildwheel@v2.22.0
146146
```
147147
148148
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.
@@ -164,7 +164,7 @@ The second option, and the only one that supports other CI systems, is using a `
164164

165165
```bash
166166
# requirements-cibw.txt
167-
cibuildwheel==2.21.3
167+
cibuildwheel==2.22.0
168168
```
169169

170170
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:
@@ -328,7 +328,7 @@ Solutions to this vary, but the simplest is to use pipx:
328328
# most runners have pipx preinstalled, but in case you don't
329329
python3 -m pip install pipx
330330
331-
pipx run cibuildwheel==2.21.3 --output-dir wheelhouse
331+
pipx run cibuildwheel==2.22.0 --output-dir wheelhouse
332332
pipx run twine upload wheelhouse/*.whl
333333
```
334334

docs/setup.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ To build Linux, Mac, and Windows wheels using GitHub Actions, create a `.github/
161161
- uses: actions/checkout@v4
162162

163163
- name: Build wheels
164-
run: pipx run cibuildwheel==2.21.3
164+
run: pipx run cibuildwheel==2.22.0
165165

166166
- uses: actions/upload-artifact@v4
167167
with:
@@ -198,7 +198,7 @@ To build Linux, Mac, and Windows wheels using GitHub Actions, create a `.github/
198198
- uses: actions/setup-python@v5
199199

200200
- name: Install cibuildwheel
201-
run: python -m pip install cibuildwheel==2.21.3
201+
run: python -m pip install cibuildwheel==2.22.0
202202

203203
- name: Build wheels
204204
run: python -m cibuildwheel --output-dir wheelhouse

examples/appveyor-minimal.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ environment:
99

1010
stack: python 3.12
1111

12-
install: python -m pip install cibuildwheel==2.21.3
12+
install: python -m pip install cibuildwheel==2.22.0
1313

1414
build_script: python -m cibuildwheel --output-dir wheelhouse
1515

examples/azure-pipelines-minimal.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
- bash: |
77
set -o errexit
88
python3 -m pip install --upgrade pip
9-
pip3 install cibuildwheel==2.21.3
9+
pip3 install cibuildwheel==2.22.0
1010
displayName: Install dependencies
1111
- bash: cibuildwheel --output-dir wheelhouse .
1212
displayName: Build wheels
@@ -20,7 +20,7 @@ jobs:
2020
- bash: |
2121
set -o errexit
2222
python3 -m pip install --upgrade pip
23-
python3 -m pip install cibuildwheel==2.21.3
23+
python3 -m pip install cibuildwheel==2.22.0
2424
displayName: Install dependencies
2525
- bash: cibuildwheel --output-dir wheelhouse .
2626
displayName: Build wheels
@@ -34,7 +34,7 @@ jobs:
3434
- bash: |
3535
set -o errexit
3636
python -m pip install --upgrade pip
37-
pip install cibuildwheel==2.21.3
37+
pip install cibuildwheel==2.22.0
3838
displayName: Install dependencies
3939
- bash: cibuildwheel --output-dir wheelhouse .
4040
displayName: Build wheels

examples/circleci-minimal.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- run:
1212
name: Build the Linux wheels.
1313
command: |
14-
python3 -m pip install --user cibuildwheel==2.21.3
14+
python3 -m pip install --user cibuildwheel==2.22.0
1515
cibuildwheel --output-dir wheelhouse
1616
- store_artifacts:
1717
path: wheelhouse/
@@ -28,7 +28,7 @@ jobs:
2828
- run:
2929
name: Build the Linux aarch64 wheels.
3030
command: |
31-
python3 -m pip install --user cibuildwheel==2.21.3
31+
python3 -m pip install --user cibuildwheel==2.22.0
3232
python3 -m cibuildwheel --output-dir wheelhouse
3333
- store_artifacts:
3434
path: wheelhouse/
@@ -44,7 +44,7 @@ jobs:
4444
name: Build the OS X wheels.
4545
command: |
4646
sudo softwareupdate --install-rosetta --agree-to-license # for python<=3.8 or x86_64/universal2 tests
47-
pip3 install cibuildwheel==2.21.3
47+
pip3 install cibuildwheel==2.22.0
4848
cibuildwheel --output-dir wheelhouse
4949
- store_artifacts:
5050
path: wheelhouse/

examples/cirrus-ci-intel-mac.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
build_and_store_wheels: &BUILD_AND_STORE_WHEELS
22
install_cibuildwheel_script:
3-
- python -m pip install cibuildwheel==2.21.3
3+
- python -m pip install cibuildwheel==2.22.0
44
run_cibuildwheel_script:
55
- cibuildwheel
66
wheels_artifacts:

examples/cirrus-ci-minimal.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
build_and_store_wheels: &BUILD_AND_STORE_WHEELS
22
install_cibuildwheel_script:
3-
- python -m pip install cibuildwheel==2.21.3
3+
- python -m pip install cibuildwheel==2.22.0
44
run_cibuildwheel_script:
55
- cibuildwheel
66
wheels_artifacts:

examples/github-deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: actions/checkout@v4
2424

2525
- name: Build wheels
26-
uses: pypa/cibuildwheel@v2.21.3
26+
uses: pypa/cibuildwheel@v2.22.0
2727

2828
- uses: actions/upload-artifact@v4
2929
with:

examples/github-minimal.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v4
1616

1717
- name: Build wheels
18-
uses: pypa/cibuildwheel@v2.21.3
18+
uses: pypa/cibuildwheel@v2.22.0
1919
# env:
2020
# CIBW_SOME_OPTION: value
2121
# ...

examples/github-with-qemu.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
platforms: all
2222

2323
- name: Build wheels
24-
uses: pypa/cibuildwheel@v2.21.3
24+
uses: pypa/cibuildwheel@v2.22.0
2525
env:
2626
# configure cibuildwheel to build native archs ('auto'), and some
2727
# emulated ones

examples/gitlab-minimal.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ linux:
1212
DOCKER_TLS_CERTDIR: ""
1313
script:
1414
- curl -sSL https://get.docker.com/ | sh
15-
- python -m pip install cibuildwheel==2.21.3
15+
- python -m pip install cibuildwheel==2.22.0
1616
- cibuildwheel --output-dir wheelhouse
1717
artifacts:
1818
paths:
@@ -23,7 +23,7 @@ windows:
2323
before_script:
2424
- choco install python -y --version 3.12.4
2525
- choco install git.install -y
26-
- py -m pip install cibuildwheel==2.21.3
26+
- py -m pip install cibuildwheel==2.22.0
2727
script:
2828
- py -m cibuildwheel --output-dir wheelhouse --platform windows
2929
artifacts:
@@ -35,7 +35,7 @@ windows:
3535
macos:
3636
image: macos-14-xcode-15
3737
before_script:
38-
- python3 -m pip install cibuildwheel==2.21.3
38+
- python3 -m pip install cibuildwheel==2.22.0
3939
script:
4040
- python3 -m cibuildwheel --output-dir wheelhouse
4141
artifacts:

examples/gitlab-with-qemu.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ linux:
1414
- curl -sSL https://get.docker.com/ | sh
1515
# Warning: This is extremely slow, be careful with how many wheels you build
1616
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
17-
- python -m pip install cibuildwheel==2.21.3
17+
- python -m pip install cibuildwheel==2.22.0
1818
# Assuming your CI runner's default architecture is x86_64...
1919
- cibuildwheel --output-dir wheelhouse --platform linux --archs aarch64
2020
artifacts:

examples/travis-ci-deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- ln -s /c/Python312/python.exe /c/Python312/python3.exe
2121

2222
install:
23-
- python3 -m pip install cibuildwheel==2.21.3
23+
- python3 -m pip install cibuildwheel==2.22.0
2424

2525
script:
2626
# build the wheels, put them into './dist'

examples/travis-ci-minimal.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- ln -s /c/Python312/python.exe /c/Python312/python3.exe
2727

2828
install:
29-
- python3 -m pip install cibuildwheel==2.21.3
29+
- python3 -m pip install cibuildwheel==2.22.0
3030

3131
script:
3232
# build the wheels, put them into './wheelhouse'

examples/travis-ci-test-and-deploy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ jobs:
5252
- stage: deploy
5353
name: Build and deploy Linux wheels
5454
services: docker
55-
install: python3 -m pip install cibuildwheel==2.21.3 twine
55+
install: python3 -m pip install cibuildwheel==2.22.0 twine
5656
script: python3 -m cibuildwheel --output-dir wheelhouse
5757
after_success: python3 -m twine upload --skip-existing wheelhouse/*.whl
5858
# Deploy on windows
5959
- stage: deploy
6060
name: Build and deploy Windows wheels
6161
os: windows
6262
language: shell
63-
install: python3 -m pip install cibuildwheel==2.21.3 twine
63+
install: python3 -m pip install cibuildwheel==2.22.0 twine
6464
script: python3 -m cibuildwheel --output-dir wheelhouse
6565
after_success: python3 -m twine upload --skip-existing wheelhouse/*.whl
6666

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "cibuildwheel"
7-
version = "2.21.3"
7+
version = "2.22.0"
88
description = "Build Python wheels on CI with minimal configuration."
99
readme = "README.md"
1010
license = "BSD-2-Clause"

0 commit comments

Comments
 (0)