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

Always redirect pkg-config stderr to DEVNULL #6921

Closed
wants to merge 1 commit into from

Conversation

radarhere
Copy link
Member

In _pkg_config, Pillow silently catches any Python exceptions that occur.

If we're doing that, then it would seem consistent to also silence any errors that pkg-config might output.

Just a note about the history of the stderr handling in this function - #6261 started this by silencing the libs call for one loop to prevent a specific error.

@hugovk
Copy link
Member

hugovk commented Mar 29, 2023

Might the other errors be useful for people to debug failed installs?

@radarhere
Copy link
Member Author

I created this after #6896 (review), where a user took the opposite view.

I've created PR #7046 to go the other way instead, undoing the error handling change from that PR.

@hugovk
Copy link
Member

hugovk commented Mar 31, 2023

Closed in favour of #7046.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants