Commit 75fcd93
committed
Add flit-core installation for pip 26+ compatibility
pip 26+ uses flit-core as its build backend (via PEP 517) instead of
setuptools. When installing pip with BP_PIP_VERSION=latest, we need to
provide flit-core in the --find-links directory so pip can build itself.
Changes:
- InstallPip() now downloads flit-core to /tmp/pip alongside pip
- Gracefully handles missing flit-core (cflinuxfs3 with pip 25.2)
- Only logs warning if flit-core unavailable (doesn't fail)
This fixes the error:
ERROR: Could not find a version that satisfies the requirement
flit-core<4,>=3.11 (from versions: none)
Note: flit-core is only in manifest for cflinuxfs4/5, which matches
the stacks that use pip 26.1.2 after the previous commit.
Related:
- pip 26.1.2 pyproject.toml requires: flit-core<4,>=3.11
- Manifest has flit-core 3.12.0 for cflinuxfs4/cflinuxfs51 parent 88b3f88 commit 75fcd93
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
344 | 351 | | |
345 | 352 | | |
346 | 353 | | |
| |||
0 commit comments