diff --git a/index.html b/index.html index da4105e..83b725c 100644 --- a/index.html +++ b/index.html @@ -3,16 +3,16 @@ -wheelgap: find Python dependencies with no prebuilt wheel - +wheelgap: stop Python dependencies building from source when you install them + - + @@ -69,8 +69,8 @@
-

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.

@@ -79,7 +79,8 @@

Find the Python dependencies with no prebuilt wheel for your platform, befor

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.

Projects

@@ -102,6 +103,7 @@

Gap wheel inde

Reading

diff --git a/llms.txt b/llms.txt index bd97cac..942ed4b 100644 --- a/llms.txt +++ b/llms.txt @@ -11,6 +11,7 @@ The README and docs on `main` can describe changes that aren't on PyPI yet; `CHA - [Usage](https://github.com/wheelgap/wheelgap#usage): examples, `[tool.wheelgap]` config, result statuses, `--explain`, how `--json` results are keyed, exit codes, `--ignore` - [Targets](https://github.com/wheelgap/wheelgap#targets): platform names and aliases, the wheel tags each accepts, `--glibc`, `--musl`, `--distro` - [Fixing a gap](https://github.com/wheelgap/wheelgap/blob/main/docs/cli.md#--fix-fix): `--fix` gives each gap's way out, the upgrade to an official release that has the wheel first (with `uv lock --upgrade-package NAME` or the new pin), else an unofficial wheel from wheelgap's gap wheel index; `--json` adds each package's `fix` and a top-level `fix_summary`, and the gap wheels need the user's go-ahead before the index goes into project files; for other lockfiles the output only says to add the index where the lock is made and relock (a pdm.lock, or a poetry.lock package that records no index, gets no gap wheel), and the index isn't for a project that installs from a private index; `--json` lists the filled cells in `gap_wheels`, and `--fix --print-gap-wheel-snippet` prints just the lines for one uv.lock, requirements file or package names +- [Refusing source builds](https://github.com/wheelgap/wheelgap/blob/main/docs/cli.md#--lockdown-lockdown): `wheelgap lockdown uv.lock -p 3.13 -t linux-x86_64,linux-aarch64` (or a requirements file) lists the packages that build from source at install on those targets and prints the settings that refuse every other build: uv's `no-build = true` and a `no-binary-package` list, or pip's `--only-binary :all:` and `--no-binary` lines; with the settings in, `--fail-on missing` in CI fails a change that adds a new build - [Checking a Docker image](https://github.com/wheelgap/wheelgap/blob/main/docs/cli.md#--dockerfile-dockerfile): `--dockerfile` takes the Python and platform from a Dockerfile's final stage; [`--dockerfile-inputs`](https://github.com/wheelgap/wheelgap/blob/main/docs/cli.md#--dockerfile-inputs-dockerfile-inputs) also checks the requirements files it installs with `RUN pip install -r FILE` - [Diagnosing a failed install](https://github.com/wheelgap/wheelgap/blob/main/docs/cli.md#--from-log-from-log): `--from-log install.log` finds the packages a pip, uv, Poetry or PDM install failed to build and the release with a wheel; a [pip installation report](https://github.com/wheelgap/wheelgap/blob/main/docs/inputs.md#pip-installation-report) (`pip install --dry-run --report`) is read as an input too - [Comparing two lockfiles](https://github.com/wheelgap/wheelgap#comparing-two-lockfiles): `wheelgap diff OLD NEW`, git refs such as `origin/main:uv.lock`, `--json`