raulcd opened a new issue, #48853:
URL: https://github.com/apache/arrow/issues/48853

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   When the `dev/release/download_rc_binaries.py` script fails downloading a 
file it checks whether it has to retry or not.
   
https://github.com/apache/arrow/actions/runs/20957811272/job/60324652206?pr=48843
   The check is currently failing due to bytes to string comparison failure:
   ```python
    Traceback (most recent call last):
     File "/usr/lib/python3.12/concurrent/futures/process.py", line 263, in 
_process_worker
       r = call_item.fn(*call_item.args, **call_item.kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/home/runner/work/arrow/arrow/dev/release/download_rc_binaries.py", 
line 237, in _download_file
       self._download_url(url, dest_path, extra_args=extra_args)
     File "/home/runner/work/arrow/arrow/dev/release/download_rc_binaries.py", 
line 139, in _download_url
       if "OpenSSL" not in stderr:
          ^^^^^^^^^^^^^^^^^^^^^^^
   TypeError: a bytes-like object is required, not 'str'
   """
   
   The above exception was the direct cause of the following exception:
   
   Traceback (most recent call last):
     File "/home/runner/work/arrow/arrow/dev/release/download_rc_binaries.py", 
line 355, in <module>
       download_rc_binaries(
     File "/home/runner/work/arrow/arrow/dev/release/download_rc_binaries.py", 
line 303, in download_rc_binaries
       downloader.download_files(
     File "/home/runner/work/arrow/arrow/dev/release/download_rc_binaries.py", 
line 89, in download_files
       parallel_map_terminate_early(
     File "/home/runner/work/arrow/arrow/dev/release/download_rc_binaries.py", 
line 251, in parallel_map_terminate_early
       raise e
   TypeError: a bytes-like object is required, not 'str'
   ```
   
   ### Component(s)
   
   Release


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to