Skip to content

Fix cibuildwheel HTTP 429 rate limit error and ReadTheDocs build failure#167

Open
Copilot wants to merge 4 commits intomainfrom
copilot/fix-cibuildwheel-error
Open

Fix cibuildwheel HTTP 429 rate limit error and ReadTheDocs build failure#167
Copilot wants to merge 4 commits intomainfrom
copilot/fix-cibuildwheel-error

Conversation

Copy link

Copilot AI commented Mar 15, 2026

Fixes two CI build failures:

1. cibuildwheel HTTP 429 rate limit error

cibuildwheel v2.x downloads virtualenv via GitHub blob URLs, which are now hitting GitHub's unauthenticated rate limits (HTTP 429). This was fixed upstream in v3.1.4 (pypa/cibuildwheel#2555) by switching to release URLs.

  • Upgrade pypa/cibuildwheel from v2.23.2v3.4.0
  • Replace macos-12 with macos-13 in the build matrix — macos-12 runners are no longer available

2. ReadTheDocs build failure

The RTD build was failing because cmake and doxygen were not available in the build environment.

  • Upgrade RTD OS from ubuntu-20.04 to ubuntu-22.04 (Ubuntu 20.04 reached EOL April 2025)
  • Add cmake to apt_packages in .readthedocs.yaml — required by scikit-build-core to compile the C++ extensions
  • Add doxygen to apt_packages in .readthedocs.yaml — required by conf.py to generate C++ API documentation XML for the Breathe Sphinx extension
  • Replace deprecated pkg_resources with importlib.metadata in docs/conf.py

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

pre-commit-ci bot and others added 2 commits March 15, 2026 18:52
…deprecated macos-12 runner

Co-authored-by: dfm <350282+dfm@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix error with cibuildwheel virtualenv download Upgrade cibuildwheel to v3.4.0 to fix HTTP 429 rate limit errors Mar 15, 2026
Copilot AI requested a review from dfm March 15, 2026 18:55
Copilot finished work on behalf of dfm March 15, 2026 18:55
@dfm
Copy link
Member

dfm commented Mar 19, 2026

@copilot please fix the readthedocs failure.

…ubuntu-22.04, replace deprecated pkg_resources

Co-authored-by: dfm <350282+dfm@users.noreply.github.com>
Copy link
Author

Copilot AI commented Mar 19, 2026

@copilot please fix the readthedocs failure.

Fixed in 6a0d18a. The RTD build was failing because:

  1. cmake was not available in the build environment — scikit-build-core needs it to compile the C++ extensions
  2. doxygen was missing — conf.py runs subprocess.call("doxygen Doxyfile.in") but it wasn't in apt_packages

Changes:

  • Upgraded RTD OS from ubuntu-20.04ubuntu-22.04 (20.04 reached EOL April 2025)
  • Added cmake and doxygen to apt_packages in .readthedocs.yaml
  • Replaced deprecated pkg_resources with importlib.metadata in docs/conf.py

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • app.readthedocs.org
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)
  • blog.readthedocs.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)
  • docs.readthedocs.io
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)
  • gitlab.com
    • Triggering command: /usr/lib/git-core/git-remote-https /usr/lib/git-core/git-remote-https origin REDACTED (dns block)
  • readthedocs.org
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)
    • Triggering command: /usr/bin/curl curl -s REDACTED (dns block)
    • Triggering command: /usr/bin/curl curl -sv REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title Upgrade cibuildwheel to v3.4.0 to fix HTTP 429 rate limit errors Fix cibuildwheel HTTP 429 rate limit error and ReadTheDocs build failure Mar 19, 2026
Copilot finished work on behalf of dfm March 19, 2026 00:56
@dfm dfm marked this pull request as ready for review March 19, 2026 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants