Commit 0ae2aab
vendored apps w sdist: install common build deps in staging
sdist packages have 2 kinds of dependencies: build-time deps and
runtime-deps. Before PEP-517, there was no standard to specify a package's
build-time deps, but with PEP-517, a package defines its build-time deps in
its pyproject.toml.
In an online install, pip reads it and downloads build-time deps and
builds the sdist. In a vendored (offline) install, this is not possible
because "pip download" is not smart enough to download build-time deps
during vendoring (github.com/pypa/pip/issues/8302).
Before pip 23.1, when build-time deps were missing, pip fell back to
using the legacy 'setup.py install' method. pip 23.1 removed this
fallback and started enforcing PEP 517 (https://discuss.python.org/t/announcement-pip-23-1-release/25844).
Therefore, for vendored apps with sdists, we install the 2 most common
build-time dependencies - wheel and setuptools. These are packaged by
the dependency pipeline within the "pip" dependency.1 parent eeb2440 commit 0ae2aab
File tree
22 files changed
+128
-0
lines changed- fixtures/vendored/pre-pep517-sdist
- vendor
- src/python
- integration
- supply
22 files changed
+128
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments