docs: pin down sphinx to avoid crash with Sphinx 3.0.0 92/26392/2
authorAndrew Yourtchenko <[email protected]>
Tue, 7 Apr 2020 10:19:51 +0000 (10:19 +0000)
committerAndrew Yourtchenko <[email protected]>
Tue, 7 Apr 2020 10:19:51 +0000 (10:19 +0000)
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 <[email protected]>
Signed-off-by: Andrew Yourtchenko <[email protected]>
test/Makefile

index 2a09bcc..48cbb60 100644 (file)
@@ -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