Find the Python dependencies with no prebuilt wheel for your platform, before your build does
-Switching to an ARM image, Alpine, Windows on ARM, Python 3.15 or free-threaded 3.14t, and seeing Failed building wheel? wheelgap reads your lockfile and lists every package pip or uv would have to compile from source, or can't install at all, on the platforms you ship to. With --fix it gives the upgrade that has the wheel and the command to run.
Stop your Python dependencies from running their own build code when you install them
+When a package has no prebuilt wheel for your platform, pip and uv build it from source, and that runs the package's own build code on your machine. wheelgap reads your lockfile and lists every package that would build, or can't install at all, on the platforms you ship to (ARM, Alpine, Windows on ARM, Python 3.15, free-threaded 3.14t). wheelgap lockdown then prints the uv or pip settings that refuse every build except the ones you can't avoid yet, and --fix gives the upgrade that has the wheel.
Or in a terminal, on your lockfile:
-uvx wheelgap -p 3.13 -t linux-aarch64,musl-aarch64 --fix
+ uvx wheelgap@latest lockdown uv.lock -p 3.13 -t linux-x86_64,linux-aarch64
+ On pydantic-ai's lockfile (433 packages), on Python 3.13 across Linux x86_64 and ARM64, macOS ARM and Windows x64, only 2 need to build; the settings refuse every other build.
Free and open source (MIT). No account, nothing to install permanently.