Repository navigation
Respect uv lock environment restrictions in the repo checker - #247
fbirds5230 wants to merge 4 commits into
Conversation
|
Thanks again @fbirds5230! We reviewed this against wheelgap's own uv.lock reader and real uv 0.13.1: the rule is right for every marker the page's platforms decide, and paperless-ngx's false Windows gaps go away. Two things before it can merge. "Allow edits by maintainers" is off on this branch too, so we can't push them ourselves; could you tick that box, or apply them?
The PR is still a draft; mark it ready when it's done. Screenshots aren't needed: we'll check paperless-ngx on the live page after merging. |
|
Thanks for the quick follow-up, @fbirds5230! Both requested changes are in: a (Review assisted by Claude.) |
|
@fbirds5230, a heads-up: the checker now runs wheelgap 0.14.0 (#250), which reads So part of this PR is now built in. What it still adds is the better answer: mark an uncovered target as "not locked" (and an undecided one as
The two points from my earlier comment still apply. Thanks for sticking with it! |
|
Thanks for picking this back up so quickly, @fbirds5230! The update looks good overall: main is merged in, the driver now uses wheelgap 0.14.0's (Review assisted by Claude.) |
Refs #239.
Use wheelgap 0.14.0's
lock_environment_targets(source, targets)to separate covered, excluded, and undecidable targets before checking the lock. An uncovered target shows “not locked”, an undecidable target shows?with a reason, and the covered targets are still checked. Without filtering first, 0.14.0 rejects the whole request when any selected target is outside the lock's environments.The marker parsing now belongs entirely to wheelgap, including its
supported-markerslist-of-strings validation. The driver no longer reads or evaluates those markers itself. Unknown and excluded targets stay out of package checks, gap counts, and suggestions. A definiterequires-pythonexclusion still takes precedence over an undecidable environment condition.Main is merged in, including #250's version pins and gap-wheel fallback behavior. The two conflicts in the page and its tests preserve both that behavior and the environment labels added here.
The driver tests cover invalid field types, OR/AND marker combinations, unknown conditions, and empty selections. This update adds a mixed-target check that records exactly which targets reach the library, a
requires-pythonprecedence case, and guards against invoking the package check when every selected target is excluded or undecidable.Validation for this update:
git diff --check.Screenshots were waived in review.