Skip to content

Fall back to MIT mirror for krb5 fetches in pyversions#300

Merged
dwoz merged 1 commit into
mainfrom
krb5-mirror-deps
Jun 10, 2026
Merged

Fall back to MIT mirror for krb5 fetches in pyversions#300
dwoz merged 1 commit into
mainfrom
krb5-mirror-deps

Conversation

@dwoz

@dwoz dwoz commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Two pyversions code paths still talked straight to kerberos.org with no fallback even after we wired up the MIT mirror in linux.py:

  • detect_krb5_versions() fetches the directory index to discover the latest 1.x release. A kerberos.org outage failed the whole auto-update workflow here (today's run logged four exponential retries before raising).
  • update_dependency_versions() then downloads the tarball to compute the SHA-256 the build will check against. That one is wrapped in a try/except so it degrades into "skip krb5 this run", but adding the same fallback gives us a successful update instead of a noop.

Both now try kerberos.org first and fall through to web.mit.edu via small shared helpers.

Two pyversions code paths still talked straight to kerberos.org with
no fallback even after we wired up the MIT mirror in linux.py:

- detect_krb5_versions() fetches the directory index to discover the
  latest 1.x release.  A kerberos.org outage failed the whole
  auto-update workflow here (today's run logged four exponential
  retries before raising).
- update_dependency_versions() then downloads the tarball to compute
  the SHA-256 the build will check against.  That one is wrapped in a
  try/except so it degrades into "skip krb5 this run", but adding the
  same fallback gives us a successful update instead of a noop.

Both now try kerberos.org first and fall through to web.mit.edu via
small shared helpers.
@dwoz
dwoz merged commit 38d1bb0 into main Jun 10, 2026
12 of 39 checks passed
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