From a3e30469fb6c84aabe9b484acac2cb4e8b01e83d Mon Sep 17 00:00:00 2001 From: chrysle Date: Sat, 6 May 2023 07:55:46 +0200 Subject: [PATCH 1/2] Bump python version for readthedocs build --- .readthedocs.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 981657e0..9dcc699f 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -13,10 +13,13 @@ formats: - pdf - epub +build: + os: ubuntu-22.04 + tools: + python: "3.11" + python: - # Mininum supported Python version - version: "3.7" - # Install twine first, because RTD uses `--upgrade-strategy eager`, + # Install twine first, because RTD uses `--upgrade-strategy eager`, # which installs the latest version of docutils via readme_renderer. # However, Sphinx 4.2.0 requires docutils>=0.14,<0.18. install: From f6049155376e7726afc923fefe339c313475df4b Mon Sep 17 00:00:00 2001 From: chrysle Date: Sat, 6 May 2023 08:02:47 +0200 Subject: [PATCH 2/2] Added changelog entry --- .readthedocs.yaml | 2 +- changelog/991.misc.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog/991.misc.rst diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 9dcc699f..7dd23b74 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -19,7 +19,7 @@ build: python: "3.11" python: - # Install twine first, because RTD uses `--upgrade-strategy eager`, + # Install twine first, because RTD uses `--upgrade-strategy eager`, # which installs the latest version of docutils via readme_renderer. # However, Sphinx 4.2.0 requires docutils>=0.14,<0.18. install: diff --git a/changelog/991.misc.rst b/changelog/991.misc.rst new file mode 100644 index 00000000..42174125 --- /dev/null +++ b/changelog/991.misc.rst @@ -0,0 +1 @@ +Fix the ReadTheDocs build by removing minimum python version and specifiying build requirements.