Pin Sphinx version to 6.1.1 as latest version throws some error.

This commit is contained in:
Akshay Joshi 2023-01-09 11:28:33 +05:30
parent 9d307cf9ba
commit 9fd949335b
4 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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