uv
a37b0880 - Implement pip compatible `--no-binary` and `--only-binary` options (#1268)

Commit
1 year ago
Implement pip compatible `--no-binary` and `--only-binary` options (#1268) Updates our `--no-binary` option and adds a `--only-binary` option for compatibility with `pip` which uses `:all:`, `:none:` and `<name>` for specifying packages. This required adding support for `--only-binary <name>` into our resolver, previously it was only a boolean toggle. Retains`--no-build` which is equivalent to `--only-binary :all:`. This is common enough for safety that I would prefer it is available without pip's awkward `:all:` syntax. --------- Co-authored-by: konsti <konstin@mailbox.org>
Author
Parents
Loading