Skip to content

Commit cc019ac

Browse files
authored
Merge pull request readthedocs#73 from browniebroke/python-3.7
Add Python 3.7
2 parents 9b0816d + 7af8cdb commit cc019ac

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

Dockerfile

+10-1
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ ENV LANG C.UTF-8
1111
ENV PYTHON_VERSION_27 2.7.14
1212
ENV PYTHON_VERSION_35 3.5.5
1313
ENV PYTHON_VERSION_36 3.6.4
14-
ENV CONDA_VERSION 4.4.10
14+
ENV PYTHON_VERSION_37 3.7.1
15+
ENV CONDA_VERSION 4.5.11
1516
LABEL python.version_27=$PYTHON_VERSION_27
1617
LABEL python.version_35=$PYTHON_VERSION_35
1718
LABEL python.version_36=$PYTHON_VERSION_36
19+
LABEL python.version_37=$PYTHON_VERSION_37
1820
LABEL conda.version=$CONDA_VERSION
1921

2022
# System dependencies
@@ -74,10 +76,12 @@ ENV PATH /home/docs/.pyenv/shims:$PATH:/home/docs/.pyenv/bin
7476

7577
# Install supported Python versions
7678
RUN pyenv install $PYTHON_VERSION_27 && \
79+
pyenv install $PYTHON_VERSION_37 && \
7780
pyenv install $PYTHON_VERSION_36 && \
7881
pyenv install $PYTHON_VERSION_35 && \
7982
pyenv global \
8083
$PYTHON_VERSION_27 \
84+
$PYTHON_VERSION_37 \
8185
$PYTHON_VERSION_36 \
8286
$PYTHON_VERSION_35
8387

@@ -88,6 +92,11 @@ RUN pyenv local $PYTHON_VERSION_27 && \
8892
pyenv exec pip install --only-binary numpy,scipy numpy scipy && \
8993
pyenv exec pip install pandas matplotlib virtualenv
9094

95+
RUN pyenv local $PYTHON_VERSION_37 && \
96+
pyenv exec pip install -U pip && \
97+
pyenv exec pip install --only-binary numpy,scipy numpy scipy && \
98+
pyenv exec pip install pandas matplotlib virtualenv
99+
91100
RUN pyenv local $PYTHON_VERSION_36 && \
92101
pyenv exec pip install -U pip && \
93102
pyenv exec pip install --only-binary numpy,scipy numpy scipy && \

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ repositoryr:
2727

2828
`readthedocs/build:4.0rc1`
2929
**testing**
30-
Ubuntu 18.04 release candidate supporting Python 2.7, 3.5, 3.6. For internal
30+
Ubuntu 18.04 release candidate supporting Python 2.7, 3.5, 3.6, 3.7. For internal
3131
development **testing** only, not available for public usage yet.
3232

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

0 commit comments

Comments
 (0)