cibuildwheel: one CI step that builds and tests Python wheels on every platform you target
🎡 Build Python wheels for all the platforms with minimal configuration.
At a glance
- What is it?
- pypa/cibuildwheel runs on GitHub Actions, Azure Pipelines, CircleCI and GitLab CI to build wheels for macOS, Windows, Linux, Android, iOS and Pyodide. It also installs each wheel and runs your tests against it. Version 4.3.5 shipped on 2026-10-27.
- Who is it for?
- Use cibuildwheel if you publish a Python package with compiled code and need wheels for more than one operating system, with tests run against the installed wheel. Skip it if you only ship pure Python, or if your CI is not one of the four systems it names.
- Can I use it commercially?
- Yes. BSD-2-Clause is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 2 days ago.
- What is it written in?
- Mainly Python, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 17, 2026, and from our analysis. They are not legal advice.
Star history
- pypa/cibuildwheel2,273 ★ · +5
| Repository | 2026-10-14 | 2026-11-17 |
|---|---|---|
| pypa/cibuildwheel | 2.3k | 2.3k |
5 Stars in the last 34 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
It runs inside your CI job, and only four CI systems are named
cibuildwheel runs on your CI server. The supported systems are GitHub Actions, Azure Pipelines, CircleCI and GitLab CI, and the repository backs each with a working file. The examples folder holds azure-pipelines-minimal.yml, circleci-minimal.yml, github-minimal.yml, gitlab-minimal.yml, plus github-deploy.yml, github-pipx.yml, github-with-qemu.yml and gitlab-with-qemu.yml. The root also contains an action.yml, which is the GitHub Action definition.
The pair of qemu examples is the one to open first if you need architectures your runner does not have natively. The repository does not explain here how the emulation is wired, so read the two files before relying on them.
The limit is plain. If your builds run on a CI system outside those four, the README gives no supported path. cibuildwheel is a command named cibuildwheel, registered in pyproject.toml as cibuildwheel.__main__:main, so you can call it from any shell. Support, though, is only claimed for the four.
The support table has more cells marked N/A or experimental than the intro suggests
The README opens with the promise of building wheels across Mac, Linux and Windows, on multiple versions of Python. The table behind it is more specific. CPython 3.9 through 3.15 are listed, and each version crosses a long row of targets: macOS Intel, macOS Apple Silicon, Windows 64bit, Windows 32bit, Windows Arm64, and manylinux and musllinux on x86_64, i686, aarch64, ppc64le, s390x and armv7l.
Android, iOS and Pyodide are columns too, and they are N/A for CPython 3.9 through 3.11. Android and iOS start at 3.13. Pyodide shows a footnoted entry at 3.12 and full entries from 3.13.
As a result, a package that still declares support for CPython 3.9 cannot get an Android or iOS wheel out of this tool at all. A package that needs only Linux and Windows wheels sees none of that gap. Read the row for your lowest Python version before you decide how many targets to promise users.
PyPy and GraalPy get manylinux wheels only, plus macOS and Windows for some versions
Alternative interpreters are supported, with a stated cap. Footnote 1 reads: PyPy and GraalPy are only supported for manylinux wheels. The table lists PyPy 3.9 v7.3, PyPy 3.10 v7.3, PyPy 3.11 v8.0 and PyPy 3.12 v8.0, and GraalPy 3.12 v25.0 and GraalPy 3.13 v25.3.
On Linux, that footnote means no musllinux wheels for those interpreters. PyPy rows show manylinux entries on x86_64, i686 and aarch64. GraalPy rows show them on x86_64 and aarch64 only, and GraalPy 3.13 has N/A for macOS Intel while keeping macOS Apple Silicon.
Windows 32bit and Windows Arm64 are N/A for every PyPy and GraalPy row. If your users run PyPy on a 32-bit Windows machine or on an ARM Linux board with 32-bit userland, no wheel from this tool reaches them, and they build from source. List those cases in your package's own documentation, because the tool will not warn you about them.
Three footnotes mark experimental or unusual targets
Three entries in the table carry caveats that change what you can publish.
Windows Arm64 is marked experimental in footnote 2. Treat a Windows Arm64 wheel as a bonus, not a release gate, until the project drops the label.
Manylinux armv7l is experimental too, with a reason attached: there is no RHEL based image for this architecture, so cibuildwheel uses an Ubuntu based image instead. The image difference could matter to anyone who relies on specific system libraries inside the build container, and the README does not describe what differs.
Pyodide carries the most unusual note. Footnote 3 says it is not supported on PyPI, uses the old pyodide tag instead of pyemscripten, and requires pyodide-eol with the enable option. So a Pyodide wheel on CPython 3.12 builds, but you cannot upload it to PyPI. Wheels for 3.13 and later are the ones with an unqualified entry. The enable option is documented on the stable options page of cibuildwheel.pypa.io.
Shared libraries are bundled by auditwheel, delocate and delvewheel
A compiled extension often links against a shared library that the user's machine may not have. cibuildwheel handles this by calling a different repair tool on each platform: auditwheel on Linux, delocate on macOS, and delvewheel on Windows. Each tool copies the needed libraries into the wheel and fixes the references.
The tools are separate projects with their own repositories, linked from the README. That has a practical meaning: a bug in how a library gets bundled on Windows is a delvewheel question, and a Linux tagging question goes to auditwheel. The cibuildwheel pyproject.toml lists its own dependencies, such as bashlex, bracex, build, certifi, dependency-groups, filelock, humanize, packaging and platformdirs, and the repair tools are not on that list.
So the repair step happens in the build environment that cibuildwheel creates. If a wheel comes out with the wrong platform tag, look at the repair tool for that operating system before filing the issue against cibuildwheel.
Tests run against the wheel-installed library, which is the whole point
The last bullet in the feature list carries the most weight: cibuildwheel runs your library's tests against the wheel-installed version of your library. The test does not import from your source tree. It installs the built wheel into a clean environment and runs there.
That catches the failures that only appear after packaging, such as a missing data file or a shared library the repair step did not copy. A package whose tests pass in a source checkout and fail from the wheel is the case this step exists for.
The cost is build time. Each target in the table is a separate build plus a separate test run, so a wide matrix multiplies your CI minutes. The README says nothing about trimming that, so use the options on cibuildwheel.pypa.io to narrow the matrix. The related option CIBW_BUILD is the variable name people search for when they want to select which builds run.
Version 4.3.5 needs Python 3.11 to run, and old targets stay on the 1.x docs
cibuildwheel itself requires a recent Python version to run: the README says the last three releases are supported, and pyproject.toml sets requires-python to >=3.11 with classifiers for 3.11 through 3.15. It can still target wheels for CPython 3.9 and 3.10, as the table shows. Running the tool and targeting a version are separate questions.
For Python versions the current table does not cover, the README points to the cibuildwheel 1 documentation at cibuildwheel.pypa.io/en/1.x. That is the escape hatch for old interpreters, and it means pinning an old major release of the tool.
The repository is not archived. The last push was on 2026-10-24, and the recent releases are v4.3.3 on 2026-10-21, v4.3.4 on 2026-10-22 and v4.3.5 on 2026-10-27. Three patch releases in six days is steady churn, so pin the version in your workflow file. The pyproject.toml also defines an optional uv extra, so uv can be installed alongside, and a validate_pyproject entry point named cibuildwheel for checking configuration against a schema.
Editorial conclusion
Use cibuildwheel if you publish a Python package with compiled code and need wheels for more than one operating system, with tests run against the installed wheel. Skip it if you only ship pure Python, or if your CI is not one of the four systems it names. Before adopting, check the support table for your exact interpreter and architecture, since PyPy and GraalPy cover manylinux wheels only and several targets are marked experimental.
Frequently asked questions
How do I use cibuildwheel?
Run it as a step on your CI server. It supports GitHub Actions, Azure Pipelines, CircleCI and GitLab CI, and the examples folder has a minimal file for each.
What are some cibuildwheel alternatives?
The README names no alternative to cibuildwheel. It does name auditwheel, delocate and delvewheel as the tools it uses to bundle shared libraries on Linux, macOS and Windows.
How do I create a Python wheel with cibuildwheel?
cibuildwheel builds the wheels on your CI server and then runs your library's tests against the wheel-installed version. It targets macOS, Windows, Linux, Android, iOS and Pyodide.
What is the purpose of a Python wheel, according to cibuildwheel?
The README calls Python wheels great, and says that building them across Mac, Linux and Windows on multiple versions of Python is the hard part. cibuildwheel exists to handle that second problem.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/pypa-cibuildwheel)Star history chart for your README
[](https://hysenlabs.com/projects/pypa-cibuildwheel)Was this useful?