tests: pin sphinx and sphinx-rtd-theme

Add these two packages to requirements.txt so that their version and
the version of their dependencies are pinned to limit the risk of
unexpected breakage.

Change-Id: If330404f2e840af3d2628f997ce406cd14e7e128
Type: fix
Signed-off-by: Aloys Augustin <aloaugus@cisco.com>
This commit is contained in:
Aloys Augustin
2020-04-07 15:43:33 +02:00
committed by Andrew Yourtchenko
parent e10d167bfe
commit 1f2e146bd3
3 changed files with 102 additions and 99 deletions

View File

@@ -270,10 +270,8 @@ wipe: reset
@rm -rf $(VENV_PATH)
@rm -rf $(patsubst %,%/__pycache__, $(VPP_TEST_DIRS) $(BUILD_TEST_SRC))
$(TEST_DOC_BR):
$(TEST_DOC_BR): $(PIP_INSTALL_DONE)
@mkdir -p $@
@bash -c "source $(VENV_PATH)/bin/activate && \
$(PYTHON_INTERP) -m pip install sphinx sphinx-rtd-theme"
@bash -c "source $(VENV_PATH)/bin/activate && make -C doc html"
.PHONY: doc