Skip to content

docs: Netlify failing to build website #1209

@moreati

Description

@moreati

Netlify now using Python 3.13 , which removed imghdr from the standard library. The Python version is configurable https://www.netlify.com/blog/announcing-configurable-python-versions-in-netlify-builds/

10:07:13 AM: Build command from Netlify app                                
10:07:13 AM: ────────────────────────────────────────────────────────────────
10:07:13 AM: ​
10:07:13 AM: $ make default
10:07:13 AM: sphinx-build . build/html/
10:07:14 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
10:07:14 AM: Running Sphinx v2.1.2
10:07:14 AM: Extension error:
10:07:14 AM: Could not import extension sphinx.builders.epub3 (exception: No module named 'imghdr')
10:07:14 AM: make: *** [Makefile:5: default] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsIssues with the docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions