Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve partial dependency tree detection #1356

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

prabhu
Copy link
Contributor

@prabhu prabhu commented Sep 5, 2024

Currently, a dependency tree with just 3 complete nodes was being considered as non-partial, even when the components count is much larger. With this PR, we look for at least one-third of the nodes to be complete.

This would help users of the feature flag safe-pip-install to handle more cases.

@prabhu prabhu merged commit 0c272a5 into master Sep 5, 2024
24 of 25 checks passed
@prabhu prabhu deleted the feature/improve-partial-tree-logic branch September 5, 2024 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant