Skip to content

Commit

Permalink
Downgrade minimum version of Sphinx for Python 3.8 compatibility
Browse files Browse the repository at this point in the history
In 5a8c33f the minimum version was set to 7.3 to allow use of the long-form `--fail-on-warning` option, but this is not compatible with Python 3.8. Revert this to the original `-W` option and set 7.0 as the minimum version.
  • Loading branch information
gasman committed Jul 19, 2024
1 parent 5a8c33f commit f82f6fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#

# You can set these variables from the command line.
SPHINXOPTS = --fail-on-warning -n -jauto
SPHINXOPTS = -W -n -jauto
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
documentation_extras = [
"pyenchant>=3.1.1,<4",
"sphinxcontrib-spelling>=7,<8",
"Sphinx>=7.3",
"Sphinx>=7.0",
"sphinx-autobuild>=0.6.0",
"sphinx-wagtail-theme==6.3.0",
"myst_parser==2.0.0",
Expand Down

0 comments on commit f82f6fd

Please sign in to comment.