uv/crates/puffin-distribution/src
Charlie Marsh e26dc8e33d
Add support for `prepare_metadata_for_build_wheel` (#842)
## Summary

This PR adds support for `prepare_metadata_for_build_wheel`, which
allows us to determine source distribution metadata without building the
source distribution. This represents an optimization for the resolver,
as we can skip the expensive build phase for build backends that support
it.

For reference, `prepare_metadata_for_build_wheel` seems to be supported
by:

- `hatchling` (as of
[1.0.9](https://hatch.pypa.io/latest/history/hatchling/#hatchling-v1.9.0)).
- `flit`
- `setuptools`

In fact, it seems to work for every backend _except_ those using legacy
`setup.py`.

Closes #599.
2024-01-10 00:07:37 +00:00
..
index Remove unused `Result` (#849) 2024-01-09 16:35:10 +00:00
source Add support for `prepare_metadata_for_build_wheel` (#842) 2024-01-10 00:07:37 +00:00
distribution_database.rs Add support for `prepare_metadata_for_build_wheel` (#842) 2024-01-10 00:07:37 +00:00
download.rs Remove `SourceDistDownload` struct (#646) 2023-12-14 02:34:50 +00:00
error.rs Source dist metadata refactor (#468) 2023-11-24 17:47:58 +00:00
lib.rs Break `source_dist.rs` into a module (#839) 2024-01-08 19:14:45 +00: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 Move archive extraction into its own crate (#647) 2023-12-14 04:49:09 +00:00