summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2020-04-07 10:19:51 +0000
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-04-07 10:19:51 +0000
commitd212187f02c0179f2f86bb3fdbf3f51a087ea23b (patch)
treebeac0c80ab9f2e0802b6d53576688d120a1b8892
parentf78294d8468f156e066e7e69aab3a1b285810c3a (diff)
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 <aloaugus@cisco.com> Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
-rw-r--r--test/Makefile2
1 files changed, 1 insertions, 1 deletions
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