From 68a62c00b9604bf49c05f5228a4480fb237356a8 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 | 3 +-- 2 files changed, 4 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..849c9e0d 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -10,5 +10,4 @@ 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 +Sphinx==7.2.6; python_version > "3.8"