- 🌟 Added support for Apple Silicon wheels on macOS! You can now cross-compile `universal2` and `arm64` wheels on your existing macOS Intel runners, by setting [CIBW_ARCHS_MACOS](https://cibuildwheel.readthedocs.io/en/stable/options/#archs). Xcode 12.2 or later is required, but you don't need macOS 11.0 - you can still build on macOS 10.15. See [this FAQ entry](https://cibuildwheel.readthedocs.io/en/stable/faq/#apple-silicon) for more information. (484)
- 🌟 Added auto-detection of your package's Python compatibility, via declared [`requires-python`](https://www.python.org/dev/peps/pep-0621/#requires-python) in your `pyproject.toml`, or [`python_requires`](https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires) in `setup.cfg` or `setup.py`. If your project has these set, cibuildwheel will automatically skip builds on versions of Python that your package doesn't support. Hopefully this makes the first-run experience of cibuildwheel a bit easier. If you need to override this for any reason, look at [`CIBW_PROJECT_REQUIRES_PYTHON`](https://cibuildwheel.readthedocs.io/en/stable/options/#requires-python). (536)
- 🌟 cibuildwheel can now be invoked as a native GitHub Action! You can now invoke cibuildwheel in a GHA build step like:
yaml
- name: Build wheels
uses: joerick/cibuildwheelv1.9.0
with:
output-dir: wheelhouse
env:
CIBW_SOME_OPTION: value
This saves a bit of boilerplate, and you can [use Dependabot to keep the pinned version up-to-date](https://cibuildwheel.readthedocs.io/en/stable/faq/#automatic-updates).
- ✨ Added `auto64` and `auto32` shortcuts to the [CIBW_ARCHS](https://cibuildwheel.readthedocs.io/en/stable/options/#archs) option. (553)
- ✨ cibuildwheel now prints a list of the wheels built at the end of each run. (570)
- 📚 Lots of minor docs improvements.