From 1615371ec248068ef261143a7544c65d9b249d2f Mon Sep 17 00:00:00 2001 From: ljgray Date: Mon, 8 May 2023 14:35:22 -0700 Subject: [PATCH] fix(ci): update readthedocs python to 3.11 Requires a slight change to .readthedocs.yml syntax and bumping the version of Sphinx being used. Cannot used Sphinx >= 7.0 due to a template issue. --- .readthedocs.yml | 7 ++++++- doc/requirements.txt | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 63aa561d..75e1dc3f 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -5,13 +5,18 @@ # Required version: 2 +# Build info +build: + os: ubuntu-22.04 + tools: + python: "3.11" + # Build documentation in the docs/ directory with Sphinx sphinx: configuration: doc/conf.py fail_on_warning: true python: - version: 3.8 install: - requirements: requirements.txt - requirements: doc/requirements.txt diff --git a/doc/requirements.txt b/doc/requirements.txt index e3de9330..29ae83b0 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,4 +1,4 @@ -Sphinx >= 4.0, < 5.0 +Sphinx >= 5.0, <7.0 sphinx_rtd_theme # funcsigs required by mock, which apparently does not have its dependencies # setup correctly.