8000 Fix 429 rate limits by pre-downloading virtualenv with auth by schulzchristian · Pull Request #169 · KaHIP/KaHIP · GitHub
[go: up one dir, main page]

Skip to content

Fix 429 rate limits by pre-downloading virtualenv with auth - #169

Merged
schulzchristian merged 1 commit into
masterfrom
fix/cibw-authenticated-download
Mar 9, 2026
Merged

schulzchristian merged 1 commit into
masterfrom
fix/cibw-authenticated-download

Conversation

@schulzchristian
Copy link
Copy Markdown
Member

Summary

  • cibuildwheel downloads virtualenv.pyz from GitHub without authentication, hitting the 60 req/hr unauthenticated rate limit (HTTP 429)
  • Pre-downloads virtualenv.pyz using GITHUB_TOKEN (5000 req/hr authenticated limit) into cibuildwheel's cache directory before the build step
  • cibuildwheel finds the cached file and skips the download entirely

cibuildwheel downloads virtualenv.pyz from GitHub without auth,
hitting the 60 req/hr rate limit (429 errors). Pre-downloading
with GITHUB_TOKEN uses the 5000 req/hr authenticated limit instead.
@schulzchristian
schulzchristian merged commit 284e021 into master Mar 9, 2026
@schulzchristian
schulzchristian deleted the fix/cibw-authenticated-download branch March 13, 2026 18:13
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.

1 participant

0