Repository navigation
fix(ci): retry the pinned stack install in wiki-currency - #66
Merged
Merged
Conversation
PyPI's CDN served this runner a stale index at release 2026.11.22.1, a minute after PyAutoHands' wait_for_released_stack saw the release on its own runner. Retry the exact pin with --no-cache-dir (10 attempts, 30 s apart), never falling back to an older or unpinned install. Refs PyAutoLabs/autolens_assistant#193 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.
Summary
At release 2026.11.22.1 the wiki-currency check failed
pip install "<lib>==2026.11.22.1"("No matching distribution found") one minute after PyAutoHands'wait_for_released_stackhad found every package on PyPI from its own runner. PyPI's CDN is not consistent across runners, so the pinned install now retries itself:--no-cache-dir, up to 10 attempts 30 s apart, the exact pin only (never an older or unpinned fallback), and an::error::+ exit 1 after the last attempt. The unpinned / source-install path is unchanged.Part of PyAutoLabs/autolens_assistant#193 (one PR in each of autolens, autogalaxy, autofit and autocti_assistant).
Scripts Changed
.github/workflows/wiki-currency.yml— "Install the released stack" step: retry loop aroundpip install "autofit==$VER"(no scripts or notebooks changed)Test Plan
bash -ewith a fakepip: version present → 1 call, exit 0; version appears on attempt 3 → exit 0; never appears → 10 calls,::error::, exit 1Heart dev gate (scoped to the four assistants): GREEN.
Generated by the PyAutoLabs agent workflow.
🤖 Generated with Claude Code