Commit 91b3224
fix(pypi): build the environment on the fly (bazel-contrib#3720)
At some point when we started using pipstar, we silently started
building the python environment with system python interpreter. This is
fine because the environment in those code paths would be unused, but
this would break if python was not present on the machine.
This PR fixes this by creating the environment on the fly with a little
bit of code duplication.
Fixes bazel-contrib#3712
---------
Co-authored-by: Richard Levasseur <richardlev@gmail.com>
(cherry picked from commit 19a2c04)1 parent 577bb1f commit 91b3224
2 files changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | 309 | | |
313 | 310 | | |
314 | 311 | | |
| |||
361 | 358 | | |
362 | 359 | | |
363 | 360 | | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
364 | 369 | | |
365 | 370 | | |
366 | 371 | | |
| |||
0 commit comments