Skip to content

Conversation

@shashbha14
Copy link
Contributor

@shashbha14 shashbha14 commented Jan 19, 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 19, 2026
Copy link
Member

@raulcd raulcd left a comment

Choose a reason for hiding this comment

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

Thanks

@raulcd raulcd merged commit 7b99930 into apache:main Jan 20, 2026
10 checks passed
@raulcd raulcd removed the awaiting review Awaiting review label Jan 20, 2026
@github-actions github-actions bot added the awaiting merge Awaiting merge label Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge Awaiting merge

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