From 433b42d4e2ce8f26aeb7f9c3e70980a04e1469f3 Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Tue, 19 Sep 2023 15:55:42 -0700 Subject: [PATCH] Specify Read the Docs build OS Read the Docs will soon require the specification of a build OS in our configuration file [1] and have already started temporary enforcement of this requirement as a warning. This commit follows the example in the RTD docs for conda environments [2], adding a `build` block using the latest supported Ubuntu and mambaforge. [1] https://blog.readthedocs.com/use-build-os-config/ [2] https://docs.readthedocs.io/en/stable/config-file/v2.html#conda Co-authored-by: John Huddleston --- readthedocs.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/readthedocs.yml b/readthedocs.yml index 518b3c667..34ed69622 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -1,4 +1,10 @@ --- version: 2 + +build: + os: "ubuntu-22.04" + tools: + python: "mambaforge-22.9" + conda: environment: docs/environment.yml