Skip to content

[Release][CI] Binary verification fails when downloading assets from Github release #46075

@assignUser

Description

@assignUser

Describe the bug, including details regarding any error messages, version, and platform.

We recently moved the python binaries to Github release from the artifactory and that causes the following error.

Details
+ python3 /arrow/dev/release/download_rc_binaries.py 20.0.0 0 --package_type python '--regex=.*manylinux.*' --dest=/tmp/arrow-20.0.0.ZtrNO/binaries
Traceback (most recent call last):
  File "/arrow/dev/release/download_rc_binaries.py", line 317, in <module>
    download_rc_binaries(
    ~~~~~~~~~~~~~~~~~~~~^
        args.version,
        ^^^^^^^^^^^^^
    ...<6 lines>...
        tag=args.tag,
        ^^^^^^^^^^^^^
    )
    ^
  File "/arrow/dev/release/download_rc_binaries.py", line 287, in download_rc_binaries
    files = downloader.get_file_list(prefix, filter=filter)
  File "/arrow/dev/release/download_rc_binaries.py", line 61, in get_file_list
    traverse(directory, files, directories)
    ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/arrow/dev/release/download_rc_binaries.py", line 40, in traverse
    response = urllib.request.urlopen(url).read().decode()
               ~~~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/tmp/arrow-20.0.0.ZtrNO/miniforge/envs/conda-source/lib/python3.13/urllib/request.py", line 189, in urlopen
    return opener.open(url, data, timeout)
           ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File "/tmp/arrow-20.0.0.ZtrNO/miniforge/envs/conda-source/lib/python3.13/urllib/request.py", line 495, in open
    response = meth(req, response)
  File "/tmp/arrow-20.0.0.ZtrNO/miniforge/envs/conda-source/lib/python3.13/urllib/request.py", line 604, in http_response
    response = self.parent.error(
        'http', request, response, code, msg, hdrs)
  File "/tmp/arrow-20.0.0.ZtrNO/miniforge/envs/conda-source/lib/python3.13/urllib/request.py", line 533, in error
    return self._call_chain(*args)
           ~~~~~~~~~~~~~~~~^^^^^^^
  File "/tmp/arrow-20.0.0.ZtrNO/miniforge/envs/conda-source/lib/python3.13/urllib/request.py", line 466, in _call_chain
    result = func(*args)
  File "/tmp/arrow-20.0.0.ZtrNO/miniforge/envs/conda-source/lib/python3.13/urllib/request.py", line 613, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

Component(s)

Continuous Integration, Release

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions