Skip to content

Commit 8d94547

Browse files
committed
Bump version: v2.17.0
1 parent ca06deb commit 8d94547

19 files changed

+61
-34
lines changed

README.md

+18-8
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
- uses: actions/setup-python@v3
9292

9393
- name: Install cibuildwheel
94-
run: python -m pip install cibuildwheel==2.16.5
94+
run: python -m pip install cibuildwheel==2.17.0
9595

9696
- name: Build wheels
9797
run: python -m cibuildwheel --output-dir wheelhouse
@@ -208,6 +208,23 @@ Changelog
208208

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

211+
### v2.17.0
212+
213+
_11 March 2024_
214+
215+
- 🌟 Adds the ability to inherit configuration in TOML overrides. This makes certain configurations much simpler. If you're overriding an option like `before-build` or `environment`, and you just want to add an extra command or environment variable, you can just append (or prepend) to the previous config. See [the docs](https://cibuildwheel.pypa.io/en/stable/options/#inherit) for more information. (#1730)
216+
- 🌟 Adds official support for native arm64 macOS GitHub runners. To use them, just specify `macos-14` as an `os` of your job in your workflow file. You can also keep `macos-13` in your build matrix to build x86_64. Check out the new [GitHub Actions example config](https://cibuildwheel.pypa.io/en/stable/setup/#github-actions).
217+
- ✨ You no longer need to specify `--platform` to run cibuildwheel locally! Instead it will your platform automatically. This was a safety feature, no longer necessary. (#1727)
218+
- 🛠 Removed setuptools and wheel pinned versions. This only affects old-style projects without a `pyproject.toml`, projects with `pyproject.toml` are already getting fresh versions of their `build-system.requires` installed into an isolated environment. (#1725)
219+
- 🛠 Improve how the GitHub Action passes arguments (#1757)
220+
- 🛠 Remove a system-wide install of pipx in the GitHub Action (#1745)
221+
- 🐛 No longer will cibuildwheel override the PIP_CONSTRAINT environment variable when using the `build` frontend. Instead it will be extended. (#1675)
222+
- 🐛 Fix a bug where building and testing both x86_86 and arm64 wheels on the same runner caused the wrong architectures in the test environment (#1750)
223+
- 🐛 Fix a bug that prevented testing a CPython 3.8 wheel targeting macOS 11+ on x86_64 (#1768)
224+
- 📚 Moved the docs onto the official PyPA domain - they're now available at https://cibuildwheel.pypa.io . (#1775)
225+
- 📚 Docs and examples improvements (#1762, #1734)
226+
227+
211228
### v2.16.5
212229

213230
_30 January 2024_
@@ -240,13 +257,6 @@ _3 October 2023_
240257
- 🐛 Fix the evaluation order of `CIBW_ENVIRONMENT` and `CIBW_ENVIRONMENT_PASS` so that `CIBW_ENVIRONMENT` assignments can reference environment variables passed through from the host machine. (#1617)
241258
- 🛠 Supports manylinux images' deferred installation of interpreters through the `manylinux-interpreters` tool (#1630)
242259

243-
### v2.16.1
244-
245-
_26 September 2023_
246-
247-
- 🛠 Updates the prerelease CPython 3.12 version to 3.12.0rc3 (#1625)
248-
- 🛠 Only calls `linux32` in containers when necessary (#1599)
249-
250260
<!-- END bin/update_readme_changelog.py -->
251261

252262
---

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.16.5"
3+
__version__ = "2.17.0"

docs/changelog.md

+17
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@ title: Changelog
44

55
# Changelog
66

7+
### v2.17.0
8+
9+
_11 March 2024_
10+
11+
- 🌟 Adds the ability to inherit configuration in TOML overrides. This makes certain configurations much simpler. If you're overriding an option like `before-build` or `environment`, and you just want to add an extra command or environment variable, you can just append (or prepend) to the previous config. See [the docs](https://cibuildwheel.pypa.io/en/stable/options/#inherit) for more information. (#1730)
12+
- 🌟 Adds official support for native arm64 macOS GitHub runners. To use them, just specify `macos-14` as an `os` of your job in your workflow file. You can also keep `macos-13` in your build matrix to build x86_64. Check out the new [GitHub Actions example config](https://cibuildwheel.pypa.io/en/stable/setup/#github-actions).
13+
- ✨ You no longer need to specify `--platform` to run cibuildwheel locally! Instead it will your platform automatically. This was a safety feature, no longer necessary. (#1727)
14+
- 🛠 Removed setuptools and wheel pinned versions. This only affects old-style projects without a `pyproject.toml`, projects with `pyproject.toml` are already getting fresh versions of their `build-system.requires` installed into an isolated environment. (#1725)
15+
- 🛠 Improve how the GitHub Action passes arguments (#1757)
16+
- 🛠 Remove a system-wide install of pipx in the GitHub Action (#1745)
17+
- 🐛 No longer will cibuildwheel override the PIP_CONSTRAINT environment variable when using the `build` frontend. Instead it will be extended. (#1675)
18+
- 🐛 Fix a bug where building and testing both x86_86 and arm64 wheels on the same runner caused the wrong architectures in the test environment (#1750)
19+
- 🐛 Fix a bug that prevented testing a CPython 3.8 wheel targeting macOS 11+ on x86_64 (#1768)
20+
- 📚 Moved the docs onto the official PyPA domain - they're now available at https://cibuildwheel.pypa.io . (#1775)
21+
- 📚 Docs and examples improvements (#1762, #1734)
22+
23+
724
### v2.16.5
825

926
_30 January 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.16.5
145+
uses: pypa/cibuildwheel@v2.17.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.16.5
167+
cibuildwheel==2.17.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:
@@ -307,7 +307,7 @@ Solutions to this vary, but the simplest is to use pipx:
307307
# most runners have pipx preinstalled, but in case you don't
308308
python3 -m pip install pipx
309309
310-
pipx run cibuildwheel==2.16.5 --output-dir wheelhouse
310+
pipx run cibuildwheel==2.17.0 --output-dir wheelhouse
311311
pipx run twine upload wheelhouse/*.whl
312312
```
313313

docs/setup.md

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

156156
- name: Build wheels
157-
run: pipx run cibuildwheel==2.16.5
157+
run: pipx run cibuildwheel==2.17.0
158158

159159
- uses: actions/upload-artifact@v4
160160
with:
@@ -191,7 +191,7 @@ To build Linux, Mac, and Windows wheels using GitHub Actions, create a `.github/
191191
- uses: actions/setup-python@v3
192192

193193
- name: Install cibuildwheel
194-
run: python -m pip install cibuildwheel==2.16.5
194+
run: python -m pip install cibuildwheel==2.17.0
195195

196196
- name: Build wheels
197197
run: python -m cibuildwheel --output-dir wheelhouse

examples/appveyor-minimal.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ stack: python 3.7
1212
init:
1313
- cmd: set PATH=C:\Python37;C:\Python37\Scripts;%PATH%
1414

15-
install: python -m pip install cibuildwheel==2.16.5
15+
install: python -m pip install cibuildwheel==2.17.0
1616

1717
build_script: python -m cibuildwheel --output-dir wheelhouse
1818

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.16.5
9+
pip3 install cibuildwheel==2.17.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.16.5
23+
python3 -m pip install cibuildwheel==2.17.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.16.5
37+
pip install cibuildwheel==2.17.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-
pip3 install --user cibuildwheel==2.16.5
14+
pip3 install --user cibuildwheel==2.17.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.16.5
31+
python3 -m pip install --user cibuildwheel==2.17.0
3232
python3 -m cibuildwheel --output-dir wheelhouse
3333
- store_artifacts:
3434
path: wheelhouse/
@@ -42,7 +42,7 @@ jobs:
4242
- run:
4343
name: Build the OS X wheels.
4444
command: |
45-
pip3 install cibuildwheel==2.16.5
45+
pip3 install cibuildwheel==2.17.0
4646
cibuildwheel --output-dir wheelhouse
4747
- store_artifacts:
4848
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.16.5
3+
- python -m pip install cibuildwheel==2.17.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.16.5
3+
- python -m pip install cibuildwheel==2.17.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.16.5
26+
uses: pypa/cibuildwheel@v2.17.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.16.5
18+
uses: pypa/cibuildwheel@v2.17.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.16.5
24+
uses: pypa/cibuildwheel@v2.17.0
2525
env:
2626
# configure cibuildwheel to build native archs ('auto'), and some
2727
# emulated ones

examples/gitlab-minimal.yml

+2-2
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.16.5
15+
- python -m pip install cibuildwheel==2.17.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.8.6
2525
- choco install git.install -y
26-
- py -m pip install cibuildwheel==2.16.5
26+
- py -m pip install cibuildwheel==2.17.0
2727
script:
2828
- py -m cibuildwheel --output-dir wheelhouse --platform windows
2929
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.16.5
17+
- python -m pip install cibuildwheel==2.17.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/Python38/python.exe /c/Python38/python3.exe
2121

2222
install:
23-
- python3 -m pip install cibuildwheel==2.16.5
23+
- python3 -m pip install cibuildwheel==2.17.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/Python38/python.exe /c/Python38/python3.exe
2727

2828
install:
29-
- python3 -m pip install cibuildwheel==2.16.5
29+
- python3 -m pip install cibuildwheel==2.17.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
@@ -54,15 +54,15 @@ jobs:
5454
- stage: deploy
5555
name: Build and deploy Linux wheels
5656
services: docker
57-
install: python3 -m pip install cibuildwheel==2.16.5 twine
57+
install: python3 -m pip install cibuildwheel==2.17.0 twine
5858
script: python3 -m cibuildwheel --output-dir wheelhouse
5959
after_success: python3 -m twine upload --skip-existing wheelhouse/*.whl
6060
# Deploy on windows
6161
- stage: deploy
6262
name: Build and deploy Windows wheels
6363
os: windows
6464
language: shell
65-
install: python3 -m pip install cibuildwheel==2.16.5 twine
65+
install: python3 -m pip install cibuildwheel==2.17.0 twine
6666
script: python3 -m cibuildwheel --output-dir wheelhouse
6767
after_success: python3 -m twine upload --skip-existing wheelhouse/*.whl
6868

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = cibuildwheel
3-
version = 2.16.5
3+
version = 2.17.0
44
description = Build Python wheels on CI with minimal configuration.
55
long_description = file: README.md
66
long_description_content_type = text/markdown

0 commit comments

Comments
 (0)