Commit 0c5ae1f
authored
Differentiate between implicit vs explicit architecture requests (#13723)
In #13721 (comment) I
presumed that all the installation problems in
#13722 were solved by
#13709 but they were not because we
don't differentiate between implicit and explicit architecture requests
so a request for `aarch64` is considered satisfied by an existing
`x86-64` installation even if the user explicitly requested that
architecture.
Now, we track if it was explicit or implicit, requiring an exact match
in the former case, and a `supports` in the latter.
We considered doing this for other items in the request, like the
operating system but we don't have a `supports()` concept there. It
might make sense for libc in the future.1 parent 067b03c commit 0c5ae1f
File tree
4 files changed
+48
-30
lines changed- crates
- uv-python/src
- uv
- src/commands/python
- tests/it
4 files changed
+48
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2723 | 2723 | | |
2724 | 2724 | | |
2725 | 2725 | | |
2726 | | - | |
| 2726 | + | |
2727 | 2727 | | |
2728 | 2728 | | |
2729 | 2729 | | |
| |||
2813 | 2813 | | |
2814 | 2814 | | |
2815 | 2815 | | |
2816 | | - | |
| 2816 | + | |
2817 | 2817 | | |
2818 | 2818 | | |
2819 | | - | |
| 2819 | + | |
2820 | 2820 | | |
2821 | 2821 | | |
2822 | 2822 | | |
| |||
2848 | 2848 | | |
2849 | 2849 | | |
2850 | 2850 | | |
2851 | | - | |
| 2851 | + | |
2852 | 2852 | | |
2853 | 2853 | | |
2854 | | - | |
| 2854 | + | |
2855 | 2855 | | |
2856 | 2856 | | |
2857 | 2857 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
128 | 157 | | |
129 | 158 | | |
130 | 159 | | |
131 | 160 | | |
132 | | - | |
| 161 | + | |
133 | 162 | | |
134 | 163 | | |
135 | 164 | | |
| |||
158 | 187 | | |
159 | 188 | | |
160 | 189 | | |
161 | | - | |
| 190 | + | |
162 | 191 | | |
163 | 192 | | |
164 | 193 | | |
| |||
219 | 248 | | |
220 | 249 | | |
221 | 250 | | |
222 | | - | |
| 251 | + | |
223 | 252 | | |
224 | 253 | | |
225 | 254 | | |
| |||
238 | 267 | | |
239 | 268 | | |
240 | 269 | | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | 270 | | |
254 | 271 | | |
255 | 272 | | |
| |||
258 | 275 | | |
259 | 276 | | |
260 | 277 | | |
261 | | - | |
| 278 | + | |
262 | 279 | | |
263 | 280 | | |
264 | 281 | | |
| |||
288 | 305 | | |
289 | 306 | | |
290 | 307 | | |
291 | | - | |
| 308 | + | |
292 | 309 | | |
293 | 310 | | |
294 | 311 | | |
| |||
366 | 383 | | |
367 | 384 | | |
368 | 385 | | |
369 | | - | |
| 386 | + | |
370 | 387 | | |
371 | 388 | | |
372 | 389 | | |
| |||
408 | 425 | | |
409 | 426 | | |
410 | 427 | | |
411 | | - | |
| 428 | + | |
412 | 429 | | |
413 | 430 | | |
414 | 431 | | |
| |||
478 | 495 | | |
479 | 496 | | |
480 | 497 | | |
481 | | - | |
| 498 | + | |
482 | 499 | | |
483 | 500 | | |
484 | 501 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
| 100 | + | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
105 | 104 | | |
106 | 105 | | |
107 | 106 | | |
108 | | - | |
| 107 | + | |
109 | 108 | | |
110 | 109 | | |
111 | 110 | | |
| |||
0 commit comments