From 0ad68737833f6e254ca782427782573859dea1ae Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Tue, 19 Sep 2023 15:29:34 -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 314680cd..d78b2e76 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: environment.yml