Repository navigation
Commit cecfabd
committed
Fix pylock_no_binary to check settings even with --no-config
The --no-config flag only affects 'uv pip compile', not 'uv pip sync'.
When a lock header contains --no-config, compile skips project settings
but sync still reads and applies them. After a wire rewrite leaves only
the patched wheel, sync fails with the same --no-binary error this
change is meant to prevent.
Remove the early return that skipped settings checks under --no-config,
so we always verify that sync will accept the wheel.1 parent a33ca5e commit cecfabd
3 files changed
Lines changed: 8 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26365 | 26365 | | |
26366 | 26366 | | |
26367 | 26367 | | |
| 26368 | + | |
| 26369 | + | |
26368 | 26370 | | |
26369 | 26371 | | |
26370 | 26372 | | |
| |||
26393 | 26395 | | |
26394 | 26396 | | |
26395 | 26397 | | |
26396 | | - | |
26397 | | - | |
26398 | | - | |
26399 | | - | |
| 26398 | + | |
| 26399 | + | |
26400 | 26400 | | |
26401 | 26401 | | |
26402 | 26402 | | |
| |||
26419 | 26419 | | |
26420 | 26420 | | |
26421 | 26421 | | |
26422 | | - | |
26423 | 26422 | | |
26424 | 26423 | | |
26425 | 26424 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
737 | 737 | | |
738 | 738 | | |
739 | 739 | | |
740 | | - | |
741 | | - | |
742 | | - | |
743 | 740 | | |
744 | 741 | | |
745 | 742 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1789 | 1789 | | |
1790 | 1790 | | |
1791 | 1791 | | |
| 1792 | + | |
| 1793 | + | |
1792 | 1794 | | |
1793 | 1795 | | |
1794 | 1796 | | |
| |||
1797 | 1799 | | |
1798 | 1800 | | |
1799 | 1801 | | |
1800 | | - | |
1801 | | - | |
1802 | | - | |
1803 | | - | |
| 1802 | + | |
| 1803 | + | |
1804 | 1804 | | |
1805 | 1805 | | |
1806 | 1806 | | |
| |||
1813 | 1813 | | |
1814 | 1814 | | |
1815 | 1815 | | |
1816 | | - | |
1817 | 1816 | | |
1818 | 1817 | | |
1819 | 1818 | | |
| |||
0 commit comments