sphinx 4.0 seems to change paths for generated files and this
breaks the distcheck, e.g.:
/usr/bin/install: cannot stat './Documentation/_build/man/ovs-l3ping.8':
No such file or directory
Restricting the version to <4.0 until we figure out how to support new
version correctly.
pip is not able to track dependencies of already installed packages,
so restricting version of docutils to ones supported by sphinx 3.x.
Signed-off-by: Ilya Maximets <[email protected]>
---
.ci/linux-prepare.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.ci/linux-prepare.sh b/.ci/linux-prepare.sh
index c55125cf7..2130957ab 100755
--- a/.ci/linux-prepare.sh
+++ b/.ci/linux-prepare.sh
@@ -21,8 +21,8 @@ make -j4 HAVE_LLVM= HAVE_SQLITE= install
cd ..
pip3 install --disable-pip-version-check --user \
- flake8 hacking sphinx pyOpenSSL wheel setuptools
-pip3 install --user --upgrade docutils
+ flake8 hacking 'sphinx<4.0' pyOpenSSL wheel setuptools
+pip3 install --user --upgrade 'docutils<0.17,>=0.12'
pip3 install --user 'meson==0.47.1'
if [ "$M32" ]; then
--
2.26.3
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev