From fb995d12b272eec6c1514e431763796f01d1b631 Mon Sep 17 00:00:00 2001 From: Will Kahn-Greene Date: Thu, 5 Oct 2023 17:23:05 -0400 Subject: [PATCH] Fix Sphinx requirement and update it --- .readthedocs.yaml | 4 +++- requirements-dev.txt | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index f35f7d60..a6cf6972 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -10,7 +10,9 @@ version: 2 build: os: ubuntu-20.04 tools: - python: "3.8" + # Build with 3.9 because this is the minimum version Sphinx 7 can work + # with. + python: "3.9" # Build documentation in the docs/ directory with Sphinx sphinx: diff --git a/requirements-dev.txt b/requirements-dev.txt index 12078b07..bee0ade5 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -10,5 +10,5 @@ tox-gh-actions==3.1.3 twine==4.0.2 wheel==0.41.2 -# NOTE(willkg): Held back until we drop support for Python 3.7 -Sphinx==5.3.0 +# NOTE(willkg): Held back until we drop support for Python 3.8 +Sphinx==7.2.6; python_version > "3.8"