uv/crates/puffin-cli/tests
Charlie Marsh d96c18b3a8
Respect requires for non-build-backend PEP 517 builds (#530)
## Summary

This PR modifies `puffin-build` to be closer in behavior to
[pip](a15dd75d98/src/pip/_internal/pyproject.py (L53))
and
[build](de5b44b0c2/src/build/__init__.py (L94)).

Specifically, if a project contains a `[build-system]` field, but no
`build-backend`, we now perform a PEP 517 build (instead of using
`setup.py` directly) _and_ respect the `requires` of the
`[build-system]`. Without this change, we were failing to build source
distributions for packages like `ujson`.

Closes #527.

---------

Co-authored-by: konstin <konstin@mailbox.org>
2023-12-04 10:13:42 +00:00
..
common Reduce pip_sync test duplication (#502) 2023-11-27 10:21:40 +00:00
snapshots Respect requires for non-build-backend PEP 517 builds (#530) 2023-12-04 10:13:42 +00:00
add.rs Use temp_dir casing everywhere (#440) 2023-11-16 21:04:10 +00:00
pip_compile.rs Reduce pip_sync test duplication (#502) 2023-11-27 10:21:40 +00:00
pip_sync.rs Respect requires for non-build-backend PEP 517 builds (#530) 2023-12-04 10:13:42 +00:00
pip_uninstall.rs Use temp_dir casing everywhere (#440) 2023-11-16 21:04:10 +00:00
remove.rs Use temp_dir casing everywhere (#440) 2023-11-16 21:04:10 +00:00
venv.rs Use full Python version when determining compatibility (#528) 2023-12-04 01:02:24 +00:00