From f670f49091b1c46c61f4c936e5a18cc05f895a11 Mon Sep 17 00:00:00 2001 From: Pierre Kancir Date: Tue, 16 Jul 2024 11:58:56 +0200 Subject: [PATCH] build: update deps version --- Sphinxsetup.sh | 4 ++-- update.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sphinxsetup.sh b/Sphinxsetup.sh index da5223714b..a87fec8e24 100755 --- a/Sphinxsetup.sh +++ b/Sphinxsetup.sh @@ -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.4" fi curl "$GET_PIP_URL" -o get-pip.py @@ -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" +python3 -m pip install --user --upgrade sphinx==${SPHINX_VERSION} "docutils<0.21" "requests>=2.31.0" # lxml for parameter parsing: python3 -m pip install --user --upgrade lxml diff --git a/update.py b/update.py index 3cf3260f92..1560a94e24 100755 --- a/update.py +++ b/update.py @@ -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: