Repository navigation
CI: make dependency installs resilient to PyPI network flakes - #625
Merged
Merged
Conversation
The 2026-12-02 scheduled run failed on macOS when a download from files.pythonhosted.org hit Poetry's default 15s read timeout. - Raise Poetry's request timeout to 60s and enable 3 request retries. - Retry `poetry install` up to 3 times on the macOS and noble-poetry jobs. - Cache Poetry's download cache on macOS, keyed on poetry.lock. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Last night's scheduled run (46818449543) failed on macOS in
setup. A download fromfiles.pythonhosted.orghit Poetry's default 15s read timeout. Both Ubuntu jobs passed.POETRY_REQUESTS_TIMEOUT=60andPOETRY_REQUESTS_MAX_RETRIES=3. The defaults are 15s and 0 retries. On noble-poetry these are passed throughsudo --preserve-env.poetry installretries up to 3 times, 30s apart, on the macOS and noble-poetry jobs.~/Library/Caches/pypoetry, keyed onpoetry.lock, so most runs barely touch PyPI.The wheel job uses pip, which already retries 5 times by default, so it is unchanged.
🤖 Generated with Claude Code
This change is