d96c18b3a8
## Summary This PR modifies `puffin-build` to be closer in behavior to [pip](https://github.com/pypa/pip/blob/a15dd75d98884c94a77d349b800c7c755d8c34e4/src/pip/_internal/pyproject.py#L53) and [build](https://github.com/pypa/build/blob/de5b44b0c28c598524832dff685a98d5a5148c44/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>
24 lines
632 B
Plaintext
24 lines
632 B
Plaintext
---
|
|
source: crates/puffin-cli/tests/pip_sync.rs
|
|
info:
|
|
program: puffin
|
|
args:
|
|
- pip-sync
|
|
- requirements.txt
|
|
- "--cache-dir"
|
|
- /var/folders/nt/6gf2v7_s3k13zq_t3944rwz40000gn/T/.tmpPcrNSG
|
|
env:
|
|
VIRTUAL_ENV: /var/folders/nt/6gf2v7_s3k13zq_t3944rwz40000gn/T/.tmpwgSxYj/.venv
|
|
---
|
|
success: true
|
|
exit_code: 0
|
|
----- stdout -----
|
|
|
|
----- stderr -----
|
|
Resolved 1 package in [TIME]
|
|
Downloaded 1 package in [TIME]
|
|
Unzipped 1 package in [TIME]
|
|
Installed 1 package in [TIME]
|
|
+ dtlssocket @ https://files.pythonhosted.org/packages/58/42/0a0442118096eb9fbc9dc70b45aee2957f7546b80545e2a05bd839380519/DTLSSocket-0.1.16.tar.gz
|
|
|