Commit 10e1f7c
authored
fix(pypi): do not fail on indexes without root index (bazel-contrib#3799)
With this PR we are changing the strategy of assuming that
all of the packages that we have here will be available
through the index and we stop calling the root index if
only a single index is specified. This will improve the
performance for public-only hubs (like the twine deps)
and should in generally reflect better the pre-2.0 behaviour.
Fixes bazel-contrib#3769
Closes bazel-contrib#37701 parent 733f240 commit 10e1f7c
4 files changed
Lines changed: 14 additions & 58 deletions
File tree
- python/private/pypi
- tests
- integration/bzlmod_lockfile
- pypi/simpleapi_download
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
99 | 104 | | |
100 | 105 | | |
101 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
135 | 141 | | |
136 | | - | |
| 142 | + | |
137 | 143 | | |
138 | 144 | | |
139 | 145 | | |
| |||
145 | 151 | | |
146 | 152 | | |
147 | 153 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | 154 | | |
154 | 155 | | |
155 | 156 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 0 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | 172 | | |
179 | 173 | | |
180 | 174 | | |
| |||
208 | 202 | | |
209 | 203 | | |
210 | 204 | | |
211 | | - | |
212 | 205 | | |
213 | 206 | | |
214 | 207 | | |
| |||
316 | 309 | | |
317 | 310 | | |
318 | 311 | | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | 312 | | |
326 | 313 | | |
327 | 314 | | |
| |||
355 | 342 | | |
356 | 343 | | |
357 | 344 | | |
358 | | - | |
359 | 345 | | |
360 | 346 | | |
361 | 347 | | |
| |||
0 commit comments