Skip to content

[CI]: cibuildwheel fails with HTTP 429 when downloading virtualenv.pyz on macOS arm6 #907

@SYaoJun

Description

@SYaoJun

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

ref1: https://github.com/apache/incubator-graphar/actions/runs/22903381620/job/66455540109
ref2: 3b66a94

The host Python 3.9 (EOL) used by cibuildwheel lacks built-in retry logic in urllib. When GitHub rate-limits the download of virtualenv.pyz, the request fails immediately with HTTP Error 429: Too Many Requests instead of retrying.

      return self._call_chain(*args)
    File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 494, in _call_chain
      result = func(*args)
    File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 641, in http_error_default
      raise HTTPError(req.full_url, code, msg, hdrs, fp)
  urllib.error.HTTPError: HTTP Error 429: Too Many Requests
  Error: Process completed with exit code 1.

Component(s)

Continuous Integration

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions