Skip to content

Commit

Permalink
build: update deps version
Browse files Browse the repository at this point in the history
  • Loading branch information
khancyr committed Aug 30, 2024
1 parent 9bd95fd commit 8e27667
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Sphinxsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ PYTHON_VERSION=$(python3 --version | cut -d' ' -f2)
if [[ "${PYTHON_VERSION:0:3}" = "3.8" ]]; then
SPHINX_VERSION="7.1.2"
else
SPHINX_VERSION="7.2.6"
SPHINX_VERSION="7.4.7"
fi

curl "$GET_PIP_URL" -o get-pip.py
Expand All @@ -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<0.19" "requests>=2.31.0" sphinx-tabs==3.*
python3 -m pip install --user --upgrade sphinx==${SPHINX_VERSION} "docutils<0.21" "requests>=2.31.0" sphinx-tabs==3.*

# 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 @@ -768,7 +768,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>=7.1.2", "docutils<0.19"]
requires = ["sphinx_rtd_theme>=1.3.0", "sphinxcontrib.youtube>=1.2.0", "sphinx>=7.1.2", "docutils<0.21"]
for r in requires:
debug("Checking for %s" % r)
try:
Expand Down

0 comments on commit 8e27667

Please sign in to comment.