Skip to content

Commit acbb313

Browse files
authored
Merge pull request #111 from readthedocs/humitos/python-3.8
Add support for Python 3.8
2 parents e417003 + b66aa64 commit acbb313

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Dockerfile

+10
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@ ENV PYTHON_VERSION_27 2.7.16
1212
ENV PYTHON_VERSION_35 3.5.7
1313
ENV PYTHON_VERSION_36 3.6.8
1414
ENV PYTHON_VERSION_37 3.7.3
15+
ENV PYTHON_VERSION_38 3.8.0
1516
ENV PYPY_VERSION_35 pypy3.5-7.0.0
1617
ENV CONDA_VERSION 4.6.14
1718
LABEL python.version_27=$PYTHON_VERSION_27
1819
LABEL python.version_35=$PYTHON_VERSION_35
1920
LABEL python.version_36=$PYTHON_VERSION_36
2021
LABEL python.version_37=$PYTHON_VERSION_37
22+
LABEL python.version_38=$PYTHON_VERSION_38
2123
LABEL pypy.version_35=$PYPY_VERSION_35
2224
LABEL conda.version=$CONDA_VERSION
2325

@@ -160,12 +162,14 @@ ENV PATH /home/docs/.pyenv/shims:$PATH:/home/docs/.pyenv/bin
160162

161163
# Install supported Python versions
162164
RUN pyenv install $PYTHON_VERSION_27 && \
165+
pyenv install $PYTHON_VERSION_38 && \
163166
pyenv install $PYTHON_VERSION_37 && \
164167
pyenv install $PYTHON_VERSION_35 && \
165168
pyenv install $PYTHON_VERSION_36 && \
166169
pyenv install $PYPY_VERSION_35 && \
167170
pyenv global \
168171
$PYTHON_VERSION_27 \
172+
$PYTHON_VERSION_38 \
169173
$PYTHON_VERSION_37 \
170174
$PYTHON_VERSION_36 \
171175
$PYTHON_VERSION_35 \
@@ -179,6 +183,12 @@ RUN pyenv local $PYTHON_VERSION_27 && \
179183
pyenv exec pip install --no-cache-dir --only-binary numpy,scipy numpy scipy && \
180184
pyenv exec pip install --no-cache-dir pandas matplotlib virtualenv
181185

186+
RUN pyenv local $PYTHON_VERSION_38 && \
187+
pyenv exec pip install --no-cache-dir -U pip && \
188+
pyenv exec pip install --no-cache-dir -U setuptools && \
189+
pyenv exec pip install --no-cache-dir --only-binary numpy numpy && \
190+
pyenv exec pip install --no-cache-dir pandas matplotlib virtualenv
191+
182192
RUN pyenv local $PYTHON_VERSION_37 && \
183193
pyenv exec pip install --no-cache-dir -U pip && \
184194
pyenv exec pip install --no-cache-dir -U setuptools && \

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ repository:
3131
This is the **latest** default image used for documentation builds and supported by Read the Docs.
3232

3333
`readthedocs/build:6.0rc1`
34-
Ubuntu 18.04 supporting Python 2.7, 3.5, 3.6, 3.7 and PyPy3.5-7.0.0.
34+
Ubuntu 18.04 supporting Python 2.7, 3.5, 3.6, 3.7, 3.8 and PyPy3.5-7.0.0.
3535
For internal development **testing** only, not available for public usage yet.
3636

3737
.. _readthedocs/build: https://hub.docker.com/r/readthedocs/build/

0 commit comments

Comments
 (0)