Skip to content

Skip orphaned criteria in unsatisfied_names#204

Open
notatallshaw wants to merge 1 commit intosarugaku:mainfrom
notatallshaw:fix-skip-orphaned-criteria
Open

Skip orphaned criteria in unsatisfied_names#204
notatallshaw wants to merge 1 commit intosarugaku:mainfrom
notatallshaw:fix-skip-orphaned-criteria

Conversation

@notatallshaw
Copy link
Copy Markdown
Collaborator

When _remove_information_from_criteria empties a criterion's information list, skip it in unsatisfied_names instead of pinning it and its transitive deps for nothing.

Found via pip on kedro[test]==0.18.13 (12 orphaned packages pinned then discarded by _build_result).

@notatallshaw
Copy link
Copy Markdown
Collaborator Author

@frostming I found this while investigating performance optimizations, it usually requires fairly complex backtracking scenarios to trigger in my testing (barely triggers in many of the backtracking scenarios I have for pip).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant