fix(docs): unbreak Netlify build on the Noble image - #1433
Merged
jalseth merged 1 commit intoSep 26, 2026
Merged
Conversation
Netlify migrated the docs site to the Ubuntu 24.04 (Noble) build image, which installs toolchains with mise. mise verifies GitHub artifact attestations on the python-build-standalone tarballs it downloads, and CPython 3.8.20 predates attestation coverage, so the pinned runtime cannot be installed: mise ERROR Failed to install core:python@3.8: No GitHub artifact attestations found for python@3.8.20 Every Netlify deploy since 2026-09-25 07:27 UTC has failed, including the production builds for the merges of open-policy-agent#1430, open-policy-agent#1427 and open-policy-agent#1428. The last successful publish of conftest.dev was 2026-09-19, so the site is missing all three. Bump runtime.txt to 3.12 and bring the docs toolchain forward to match, since mkdocs-material 4.6.3 (2020) does not install under Python 3.12. No mkdocs.yml changes are needed; the codehilite extension still works under Markdown 3.x. Signed-off-by: boranx <boran.seref@gmail.com>
Member
Author
|
#1431 should be mergeable after this goes first |
jalseth
approved these changes
Sep 26, 2026
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.
What
Bumps
runtime.txtfrom Python 3.8 to 3.12 and the docs toolchain frommkdocs1.3.0 /mkdocs-material4.6.3 to 1.6.1 / 9.7.7.Why
Netlify migrated the docs site to the Ubuntu 24.04 (Noble) build image, which installs toolchains with
mise.miseverifies GitHub artifact attestations on thepython-build-standalonetarballs it downloads, and CPython 3.8.20 predates attestation coverage:The build fails in ~4s, before the build script runs. Every deploy since 2026-09-25 07:27 UTC has failed, including the production builds for #1430, #1427 and #1428 — conftest.dev last published on 2026-09-19 and is missing all three.
miseoffersMISE_PYTHON_GITHUB_ATTESTATIONS=falseas an escape hatch, deliberately not used here: it disables supply-chain verification on the docs toolchain right after #1424 and #1428 added provenance attestations and SBOMs to our own releases, and keeps us on a Python that went EOL in October 2024.Both halves are needed — bumping only
runtime.txtgets pastmiseand then fails, sincemkdocs-material4.6.3 (2020) does not install under Python 3.12.