diff --git a/Dockerfile b/Dockerfile index 4902d2d59..464246981 100644 --- a/Dockerfile +++ b/Dockerfile @@ -91,7 +91,7 @@ RUN apk add --no-cache \ FROM env-builder as docs-builder # Install Sphinx -RUN /venv/bin/python3 -m pip install --no-cache-dir sphinx +RUN /venv/bin/python3 -m pip install --no-cache-dir sphinx==6.1.1 RUN /venv/bin/python3 -m pip install --no-cache-dir sphinxcontrib-youtube # Copy the docs from the local tree. Explicitly remove any existing builds that diff --git a/Make.bat b/Make.bat index 48cef8949..0ebcfc2a6 100644 --- a/Make.bat +++ b/Make.bat @@ -246,7 +246,7 @@ REM Main build sequence Ends ECHO } >> "%BUILDROOT%\web\config_distro.py" ECHO Building docs... - CALL pip install sphinx || EXIT /B 1 + CALL pip install sphinx==6.1.1 || EXIT /B 1 CALL pip install sphinxcontrib-youtube || EXIT /B 1 MKDIR "%BUILDROOT%\docs\en_US\html" CD "%WD%\docs\en_US" diff --git a/pkg/mac/build-functions.sh b/pkg/mac/build-functions.sh index 0eb2e2a4f..23cb5ba03 100644 --- a/pkg/mac/build-functions.sh +++ b/pkg/mac/build-functions.sh @@ -133,7 +133,7 @@ _build_docs() { source "${BUILD_ROOT}/venv/bin/activate" pip3 install --upgrade pip pip3 install -r "${SOURCE_DIR}/requirements.txt" - pip3 install sphinx + pip3 install sphinx==6.1.1 pip3 install sphinxcontrib-youtube cd "${SOURCE_DIR}" || exit diff --git a/pkg/redhat/setup.sh b/pkg/redhat/setup.sh index 89dcf662e..b72e9baee 100755 --- a/pkg/redhat/setup.sh +++ b/pkg/redhat/setup.sh @@ -39,15 +39,15 @@ yum groupinstall -y "Development Tools" if [ "${OS_VERSION}" == 7 ]; then yum install -y expect fakeroot httpd-devel postgresql14-devel python3-devel nodejs yarn rpm-build rpm-sign yum-utils krb5-devel - pip3 install sphinx + pip3 install sphinx==6.1.1 pip3 install sphinxcontrib-youtube elif [ "${OS_VERSION}" == 9 ]; then yum install -y expect postgresql14-devel python3-devel nodejs yarn rpm-build rpm-sign yum-utils krb5-devel - pip3 install sphinx + pip3 install sphinx==6.1.1 pip3 install sphinxcontrib-youtube else yum install -y expect fakeroot postgresql14-devel python3-devel nodejs yarn rpm-build rpm-sign yum-utils krb5-devel - pip3 install sphinx + pip3 install sphinx==6.1.1 pip3 install sphinxcontrib-youtube fi