Commit 852e954
authored
fix(pip): do not use experimental_index_url for publish_deps (#3311)
Currently, experimental_index_url will trigger network access (by the
bzlmod extension
logic) as it figures out the wheels. This is problematic because this
network
access always occurs, even if a user isn't using the publish tool.
Additionally,
failed network accesses can get Bazel into stuck state requiring `bazel
shutdown`
to fix it.
To fix, don't use experimental_index_url for the publish tool deps.
Once bazelbuild/bazel#24777 is merged, we can roll it back,
but then we may need to check-in the `MODULE.bazel.lock` file into git.
This should be no-op for most users because the publisher is usually run
from with `host == exec`, but there is a small chance that people will
hit #2241.
Work towards #29371 parent 997d6f7 commit 852e954
2 files changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | 175 | | |
182 | 176 | | |
183 | 177 | | |
| |||
0 commit comments