Fall back to MIT mirror for krb5 fetches in pyversions#298
Merged
Conversation
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.
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.
Two pyversions code paths still talked straight to kerberos.org with no fallback even after we wired up the MIT mirror in linux.py:
Both now try kerberos.org first and fall through to web.mit.edu via small shared helpers.