Releases: pypa/cibuildwheel
v2.0.0a2
This version is currently in prerelease. The below release notes will be condensed into a single entry when we do a final release.
v2.0.0a2 (1 Jun 2021)
- 🌟 Added the ability to test building wheels on CPython 3.10! Because CPython 3.10 is in beta, these wheels should not be distributed, because they might not be compatible with the final release, but it's available to build for testing purposes. Use the flag
--prerelease-pythons
orCIBW_PRERELEASE_PYTHONS
to test. (#675) - ✨ Added the ability to build CPython 3.8 wheels on Apple Silicon. (#704)
- 🛠 Update to the latest build dependencies, including auditwheel 4. (#633)
- 🛠 Use the unified pypa/manylinux images to build PyPy (#671)
⚠️ Removed support for building Python 2.7 and Python 3.5 wheels, for both CPython and PyPy. If you still need to build on these versions, please use the latest v1.x version. (#596)
v1.11.1
v1.11.0
- 📚 Lots of docs improvements! (#650, #623, #616, #609, #606)
- 🐛 Fix nuget "Package is not found" error on Windows. (#653)
⚠️ cibuildwheel will no longer build Windows 2.7 wheels, unless you specify a custom toolchain usingDISTUTILS_USE_SDK=1
andMSSdk=1
. This is because Microsoft have stopped distributing Visual C++ Compiler for Python 2.7. See this FAQ entry for more details. (#649)- 🐛 Fix crash on Windows due to missing
which
command (#641).
v1.10.0
- ✨ Added
manylinux_2_24
support. To use these new Debian-based manylinux images, set your manylinux image options tomanylinux_2_24
. (#595) - 🛠 On macOS, we now set
MACOSX_DEPLOYMENT_TARGET
in before runningCIBW_BEFORE_ALL
. This is useful when usingCIBW_BEFORE_ALL
to build a shared library. (#590) - 🛠 An empty
CIBW_BUILD
option is now the same as being unset i.e,*
. This makes some build matrix configuration easier. (#588) - 📚 Neatened up documentation - added tabs to a few places (#576), fixed some formatting issues.
v1.9.0
-
🌟 Added support for Apple Silicon wheels on macOS! You can now cross-compile
universal2
andarm64
wheels on your existing macOS Intel runners, by setting CIBW_ARCHS_MACOS. 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 for more information. (#484) -
🌟 Added auto-detection of your package's Python compatibility, via declared
requires-python
in yourpyproject.toml
, orpython_requires
insetup.cfg
orsetup.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 atCIBW_PROJECT_REQUIRES_PYTHON
. (#536) -
🌟 cibuildwheel can now be invoked as a native GitHub Action! You can now invoke cibuildwheel in a GHA build step like:
- name: Build wheels uses: joerick/cibuildwheel@v1.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.
-
✨ Added
auto64
andauto32
shortcuts to the CIBW_ARCHS option. (#553) -
✨ cibuildwheel now prints a list of the wheels built at the end of each run. (#570)
-
📚 Lots of minor docs improvements.
v1.8.0
- 🌟 Added support for emulated builds! You can now build manylinux wheels on ARM64
aarch64
, as well asppc64le
and 's390x'. To build under emulation, register QEMU via binfmt_misc and set theCIBW_ARCHS_LINUX
option to the architectures you want to run. See this FAQ entry for more information. (#482) - ✨ Added
CIBW_TEST_SKIP
option. This allows you to choose certain builds whose tests you'd like to skip. This might be useful when running a slow test suite under emulation, for example. (#537) - ✨ Added
curly-{brace,bracket,paren}
style globbing toCIBW_BUILD
andCIBW_SKIP
. This gives more expressivity, letting you do things likeCIBW_BUILD=cp39-manylinux_{aarch64,ppc64le}
. (#527) - 🛠 cibuildwheel will now exit with an error if it's called with options that skip all builds on a platform. This feature can be disabled by adding
--allow-empty
on the command line. (#545)
v1.7.3
- 🛠 Added a patch for Pypy to ensure header files are available for building in a virtualenv. (#502)
- 🛠 Some preparatory work towards using cibuildwheel as a Github Action. Check out the FAQ for information on how to use it. We'll be fully updating the docs to this approach in a subsequent release (#494)