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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix the issue with pruning the last package in pip tree #4652

Merged
merged 1 commit into from
Jun 29, 2024

Conversation

ChannyClaus
Copy link
Contributor

@ChannyClaus ChannyClaus commented Jun 29, 2024

Summary

resolves #4651
(pruning needs to happen at the parent level so that the number of children being used to figure out the output is correct)

Test Plan

added a test that would've caught this bug 馃尩

Copy link
Member

@zanieb zanieb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@zanieb zanieb added the bug Something isn't working label Jun 29, 2024
@zanieb zanieb merged commit 7cc4565 into astral-sh:main Jun 29, 2024
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pip tree --prune output looks incorrect when the pruned package is the last in the group
2 participants