Skip to content

Conversation

indygreg
Copy link
Collaborator

just download-stats* are failing with an HTTP 504 Gateway Timeout on GitHub's servers.

We can work around this by reducing the requested number of releases per page.

As part of this, we adopt a 3rd party package for querying the GitHub API because I was too lazy to implement pagination manually. Also, since pagination is enabled, the counts reported by these commands are now accurate and don't implicitly truncate at the most recent 10 releases.

@indygreg indygreg force-pushed the indygreg/fix-download-stats branch 2 times, most recently from d1140d1 to 6c8534d Compare July 21, 2025 03:47
`just download-stats*` are failing with an HTTP 504 Gateway Timeout
on GitHub's servers.

We can work around this by reducing the requested number of releases
per page.

As part of this, we adopt a 3rd party package for querying the
GitHub API because I was too lazy to implement pagination manually.
Also, since pagination is enabled, the counts reported by these
commands are now accurate and don't implicitly truncate at the most
recent 10 releases.
@indygreg indygreg force-pushed the indygreg/fix-download-stats branch from 6c8534d to e8ef3a8 Compare July 22, 2025 01:03
@zanieb zanieb added the ci:skip label Jul 22, 2025
@zanieb zanieb merged commit ce0f50a into main Aug 16, 2025
12 checks passed
@zanieb zanieb deleted the indygreg/fix-download-stats branch August 16, 2025 00:21
zanieb added a commit that referenced this pull request Aug 18, 2025
Addressing the environment bootstrap regression from #706 — we can't
build `cryptography` and `pynacl` from source and we don't need download
statistics in CI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants