From c30b79cb6e1de99ec52e030c1266118325a7bdd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Kvalsvik?= Date: Thu, 17 Aug 2023 22:44:18 +0900 Subject: [PATCH] Set build.os on readthedocs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Readthedocs now requires an explicit image [1] to build. > We are announcing the deprecation of build.image config key in favor > of build.os. Read the Docs will start requiring a build.os config key > for all projects in order to build documentation successfully. We will > start failing builds for projects not using “build.os” in their config > file on October 16, 2023. [1] https://blog.readthedocs.com/use-build-os-config/ --- .readthedocs.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 05be549..95726db 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -5,6 +5,11 @@ # Required version: 2 +build: + os: "ubuntu-22.04" + tools: + python: "3.9" + # Build documentation in the docs/ directory with Sphinx sphinx: configuration: docs/source/conf.py