Skip to content

Commit a873dd9

Browse files
committed
Bump version: v2.16.0
1 parent e8ba0d4 commit a873dd9

20 files changed

+52
-38
lines changed

README.md

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

9999
- name: Install cibuildwheel
100-
run: python -m pip install cibuildwheel==2.15.0
100+
run: python -m pip install cibuildwheel==2.16.0
101101

102102
- name: Build wheels
103103
run: python -m cibuildwheel --output-dir wheelhouse
@@ -213,6 +213,18 @@ Changelog
213213

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

216+
### v2.16.0
217+
218+
_18 September 2023_
219+
220+
- ✨ Add the ability to pass additional flags to a build frontend through the [CIBW_BUILD_FRONTEND](https://cibuildwheel.readthedocs.io/en/stable/options/#build-frontend) option (#1588).
221+
- ✨ The environment variable SOURCE_DATE_EPOCH is now automatically passed through to container Linux builds (useful for [reproducible builds](https://reproducible-builds.org/docs/source-date-epoch/)!) (#1589)
222+
- 🛠 Updates the prerelease CPython 3.12 version to 3.12.0rc2 (#1604)
223+
- 🐛 Fix `requires_python` auto-detection from setup.py when the call to `setup()` is within an `if __name__ == "__main__" block (#1613)
224+
- 🐛 Fix a bug that prevented building Linux wheels in Docker on a Windows host (#1573)
225+
- 🐛 `--only` can now select prerelease-pythons (#1564)
226+
- 📚 Docs & examples updates (#1582, #1593, #1598, #1615)
227+
216228
### v2.15.0
217229

218230
_8 August 2023_
@@ -243,16 +255,6 @@ _10 June 2023_
243255
- 🛠 Updates the prerelease CPython 3.12 version to 3.12.0b2. (#1516)
244256
- 🛠 Adds a moving `v<major>.<minor>` tag for use in GitHub Actions workflow files. If you use this, you'll get the latest patch release within a minor version. Additionally, Dependabot won't send you PRs for patch releases. (#1517)
245257

246-
### v2.13.0
247-
248-
_28 May 2023_
249-
250-
- ✨ Adds CPython 3.12 support, under the prerelease flag [CIBW_PRERELEASE_PYTHONS](https://cibuildwheel.readthedocs.io/en/stable/options/#prerelease-pythons). This version of cibuildwheel uses 3.12.0b1.
251-
252-
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.12 will be available in cibuildwheel without the flag. (#1507)
253-
254-
- ✨ Adds the ability to pass arguments to the container engine when the container is created, using the [CIBW_CONTAINER_ENGINE](https://cibuildwheel.readthedocs.io/en/stable/options/#container-engine) option. (#1499)
255-
256258
<!-- END bin/update_readme_changelog.py -->
257259

258260
---

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.15.0"
3+
__version__ = "2.16.0"

docs/changelog.md

+12
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ title: Changelog
44

55
# Changelog
66

7+
### v2.16.0
8+
9+
_18 September 2023_
10+
11+
- ✨ Add the ability to pass additional flags to a build frontend through the [CIBW_BUILD_FRONTEND](https://cibuildwheel.readthedocs.io/en/stable/options/#build-frontend) option (#1588).
12+
- ✨ The environment variable SOURCE_DATE_EPOCH is now automatically passed through to container Linux builds (useful for [reproducible builds](https://reproducible-builds.org/docs/source-date-epoch/)!) (#1589)
13+
- 🛠 Updates the prerelease CPython 3.12 version to 3.12.0rc2 (#1604)
14+
- 🐛 Fix `requires_python` auto-detection from setup.py when the call to `setup()` is within an `if __name__ == "__main__" block (#1613)
15+
- 🐛 Fix a bug that prevented building Linux wheels in Docker on a Windows host (#1573)
16+
- 🐛 `--only` can now select prerelease-pythons (#1564)
17+
- 📚 Docs & examples updates (#1582, #1593, #1598, #1615)
18+
719
### v2.15.0
820

921
_8 August 2023_

docs/faq.md

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

161161
```yaml
162-
uses: pypa/cibuildwheel@v2.15.0
162+
uses: pypa/cibuildwheel@v2.16.0
163163
```
164164
165165
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.
@@ -181,7 +181,7 @@ The second option, and the only one that supports other CI systems, is using a `
181181

182182
```bash
183183
# requirements-cibw.txt
184-
cibuildwheel==2.15.0
184+
cibuildwheel==2.16.0
185185
```
186186

187187
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:
@@ -325,7 +325,7 @@ Solutions to this vary, but the simplest is to use pipx:
325325
# most runners have pipx preinstalled, but in case you don't
326326
python3 -m pip install pipx
327327
328-
pipx run cibuildwheel==2.15.0 --output-dir wheelhouse
328+
pipx run cibuildwheel==2.16.0 --output-dir wheelhouse
329329
pipx run twine upload wheelhouse/*.whl
330330
```
331331

docs/setup.md

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

186186
- name: Build wheels
187-
run: pipx run cibuildwheel==2.15.0
187+
run: pipx run cibuildwheel==2.16.0
188188

189189
- uses: actions/upload-artifact@v3
190190
with:
@@ -219,7 +219,7 @@ To build Linux, Mac, and Windows wheels using GitHub Actions, create a `.github/
219219
- uses: actions/setup-python@v3
220220

221221
- name: Install cibuildwheel
222-
run: python -m pip install cibuildwheel==2.15.0
222+
run: python -m pip install cibuildwheel==2.16.0
223223

224224
- name: Build wheels
225225
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.15.0
15+
install: python -m pip install cibuildwheel==2.16.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.15.0
9+
pip3 install cibuildwheel==2.16.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.15.0
23+
python3 -m pip install cibuildwheel==2.16.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.15.0
37+
pip install cibuildwheel==2.16.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.15.0
14+
pip3 install --user cibuildwheel==2.16.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.15.0
31+
python3 -m pip install --user cibuildwheel==2.16.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.15.0
45+
pip3 install cibuildwheel==2.16.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.15.0
3+
- python -m pip install cibuildwheel==2.16.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.15.0
3+
- python -m pip install cibuildwheel==2.16.0
44
run_cibuildwheel_script:
55
- cibuildwheel
66
wheels_artifacts:

examples/github-apple-silicon.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v4
1111

1212
- name: Build wheels
13-
uses: pypa/cibuildwheel@v2.15.0
13+
uses: pypa/cibuildwheel@v2.16.0
1414
env:
1515
CIBW_ARCHS_MACOS: x86_64 arm64
1616

examples/github-deploy.yml

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

2424
- name: Build wheels
25-
uses: pypa/cibuildwheel@v2.15.0
25+
uses: pypa/cibuildwheel@v2.16.0
2626

2727
- uses: actions/upload-artifact@v3
2828
with:

examples/github-minimal.yml

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

1616
- name: Build wheels
17-
uses: pypa/cibuildwheel@v2.15.0
17+
uses: pypa/cibuildwheel@v2.16.0
1818
# env:
1919
# CIBW_SOME_OPTION: value
2020
# ...

examples/github-with-qemu.yml

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

2222
- name: Build wheels
23-
uses: pypa/cibuildwheel@v2.15.0
23+
uses: pypa/cibuildwheel@v2.16.0
2424
env:
2525
# configure cibuildwheel to build native archs ('auto'), and some
2626
# 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.15.0
15+
- python -m pip install cibuildwheel==2.16.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.15.0
26+
- py -m pip install cibuildwheel==2.16.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.15.0
17+
- python -m pip install cibuildwheel==2.16.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.15.0
23+
- python3 -m pip install cibuildwheel==2.16.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.15.0
29+
- python3 -m pip install cibuildwheel==2.16.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.15.0 twine
57+
install: python3 -m pip install cibuildwheel==2.16.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.15.0 twine
65+
install: python3 -m pip install cibuildwheel==2.16.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.15.0
3+
version = 2.16.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)