Commit d2ee8c5
committed
build: avoid pip self-upgrade corrupting the build venv
Running 'pip install -U pip' during the build occasionally leaves
mixed files from two pip versions if the process is interrupted,
causing 'ImportError: cannot import name BuildDependencyInstallError'
on subsequent runs. Fix by:
- Adding '--clear' to venv creation so contaminated state is wiped
- Removing the unnecessary pip self-upgrade step entirely1 parent 5c192d7 commit d2ee8c5
1 file changed
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
868 | 868 | | |
869 | 869 | | |
870 | 870 | | |
871 | | - | |
| 871 | + | |
872 | 872 | | |
873 | | - | |
| 873 | + | |
874 | 874 | | |
875 | 875 | | |
876 | | - | |
877 | | - | |
878 | | - | |
879 | | - | |
880 | 876 | | |
881 | 877 | | |
882 | 878 | | |
| |||
0 commit comments