From 882dc0ca065f1d4d71e7b6bc4c1a1a58a5d21af0 Mon Sep 17 00:00:00 2001 From: Alex Willmer Date: Tue, 7 Jan 2025 10:58:42 +0000 Subject: [PATCH] docs: Fix "No module named 'imghdr'" when building website Between Mitogen 0.3.19 & 0.3.20 Netlify changed their default Python to 3.13. This broke our deployment of https://mitogen.networkgenomics.com/. The previous default was Python 3.8, based on a recent successful build of https://spiffy-croissant-696d93.netlify.app. --- docs/changelog.rst | 2 ++ docs/netlify.toml | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 docs/netlify.toml diff --git a/docs/changelog.rst b/docs/changelog.rst index 6aa1b01ae..f35ea4930 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -21,6 +21,8 @@ To avail of fixes in an unreleased version, please download a ZIP file In progress (unreleased) ------------------------ +* :gh:issue:`1209` docs: Fix Netlify build of website + v0.3.20 (2025-01-07) -------------------- diff --git a/docs/netlify.toml b/docs/netlify.toml new file mode 100644 index 000000000..8b1f8d245 --- /dev/null +++ b/docs/netlify.toml @@ -0,0 +1,2 @@ +[build.environment] +PYTHON_VERSION = "3.8"