Skip to content

Conversation

@brettlangdon
Copy link
Member

@brettlangdon brettlangdon commented Jan 9, 2026

This PR adds support for installing the project under test from pre-built wheels instead of editable mode. This is useful for testing with production-like builds, validating wheel packaging, and improving test reproducibility in CI/CD environments.

The feature is available via the --wheel-path global option or RIOT_WHEEL_PATH environment variable, which accepts either a local directory path or a remote URL. When specified, riot uses a two-step installation process (pip download --no-index + pip install) to ensure only wheels from the specified source are used, with no fallback to PyPI. Package names are automatically resolved from pyproject.toml or the RIOT_PACKAGE_NAME environment variable.

Example usage:

pip wheel --no-deps -w dist/ .
riot --wheel-path dist/ run test

emmettbutler
emmettbutler previously approved these changes Jan 9, 2026
gnufede
gnufede previously approved these changes Jan 9, 2026
@brettlangdon brettlangdon dismissed stale reviews from gnufede and emmettbutler via 4ada734 January 12, 2026 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants