Skip to content

Commit 1a5fec7

Browse files
committed
Bump version: v2.4.0
1 parent e88a29c commit 1a5fec7

17 files changed

+48
-42
lines changed

README.md

+14-21
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
- uses: actions/setup-python@v2
8888

8989
- name: Install cibuildwheel
90-
run: python -m pip install cibuildwheel==2.3.1
90+
run: python -m pip install cibuildwheel==2.4.0
9191

9292
- name: Build wheels
9393
run: python -m cibuildwheel --output-dir wheelhouse
@@ -192,6 +192,19 @@ Changelog
192192

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

195+
### v2.4.0
196+
197+
_2 April 2022_
198+
199+
- ✨ cibuildwheel now supports running locally on Windows and macOS (as well as Linux). On macOS, you'll have to install the versions of Pythons that you want to use from Python.org, and cibuildwheel will use them. On Windows, cibuildwheel will install it's own versions of Python. Check out [the documentation](https://cibuildwheel.readthedocs.io/en/stable/setup/#local) for instructions. (#974)
200+
- ✨ Added support for building PyPy 3.9 wheels. (#1031)
201+
- ✨ Listing at the end of the build now displays the size of each wheel (#975)
202+
- 🐛 Workaround a connection timeout bug on Travis CI ppc64le runners (#906)
203+
- 🐛 Fix an encoding error when reading setup.py in the wrong encoding (#977)
204+
- 🛠 Setuptools updated to 61.3.0, including experimental support for reading config from pyproject.toml(PEP 621). This could change the behaviour of your build if you have a pyproject.toml with a `[project]` table, because that takes precedence over setup.py and setup.cfg. Check out the [setuptools docs](https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html) and the [project metadata specification](https://packaging.python.org/en/latest/specifications/declaring-project-metadata/) for more info.
205+
- 🛠 Many other dependency updates.
206+
- 📚 Minor docs improvements
207+
195208
### v2.3.1
196209

197210
_14 December 2021_
@@ -225,26 +238,6 @@ _26 October 2021_
225238
- 🛠 Added a `config-file` option on the GitHub Action to specify something other than pyproject.toml in your GitHub Workflow file. (#883)
226239
- 🐛 Fix missing resources in sdist and released wheel on PyPI. We've also made some internal changes to our release processes to make them more reliable. (#893, #894)
227240

228-
### v2.2.0
229-
230-
_22 October 2021_
231-
232-
- 🌟 Added support for [musllinux](https://www.python.org/dev/peps/pep-0656/). Support for this new wheel format lets projects build wheels for Linux distributions that use [musl libc](https://musl.libc.org/), notably, [Alpine](https://alpinelinux.org/) Docker containers. (#768)
233-
234-
Musllinux builds are enabled by default. If you're not ready to build musllinux, add `*-musllinux_*` to your [`CIBW_SKIP`/`skip`](https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip) option. Or, you might have to make some changes to your options - to simplify that process, you can use...
235-
236-
- 🌟 TOML option overrides! This provides much greater flexibility in configuration via pyproject.toml. (#854)
237-
238-
You can now set build options for any subset of your builds using a match pattern. So, for example, you can customise CPython 3.8 builds with an override on `cp38-*` or musllinux builds by selecting `*musllinux*`. Check out [the docs](https://cibuildwheel.readthedocs.io/en/latest/options/#overrides) for more info on the specifics.
239-
240-
- 🛠 Added support for building PyPy wheels on macOS 11 CI runners. (#875)
241-
242-
- 🛠 Setting an empty string for the [`CIBW_*_IMAGE`](https://cibuildwheel.readthedocs.io/en/stable/options/#manylinux-image) option will now fallthrough to the config file or cibuildwheel's default, rather than causing an error. This makes the option easier to use in CI build matricies. (#829)
243-
244-
- 🛠 Support for TOML 1.0 when reading config files, via the `tomli` package. (#876)
245-
246-
<sup>Note: This version is not available on PyPI due to some missing resources in the release files. Please use a later version instead.</sup>
247-
248241
<!-- END bin/update_readme_changelog.py -->
249242

250243
---

cibuildwheel/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.3.1"
1+
__version__ = "2.4.0"

docs/changelog.md

+13
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22
title: Changelog
33
---
44

5+
### v2.4.0
6+
7+
_2 April 2022_
8+
9+
- ✨ cibuildwheel now supports running locally on Windows and macOS (as well as Linux). On macOS, you'll have to install the versions of Pythons that you want to use from Python.org, and cibuildwheel will use them. On Windows, cibuildwheel will install it's own versions of Python. Check out [the documentation](https://cibuildwheel.readthedocs.io/en/stable/setup/#local) for instructions. (#974)
10+
- ✨ Added support for building PyPy 3.9 wheels. (#1031)
11+
- ✨ Listing at the end of the build now displays the size of each wheel (#975)
12+
- 🐛 Workaround a connection timeout bug on Travis CI ppc64le runners (#906)
13+
- 🐛 Fix an encoding error when reading setup.py in the wrong encoding (#977)
14+
- 🛠 Setuptools updated to 61.3.0, including experimental support for reading config from pyproject.toml(PEP 621). This could change the behaviour of your build if you have a pyproject.toml with a `[project]` table, because that takes precedence over setup.py and setup.cfg. Check out the [setuptools docs](https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html) and the [project metadata specification](https://packaging.python.org/en/latest/specifications/declaring-project-metadata/) for more info.
15+
- 🛠 Many other dependency updates.
16+
- 📚 Minor docs improvements
17+
518
### v2.3.1
619

720
_14 December 2021_

docs/faq.md

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

129129
```yaml
130-
uses: pypa/cibuildwheel@v2.3.1
130+
uses: pypa/cibuildwheel@v2.4.0
131131
```
132132
133133
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.
@@ -153,7 +153,7 @@ The second option, and the only one that supports other CI systems, is using a `
153153

154154
```bash
155155
# requirements-cibw.txt
156-
cibuildwheel==2.3.1
156+
cibuildwheel==2.4.0
157157
```
158158

159159
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:

docs/setup.md

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

185185
- name: Build wheels
186-
run: pipx run cibuildwheel==2.3.1
186+
run: pipx run cibuildwheel==2.4.0
187187

188188
- uses: actions/upload-artifact@v2
189189
with:
@@ -218,7 +218,7 @@ To build Linux, Mac, and Windows wheels using GitHub Actions, create a `.github/
218218
- uses: actions/setup-python@v2
219219

220220
- name: Install cibuildwheel
221-
run: python -m pip install cibuildwheel==2.3.1
221+
run: python -m pip install cibuildwheel==2.4.0
222222

223223
- name: Build wheels
224224
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.3.1
15+
install: python -m pip install cibuildwheel==2.4.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.3.1
9+
pip3 install cibuildwheel==2.4.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.3.1
23+
python3 -m pip install cibuildwheel==2.4.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.3.1
37+
pip install cibuildwheel==2.4.0
3838
displayName: Install dependencies
3939
- bash: cibuildwheel --output-dir wheelhouse .
4040
displayName: Build wheels

examples/circleci-minimal.yml

+2-2
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.3.1
14+
pip3 install --user cibuildwheel==2.4.0
1515
cibuildwheel --output-dir wheelhouse
1616
- store_artifacts:
1717
path: wheelhouse/
@@ -25,7 +25,7 @@ jobs:
2525
- run:
2626
name: Build the OS X wheels.
2727
command: |
28-
pip3 install cibuildwheel==2.3.1
28+
pip3 install cibuildwheel==2.4.0
2929
cibuildwheel --output-dir wheelhouse
3030
- store_artifacts:
3131
path: wheelhouse/

examples/github-apple-silicon.yml

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

1212
- name: Build wheels
13-
uses: pypa/cibuildwheel@v2.3.1
13+
uses: pypa/cibuildwheel@v2.4.0
1414
env:
1515
CIBW_ARCHS_MACOS: x86_64 universal2
1616

examples/github-deploy.yml

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

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

2727
- uses: actions/upload-artifact@v2
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@v2
1515

1616
- name: Build wheels
17-
uses: pypa/cibuildwheel@v2.3.1
17+
uses: pypa/cibuildwheel@v2.4.0
1818
# to supply options, put them in 'env', like:
1919
# env:
2020
# CIBW_SOME_OPTION: value

examples/github-with-qemu.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
platforms: all
2626

2727
- name: Build wheels
28-
uses: pypa/cibuildwheel@v2.3.1
28+
uses: pypa/cibuildwheel@v2.4.0
2929
env:
3030
# configure cibuildwheel to build native archs ('auto'), and some
3131
# emulated ones

examples/gitlab-minimal.yml

+1-1
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.3.1
15+
- python -m pip install cibuildwheel==2.4.0
1616
- cibuildwheel --output-dir wheelhouse
1717
artifacts:
1818
paths:

examples/travis-ci-deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- ln -s /c/Python38/python.exe /c/Python38/python3.exe
2020

2121
install:
22-
- python3 -m pip install cibuildwheel==2.3.1
22+
- python3 -m pip install cibuildwheel==2.4.0
2323

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

examples/travis-ci-minimal.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- ln -s /c/Python38/python.exe /c/Python38/python3.exe
2626

2727
install:
28-
- python3 -m pip install cibuildwheel==2.3.1
28+
- python3 -m pip install cibuildwheel==2.4.0
2929

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

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ jobs:
5555
- stage: deploy
5656
name: Build and deploy Linux wheels
5757
services: docker
58-
install: python3 -m pip install cibuildwheel==2.3.1 twine
58+
install: python3 -m pip install cibuildwheel==2.4.0 twine
5959
script: python3 -m cibuildwheel --output-dir wheelhouse
6060
after_success: python3 -m twine upload --skip-existing wheelhouse/*.whl
6161
# Deploy on windows
6262
- stage: deploy
6363
name: Build and deploy Windows wheels
6464
os: windows
6565
language: shell
66-
install: python3 -m pip install cibuildwheel==2.3.1 twine
66+
install: python3 -m pip install cibuildwheel==2.4.0 twine
6767
script: python3 -m cibuildwheel --output-dir wheelhouse
6868
after_success: python3 -m twine upload --skip-existing wheelhouse/*.whl
6969

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = cibuildwheel
3-
version = 2.3.1
3+
version = 2.4.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)