Commit 90db5cc
committed
setup_uv: honour a project's required-version pin
uv refuses to run when the project pins a required-version it does not
match, in either direction, so RomM's ==0.12.13 fails against both the
0.10.3 a container was built with and the 0.12.17 an update installs.
An optional project directory makes setup_uv read that pin. Without the
argument nothing changes, so all 115 existing call sites keep working.
Only the exact == form is read; a range falls through to latest.1 parent cae1921 commit 90db5cc
2 files changed
Lines changed: 24 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2473 | 2473 | | |
2474 | 2474 | | |
2475 | 2475 | | |
| 2476 | + | |
| 2477 | + | |
| 2478 | + | |
| 2479 | + | |
| 2480 | + | |
| 2481 | + | |
| 2482 | + | |
| 2483 | + | |
| 2484 | + | |
| 2485 | + | |
| 2486 | + | |
| 2487 | + | |
| 2488 | + | |
| 2489 | + | |
| 2490 | + | |
| 2491 | + | |
| 2492 | + | |
| 2493 | + | |
2476 | 2494 | | |
| 2495 | + | |
2477 | 2496 | | |
2478 | 2497 | | |
2479 | 2498 | | |
| |||
2510 | 2529 | | |
2511 | 2530 | | |
2512 | 2531 | | |
2513 | | - | |
| 2532 | + | |
2514 | 2533 | | |
| 2534 | + | |
| 2535 | + | |
| 2536 | + | |
2515 | 2537 | | |
2516 | 2538 | | |
2517 | 2539 | | |
| |||
0 commit comments