Skip to content

Configure Netlify docs builds for Python 3.11 - #442

Merged
k9ert merged 1 commit into
cryptoadvance:masterfrom
al-munazzim:fix/netlify-python-311
Oct 7, 2026
Merged

k9ert merged 1 commit into
cryptoadvance:masterfrom
al-munazzim:fix/netlify-python-311

Conversation

@al-munazzim

Copy link
Copy Markdown
Contributor

Summary

  • add netlify.toml to pin Netlify builds to Python 3.11
  • avoids Netlify/mise trying to install the legacy Python 3.8.20 runtime that now fails GitHub artifact attestation checks

Verification

  • Parsed netlify.toml with Python tomllib and confirmed build.environment.PYTHON_VERSION == "3.11"
  • Installed docs requirements in a Python 3.11 venv
  • Ran python -m mkdocs build successfully

Note: mkdocs build --strict still fails on existing documentation link warnings unrelated to this change.

@netlify

netlify Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for specter-diy-docs ready!

Name Link
🔨 Latest commit bfccc62
🔍 Latest deploy log https://app.netlify.com/projects/specter-diy-docs/deploys/6ac5f7e5b00fc60009129722
😎 Deploy Preview https://deploy-preview-442--specter-diy-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The minimal configuration matches the stated purpose and has no identified blocking issues.

Review effort: Balanced
Findings: None

What changed in this PR

Configures Netlify documentation builds to use Python 3.11, avoiding the reported Python 3.8.20 installation failure.

Changes:

  • Sets PYTHON_VERSION = "3.11" in Netlify’s build environment.
File Description
netlify.toml Sets Python 3.11 for Netlify builds.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@k9ert
k9ert merged commit bec1ab1 into cryptoadvance:master Oct 7, 2026
8 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.

4 participants