File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,9 @@ if [ -n "$JAVA" ]; then
135135 JAVA_VOL=" --volume $JAVA :/opt/spark-java"
136136fi
137137
138+ # SPARK-24530: Sphinx must work with python 3 to generate doc correctly.
139+ echo " SPHINXPYTHON=/opt/p35/bin/python" >> $ENVFILE
140+
138141echo " Building $RELEASE_TAG ; output will be at $WORKDIR /output"
139142docker run -ti \
140143 --env-file " $ENVFILE " \
Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ RUN echo 'deb http://cran.cnr.Berkeley.edu/bin/linux/ubuntu xenial/' >> /etc/apt
6262 pip install $BASE_PIP_PKGS && \
6363 pip install $PIP_PKGS && \
6464 cd && \
65- virtualenv -p python3 p35 && \
66- . p35/bin/activate && \
65+ virtualenv -p python3 /opt/ p35 && \
66+ . /opt/ p35/bin/activate && \
6767 pip install $BASE_PIP_PKGS && \
6868 pip install $PIP_PKGS && \
6969 # Install R packages and dependencies used when building.
You can’t perform that action at this time.
0 commit comments