Skip to content

Commit

Permalink
Fix docutils to 0.18 as need by theme
Browse files Browse the repository at this point in the history
  • Loading branch information
khancyr authored and Hwurzburg committed Nov 2, 2023
1 parent a1ad8e4 commit c2bdfca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Sphinxsetup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ rem remove any existing packages that may cause conflicts
pip uninstall -y sphinx lxml sphinx-rtd-theme sphinxcontrib-youtube beautifulsoup4

rem Install sphinx
pip install --upgrade sphinx==7.1.2 docutils
pip install --upgrade sphinx==7.1.2 "docutils<0.19"

rem lxml for parameter parsing:
pip install --upgrade lxml
Expand Down
2 changes: 1 addition & 1 deletion Sphinxsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ rm -f get-pip.py

# Install python packages using known working versions
# Install sphinx with a specific docutils version
python3 -m pip install --user --upgrade sphinx==${SPHINX_VERSION} docutils
python3 -m pip install --user --upgrade sphinx==${SPHINX_VERSION} "docutils<0.19"

# lxml for parameter parsing:
python3 -m pip install --user --upgrade lxml
Expand Down
2 changes: 1 addition & 1 deletion update.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ def check_imports():
'''check key imports work'''
import pkg_resources
# package names to check the versions of. Note that these can be different than the string used to import the package
requires = ["sphinx_rtd_theme>=1.3.0", "sphinxcontrib.youtube>=1.2.0", "sphinx>=6.0.0", "docutils>=0.16"]
requires = ["sphinx_rtd_theme>=1.3.0", "sphinxcontrib.youtube>=1.2.0", "sphinx>=7.1.2", "docutils<0.19"]
for r in requires:
debug("Checking for %s" % r)
try:
Expand Down

0 comments on commit c2bdfca

Please sign in to comment.