You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(resolver): rename and document resolve_from_provider semantics
Rename resolve_from_provider() to find_all_matching_from_provider() to
better reflect its changed semantics after the resolver refactoring.
Key behavioral changes:
- Collects ALL matching candidates instead of single best one
- Bypasses resolvelib's full dependency resolver
- Passes empty incompatibilities={} dict (no version exclusion)
- Only safe because BaseProvider.get_dependencies() returns []
Added comprehensive documentation explaining:
- Why empty incompatibilities is safe (no transitive deps)
- That this bypasses resolvelib's backtracking logic
- Warning that extending get_dependencies() requires revisiting this
This addresses the concern that the empty incompatibilities dict could
silently produce incorrect results if dependency resolution logic changes.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Rohan Devasthale <rdevasth@redhat.com>
0 commit comments