Commit 32a966d
Fix lockfile requirement preservation and orphaned deps test
Preserve the original dependency requirement from root deps when
building ActivationRequests, so lockfiles correctly record constraints
like "a (>= 1)" instead of bare "a".
Update the orphaned dependencies test: PubGrub correctly backtracks
from b-2 (missing c-2) to b-1 (has c-1), finding a valid solution
that Molinillo's simpler backtracking missed.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 0c0c215 commit 32a966d
2 files changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
174 | 175 | | |
175 | 176 | | |
176 | 177 | | |
177 | | - | |
| 178 | + | |
| 179 | + | |
178 | 180 | | |
179 | 181 | | |
180 | 182 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
338 | 334 | | |
339 | 335 | | |
340 | 336 | | |
| |||
0 commit comments