Skip to content

Conversation

@shashbha14
Copy link
Contributor

@shashbha14 shashbha14 commented Jan 20, 2026

Rationale for this change
The download_rc_binaries.py script fails with a TypeError when a download fails and it tries to check if the error is related to OpenSSL.

What changes are included in this PR?

subprocess.Popen().communicate() returns bytes objects, but the code was comparing stderr (bytes) with a string "OpenSSL". Changed to use bytes literal b"OpenSSL" for proper comparison.

Are these changes tested?

The fix is straightforward - using bytes literal instead of string literal for comparison with bytes object.

Are there any user-facing changes?

No.

Closes #48853

@github-actions github-actions bot added the awaiting review Awaiting review label Jan 20, 2026
@kou
Copy link
Member

kou commented Jan 21, 2026

Duplicate of #48896.

@kou kou closed this Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review Awaiting review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Release] download_rc_binaries.py fails validating sterr on download failure due to bytes to string comparison

2 participants