uv/crates/puffin-distribution/src
Zanie Blue a37b08808e
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>
2024-02-11 19:31:41 -06:00
..
index Add support for emitting index URLs and --find-links (#1142) 2024-01-27 01:37:55 +00:00
source Implement pip compatible `--no-binary` and `--only-binary` options (#1268) 2024-02-11 19:31:41 -06:00
distribution_database.rs Implement pip compatible `--no-binary` and `--only-binary` options (#1268) 2024-02-11 19:31:41 -06:00
download.rs Use junctions instead of symlinks on Windows (#1087) 2024-01-25 10:06:38 +01:00
error.rs add initial rkyv support (#1135) 2024-01-28 12:14:59 -05:00
lib.rs Use a consolidated error for distribution failures (#1104) 2024-01-25 14:49:11 -05:00
locks.rs Lock entire virtualenv during modifying commands (#695) 2023-12-18 16:44:45 -05:00
reporter.rs Introduce separate traits for ahead-of-time and installed metadata (#692) 2023-12-18 22:37:45 +00:00
unzip.rs Stream unpacking of source distribution downloads (#1157) 2024-01-28 20:09:24 -05:00