Skip to content

Fix incorrect capture of pip output in verbose mode#332

Open
asnare wants to merge 4 commits intomainfrom
fix/pip-output-capture
Open

Fix incorrect capture of pip output in verbose mode#332
asnare wants to merge 4 commits intomainfrom
fix/pip-output-capture

Conversation

@asnare
Copy link
Copy Markdown
Contributor

@asnare asnare commented Mar 30, 2026

This PR fixes a minor bug encountered while trying to diagnose failures with the builtin wheel-building mechanism. When the verbose-flag was enabled, the pip command was not invoked properly (and would fail immediately) because subprocess.STDOUT is only valid for the stderr argument: for stdout it must instead be None for the output to be passed through.

Verbose-mode was broken due to the incorrect value for stdout being passed.
@asnare asnare self-assigned this Mar 30, 2026
@asnare asnare requested a review from a team as a code owner March 30, 2026 16:25
@asnare asnare added the bug Something isn't working label Mar 30, 2026
@asnare asnare added this to UCX Mar 30, 2026
@asnare asnare moved this to Ready for Review in UCX Mar 30, 2026
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

Status: Ready for Review

Development

Successfully merging this pull request may close these issues.

1 participant