From 1d67cb33e91faa6a5144dda19b73e5473c41e802 Mon Sep 17 00:00:00 2001 From: Shwetha Acharya Date: Mon, 13 Nov 2023 15:49:13 +0530 Subject: [PATCH] Migrate to .readthedocs.yaml configuration file v2 (#787) The build is failing with the following error: Invalid configuration option "build.os": os not found" Migrating the .readthedocs.yaml to configuration file v2 fixes the issue. Refer: https://blog.readthedocs.com/migrate-configuration-v2/ Signed-off-by: Shwetha K Acharya --- .readthedocs.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 3cf1ec60..4e815532 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,7 +1,8 @@ -build: - image: latest +version: 2 -python: - version: 3.6 +build: + os: ubuntu-22.04 + tools: + python: "3.11" requirements_file: requirements.txt