Skip to content

Commit 3ff649e

Browse files
authored
Merge pull request #9093 from weixing02/dockerfile
The sphinx version is specified as 1.5.6 in the Dockerfile
2 parents e26f112 + a68290f commit 3ff649e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,14 @@ RUN localedef -i en_US -f UTF-8 en_US.UTF-8
5353

5454
# FIXME: due to temporary ipykernel dependency issue, specify ipykernel jupyter
5555
# version util jupyter fixes this issue.
56+
57+
# specify sphinx version as 1.5.6 and remove -U option for [pip install -U
58+
# sphinx-rtd-theme] since -U option will cause sphinx being updated to newest
59+
# version(1.7.1 for now), which causes building documentation failed.
5660
RUN pip install --upgrade pip && \
5761
pip install -U wheel && \
58-
pip install -U docopt PyYAML sphinx && \
59-
pip install -U sphinx-rtd-theme==0.1.9 recommonmark
62+
pip install -U docopt PyYAML sphinx==1.5.6 && \
63+
pip install sphinx-rtd-theme==0.1.9 recommonmark
6064

6165
RUN pip install pre-commit 'ipython==5.3.0' && \
6266
pip install 'ipykernel==4.6.0' 'jupyter==1.0.0' && \

0 commit comments

Comments
 (0)