Skip to content

Commit

Permalink
Pin Sphinx <4.4.0 in CI
Browse files Browse the repository at this point in the history
A recent change in Sphinx introduced a new warning about missed extlink
opportunities:
sphinx-doc/sphinx#10112

These warnings are causing spurious CI failures. Some of these
suggestions are good but many of them are not, and there is not
currently a way to disable the warning (globally or locally). So the
only workable solution currently seems to be to pin an old version of
Sphinx in CI for now. Hopefully there will be an option to disable this
in 4.4.1, at which point we can unpin.
  • Loading branch information
sampsyo committed Jan 20, 2022
1 parent c3a0bb1 commit cf69cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Expand Up @@ -86,7 +86,7 @@ jobs:
- name: Install base dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox sphinx
python -m pip install tox 'sphinx<4.4.0'
- name: Add problem matcher
run: echo "::add-matcher::.github/sphinx-problem-matcher.json"
Expand Down

0 comments on commit cf69cad

Please sign in to comment.