.whl) into the lager container on a
Lagerbox. Use it to push a locally built package onto a box without publishing it
to an index first — handy for iterating on a box-side library or driver.
Before installing, any previously installed version of the same package is
uninstalled, so the version number does not need to be bumped on every rebuild.
The package name is parsed from the wheel filename per the wheel specification.
Syntax
Arguments
| Argument | Description |
|---|---|
WHEEL_PATH | Path to the local .whl file to install |
Options
| Option | Description |
|---|---|
--box BOX | Lagerbox name or IP address (uses the default box if omitted) |
Usage
How It Works
- Validates the file locally: it must exist, end in
.whl, be readable, and be within the box upload size limit. - Acquires the box lock for the duration of the install. Because the install
runs
pip installinside the box container, the lock prevents a concurrentlager pythontest from racing on Python/import state. See Box Locking. - Uninstalls any previously installed version of the package (best effort).
- Installs the uploaded wheel with
pip install --force-reinstall.
Notes
- The wheel is uploaded to the box and installed inside the lager container; it is not installed on your local machine.
- The file must have a
.whlextension and conform to the wheel filename format (name-version-...whl); the package name is derived from the leading segment. - For installing or updating the box code itself (not a Python package), use
lager installandlager update.

