From 1bcec4e5f0cd18c82733ceec2c16b6458308d47c Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Thu, 20 Jan 2022 14:39:04 -0500 Subject: Move Sphinx pin to tox.ini Turns out the Sphinx installed "outside" of the tox virtualenv is not the one that actually builds the docs... --- .github/workflows/ci.yaml | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d4ec20061..137f74b72 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -86,7 +86,7 @@ jobs: - name: Install base dependencies run: | python -m pip install --upgrade pip - python -m pip install tox 'sphinx<4.4.0' + python -m pip install tox sphinx - name: Add problem matcher run: echo "::add-matcher::.github/sphinx-problem-matcher.json" diff --git a/tox.ini b/tox.ini index 5a5b78b31..5f9de07f6 100644 --- a/tox.ini +++ b/tox.ini @@ -24,7 +24,7 @@ commands = [testenv:docs] basepython = python3.9 -deps = sphinx +deps = sphinx<4.4.0 commands = sphinx-build -W -q -b html docs {envtmpdir}/html {posargs} # checks all links in the docs -- cgit v1.2.3