You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ma...@apache.org on 2026/01/19 14:43:29 UTC
(flink) 02/03: [hotfix][python] Pin sphinxcontrib packages for Sphinx 4.5.0 compatibility
This is an automated email from the ASF dual-hosted git repository.
martijnvisser pushed a commit to branch release-1.18
in repository https://gitbox.apache.org/repos/asf/flink.git
commit a7fac9f6fb69994c48b88a12771f1e0484b5ce39
Author: Martijn Visser <29...@users.noreply.github.com>
AuthorDate: Mon Jan 19 14:52:28 2026 +0100
[hotfix][python] Pin sphinxcontrib packages for Sphinx 4.5.0 compatibility
Backport from release-1.19. The newer sphinxcontrib packages require
Sphinx v5.0+, which is incompatible with the Sphinx 4.5.0 version
used by this release.
---
flink-python/dev/lint-python.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flink-python/dev/lint-python.sh b/flink-python/dev/lint-python.sh
index 3ad4b126e96..c178cb9e73e 100755
--- a/flink-python/dev/lint-python.sh
+++ b/flink-python/dev/lint-python.sh
@@ -330,7 +330,7 @@ function install_sphinx() {
fi
fi
- $CURRENT_DIR/install_command.sh -q Sphinx==4.5.0 importlib-metadata==4.4.0 Docutils==0.17.1 pydata_sphinx_theme==0.11.0 sphinx_mdinclude==0.5.3 "Jinja2<3.1.0" 2>&1 >/dev/null
+ $CURRENT_DIR/install_command.sh -q Sphinx==4.5.0 importlib-metadata==4.4.0 Docutils==0.17.1 pydata_sphinx_theme==0.11.0 sphinx_mdinclude==0.5.3 "Jinja2<3.1.0" "sphinxcontrib-applehelp<1.0.8" "sphinxcontrib.devhelp<1.0.6" "sphinxcontrib.htmlhelp<2.0.5" "sphinxcontrib-serializinghtml<1.1.10" "sphinxcontrib-qthelp<1.0.7" 2>&1 >/dev/null
if [ $? -ne 0 ]; then
echo "pip install sphinx failed \
please try to exec the script again.\