From: Andrew Yourtchenko Date: Tue, 7 Apr 2020 10:19:51 +0000 (+0000) Subject: docs: pin down sphinx to avoid crash with Sphinx 3.0.0 X-Git-Tag: v19.08.2~8 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=d212187f02c0179f2f86bb3fdbf3f51a087ea23b;p=vpp.git docs: pin down sphinx to avoid crash with Sphinx 3.0.0 Using requirements.txt did not work, just specify the version in the pip install within the makefile. For the master and stable/2001, see change Id98c0f94104e455ea819aacec62f605e53db13ce Change-Id: I1f6ff53d8d52dc8bad42041932421fc12d7ddebf Type: fix Signed-off-by: Aloys Augustin Signed-off-by: Andrew Yourtchenko --- diff --git a/test/Makefile b/test/Makefile index 2a09bcc6d24..48cbb605b4e 100644 --- a/test/Makefile +++ b/test/Makefile @@ -235,7 +235,7 @@ wipe: reset doc: verify-test-dir $(PIP_PATCH_DONE) @virtualenv $(VENV_PATH) -p python3 - @bash -c "source $(VENV_PATH)/bin/activate && python3 -m pip install sphinx sphinx-rtd-theme" + @bash -c "source $(VENV_PATH)/bin/activate && python3 -m pip install 'sphinx<3.0.0' sphinx-rtd-theme" @bash -c "source $(VENV_PATH)/bin/activate && make -C doc WS_ROOT=$(WS_ROOT) BR=$(BR) html" .PHONY: wipe-doc