Skip to content

Commit

Permalink
docs: upgrade Python dependencies for docs-builder image
Browse files Browse the repository at this point in the history
Update the Python dependencies on the docs-builder image, to avoid
relying on old packages and limit the burden for the next updates of the
image.

Most packages are updated to their latest version, or to the latest
version possible as per the dependency graph.

Mistune is pinned to a version < 2.0.0 to fix an issue with m2r
(miyakogi/m2r#66), which is pulled as a
dependency to sphinxcontrib-openapi.

The Makefile for the documentation needs to be updated: the short-name
options for sphinx-autobuild seem to have disappeared, leaving the long
names only.

Signed-off-by: Quentin Monnet <[email protected]>
  • Loading branch information
qmonnet committed Apr 8, 2022
1 parent b1cf2be commit 37e4754
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Documentation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ live-preview: stop-server
$(QUIET)$(DOCKER_CTR) \
--publish $(DOCS_PORT):8000 \
cilium/docs-builder \
sphinx-autobuild -B -H 0.0.0.0 $(SPHINX_OPTS) -i *.swp -Q . _preview
sphinx-autobuild --open-browser --host 0.0.0.0 $(SPHINX_OPTS) --ignore *.swp -Q . _preview
44 changes: 23 additions & 21 deletions Documentation/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,34 +1,36 @@
alabaster==0.7.12
Babel==2.9.1
certifi==2018.10.15
chardet==3.0.4
certifi==2021.10.8
chardet==4.0.0
docutils==0.17
idna==2.7
imagesize==1.1.0
Jinja2==2.11.3
jsonschema==2.6.0
MarkupSafe==1.1.1
idna==3.3
imagesize==1.3.0
Jinja2==3.0.3
jsonschema==4.4.0
# for m2r (dependency to sphinxcontrib-openapi), see https://github.com/miyakogi/m2r/issues/66
mistune<2.0.0
MarkupSafe==2.1.0
myst-parser==0.17.0
pyenchant==3.2.2
Pygments==2.7.4
pytz==2018.7
PyYAML==5.4
requests==2.25.1
semver==2.9.0
six==1.15.0
snowballstemmer==1.2.1
Pygments==2.11.2
pytz==2021.3
PyYAML==6.0
requests==2.27.1
semver==2.13.0
six==1.16.0
snowballstemmer==2.2.0
Sphinx==4.5.0
sphinx-autobuild==0.7.1
sphinx-autobuild==2021.3.14
# forked read the docs themez
git+https://github.com/cilium/[email protected]; platform_machine != "aarch64"
sphinx-rtd-theme==0.2.4; platform_machine == "aarch64"
sphinxcontrib-httpdomain==1.8.0
sphinxcontrib-openapi==0.3.2
sphinxcontrib-spelling==4.2.1
sphinxcontrib-websupport==1.1.0
sphinxcontrib-openapi==0.7.0
sphinxcontrib-spelling==7.3.2
sphinxcontrib-websupport==1.2.4
sphinx-tabs==3.3.1
sphinx-version-warning==1.1.2
typing==3.6.6
urllib3==1.26.5
yamllint==1.22.0
typing==3.7.4.3
urllib3==1.26.8
yamllint==1.26.3
rstcheck==3.3.1

0 comments on commit 37e4754

Please sign in to comment.