uv/crates/puffin-cli/tests
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
..
common Update scenario tests to include `requires-python` coverage (#769) 2024-01-04 14:15:13 -06:00
add.rs Inline all snapshot files (#641) 2023-12-14 00:35:38 +00:00
pip_compile.rs Add support for `prepare_metadata_for_build_wheel` (#842) 2024-01-10 00:07:37 +00:00
pip_install.rs Use pdm for black editable as PEP 621 test case (#848) 2024-01-09 16:33:05 +00:00
pip_install_scenarios.rs Improve error messages when there are no versions of a singleton range (#855) 2024-01-09 15:09:52 -06:00
pip_sync.rs Use pdm for black editable as PEP 621 test case (#848) 2024-01-09 16:33:05 +00:00
pip_uninstall.rs pep440: rewrite the parser and make version comparisons cheaper (#789) 2024-01-05 11:57:32 -05:00
remove.rs Inline all snapshot files (#641) 2023-12-14 00:35:38 +00:00
venv.rs Inline all snapshot files (#641) 2023-12-14 00:35:38 +00:00