Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/wiki-currency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,19 @@ jobs:
VER="${{ inputs.stack_version }}"
if [ -n "$VER" ]; then
echo "Installing autofit==$VER (pulls the pinned autonerves)."
pip install "autofit==$VER"
# PyPI's CDN can serve this runner a stale index minutes after the upload
# (2026.11.22.1: PyAutoHands' wait_for_released_stack saw the release, this
# runner did not). Retry the exact pin, bypassing pip's cache; never fall
# back to an older or unpinned install (autolens_assistant#193).
for attempt in $(seq 1 10); do
pip install --no-cache-dir "autofit==$VER" && break
if [ "$attempt" -eq 10 ]; then
echo "::error::autofit==$VER not installable from PyPI after 10 attempts"
exit 1
fi
echo "autofit==$VER not installable yet (attempt $attempt/10); retrying in 30 s"
sleep 30
done
else
echo "Installing the latest released autofit."
pip install autofit
Expand Down
Loading