uv
ac06e131 - Add `NO_BINARY` and `NO_BINARY_PACKAGE` environment variables (#11399)

Commit
305 days ago
Add `NO_BINARY` and `NO_BINARY_PACKAGE` environment variables (#11399) <!-- Thank you for contributing to uv! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary This adds `NO_BINARY` and `NO_BINARY_PACKAGE` environment variables to the uv CLI, allowing the user to specify packages to build from source using environment variables. Its not a complete fix for #4291 as it does not handle the `pip` subcommand. ## Test Plan This was tested by running `uv sync` with various `UV_NO_BINARY` and `UV_NO_BINARY_PACKAGE` environment variables set and checking that the correct set of packages were compiled rather than taken from pre-built wheels. --------- Co-authored-by: Zanie Blue <contact@zanie.dev>
Author
Parents
Loading