[ovs-dev] [PATCH] ci: Restrict sphinx to versions lower than 4.0.
Ilya Maximets
i.maximets at ovn.org
Mon May 10 14:40:54 UTC 2021
On 5/10/21 3:08 PM, Ilya Maximets wrote:
> 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 <i.maximets at ovn.org>
> ---
Successful build by ovsrobot:
https://github.com/ovsrobot/ovs/actions/runs/828286773
> .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
>
More information about the dev
mailing list