Skip to content

wheelgap

Find the Python dependencies that have no prebuilt wheel for your target platform, before your Docker build does.

Point it at your lockfile and the platforms you ship to (ARM servers, Alpine images, Windows on ARM, free-threaded Python 3.14t). It tells you which packages pip or uv will have to compile from source, and which can't be installed at all.

uvx wheelgap uv.lock -p 3.13 -t linux-aarch64,musl-aarch64
wheelgap 0.14.0 · uv.lock · 5 packages · Python 3.13

package                  version  linux-aarch64  musl-aarch64
fastlib                  2.0.0    ● source       ● source
nativeext (via fastlib)  0.3      ● source       ● source
puresdist                1.0      ● source       ● source

2 packages with wheels for every target hidden (--all to show)
skipped 2 non-index packages: demo (editable), gitdep (git)
linux-aarch64  3 from source
musl-aarch64   3 from source
3 of 5 packages have gaps: 3 will build from source.
Run with --explain to see which wheels were rejected and why.
Run with --fix for a way out: an upgrade where a newer release has the wheel, else wheelgap's gap wheel index.

(That's the test project in tests/fixtures/uvproj, which needs no network.)

wheelgap demo

Where to start

  • Getting started: install, the first run, and reading the table.
  • Inputs: which lockfiles and files wheelgap reads, and what it skips.
  • Targets: platform names, aliases, and the glibc, musl, macOS, iOS and Android floors.
  • Windows on ARM: check for missing wheels and understand source-build failures.
  • Free-threaded Python: a wheel isn't the whole answer — imports that turn the GIL back on.
  • Configuration: every [tool.wheelgap] key in pyproject.toml.
  • Output: the text table, --json, --markdown, --junit, --sarif and exit codes.
  • CI: the GitHub Action, pre-commit and GitLab CI.
  • Command line: every flag.
  • Python API, MCP server and AI coding agents.
  • FAQ, such as "why does it say source when pip installs a wheel?".

Versions

These pages describe wheelgap on the main branch. Anything marked after 0.14.0 isn't in a release on PyPI yet; the changelog lists it under "Unreleased". Check uvx wheelgap@latest --help for the flags the released version has.

The coverage tracker shows wheel coverage for the top 5,000 PyPI packages, by platform and Python version, updated nightly.