Commit 1b3fff2
Pin build<1.4.3 to work around PYTHONPATH stripping regression
build 1.4.3 (pypa/build#1024) strips PYTHONPATH from isolated build
subprocesses but not from the pip install step that populates them.
When install_hostpython_prerequisites puts packages (including
setuptools) on PYTHONPATH via --target, pip sees setuptools as
"already satisfied" and skips installing it into the isolated venv.
The build backend subprocess then fails with:
BackendUnavailable: Cannot import 'setuptools.build_meta'
See pypa/build#1037.
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>1 parent 632047c commit 1b3fff2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1266 | 1266 | | |
1267 | 1267 | | |
1268 | 1268 | | |
1269 | | - | |
| 1269 | + | |
1270 | 1270 | | |
1271 | 1271 | | |
1272 | 1272 | | |
| |||
0 commit comments