sphinx==9.0.0 required Python version >= 3.11. Back to version 7.4.7

This commit is contained in:
Akshay Joshi
2025-12-02 11:55:26 +05:30
parent 086fa9bf87
commit 71719db3ab
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ _build_docs() {
source "${BUILD_ROOT}/venv/bin/activate"
pip3 install --upgrade pip
pip3 install -r "${SOURCE_DIR}/requirements.txt"
pip3 install sphinx==9.0.0
pip3 install sphinx==7.4.7
pip3 install sphinxcontrib-youtube
cd "${SOURCE_DIR}" || exit
+3 -3
View File
@@ -39,15 +39,15 @@ yum groupinstall -y "Development Tools"
if [ "${OS_VERSION}" == "8" ]; then
yum install -y expect fakeroot postgresql15-devel python3.9-devel nodejs yarn rpm-build rpm-sign yum-utils krb5-devel
pip3.9 install sphinx==9.0.0
pip3.9 install sphinx==7.4.7
pip3.9 install sphinxcontrib-youtube
elif [ "${OS_VERSION}" == "9" ]; then
yum install -y expect libpq5-devel postgresql15-devel python3-devel nodejs yarn rpm-build rpm-sign yum-utils krb5-devel
pip3 install sphinx==9.0.0
pip3 install sphinx==7.4.7
pip3 install sphinxcontrib-youtube
else
yum install -y expect fakeroot postgresql15-devel python3-devel nodejs yarn rpm-build rpm-sign yum-utils krb5-devel
pip3 install sphinx==9.0.0
pip3 install sphinx==7.4.7
pip3 install sphinxcontrib-youtube
fi
+1 -1
View File
@@ -1,5 +1,5 @@
requests>=2.21.0
requests[security]>=2.21.0
safety>=1.9.0
Sphinx==9.0.0
Sphinx==7.4.7
sphinxcontrib-youtube==1.4.1
+2 -2
View File
@@ -18,8 +18,8 @@ pip install --upgrade pip
if [ ${TEST} -eq 1 ];
then
echo Installing requirements for running Python tests...
pip install --force-reinstall --no-cache-dir wheel sphinx==9.0.0 sphinxcontrib-youtube -r web/regression/requirements.txt || { echo 'ERROR: Failed to install Python requirements.' ; exit 1; }
pip install --force-reinstall --no-cache-dir wheel sphinx==7.4.7 sphinxcontrib-youtube -r web/regression/requirements.txt || { echo 'ERROR: Failed to install Python requirements.' ; exit 1; }
else
echo Installing requirements for executing and building only...
pip install --force-reinstall --no-cache-dir wheel sphinx==9.0.0 sphinxcontrib-youtube -r requirements.txt || { echo 'ERROR: Failed to install Python requirements.' ; exit 1; }
pip install --force-reinstall --no-cache-dir wheel sphinx==7.4.7 sphinxcontrib-youtube -r requirements.txt || { echo 'ERROR: Failed to install Python requirements.' ; exit 1; }
fi