Skip to content

Commit

Permalink
Dockerfile : Lock down sphinxcontrib versions
Browse files Browse the repository at this point in the history
Otherwise a simple `pip install sphinx==4.3.1` can pull in incompatible sphinxcontrib versions that prevent sphinx from running. Removing these packages also prevents sphinx from running, so we need to install specific versions of each...
  • Loading branch information
murraystevenson committed Jan 16, 2024
1 parent 9de1f01 commit 9ebc8ff
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
3.0.0ax
=======

- Dockerfile :
- Fixed `sphinx` incompatibility with automatically installed dependencies by installing specific versions of `sphinxcontrib` packages.

3.0.0a3
=======

Expand Down
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ RUN yum install -y 'dnf-command(versionlock)' && \
# (in GafferHQ/gaffer).
pip install \
sphinx==4.3.1 \
sphinxcontrib-applehelp==1.0.4 \
sphinxcontrib-devhelp==1.0.2 \
sphinxcontrib-htmlhelp==2.0.1 \
sphinxcontrib-jsmath==1.0.1 \
sphinxcontrib-serializinghtml==1.1.5 \
sphinxcontrib-qthelp==1.0.3 \
sphinx_rtd_theme==1.0.0 \
myst-parser==0.15.2 \
docutils==0.17.1 && \
Expand Down

0 comments on commit 9ebc8ff

Please sign in to comment.