Skip to content

Commit 47679ba

Browse files
authored
Merge pull request #160 from readthedocs/humitos/port-support-py39-master
2 parents 154b49c + af6a705 commit 47679ba

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ ENV RTD_PYTHON_VERSION_35 3.5.10
150150
ENV RTD_PYTHON_VERSION_36 3.6.12
151151
ENV RTD_PYTHON_VERSION_37 3.7.9
152152
ENV RTD_PYTHON_VERSION_38 3.8.6
153-
ENV RTD_PYTHON_VERSION_39 3.9.0
153+
ENV RTD_PYTHON_VERSION_39 3.9.1
154154
ENV RTD_PYPY_VERSION_35 pypy3.5-7.0.0
155155

156156
# Install supported Python versions

tests/test_versions.py

+8
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,29 @@
1414
('python3.6 --version', 'Python 3.6.12'),
1515
('python3.7 --version', 'Python 3.7.9'),
1616
('python3.8 --version', 'Python 3.8.6'),
17+
('python3.9 --version', 'Python 3.9.1'),
1718
('pypy3.5 --version', 'Python 3.5.3 (928a4f70d3de7d17449456946154c5da6e600162, Feb 09 2019, 11:50:43)\n[PyPy 7.0.0 with GCC 8.2.0]'),
1819
# pip
1920
('python2 -m pip --version', "pip 20.0.1 from /home/docs/.pyenv/versions/2.7.18/lib/python2.7/site-packages/pip (python 2.7)"),
2021
('python3.5 -m pip --version', "pip 20.0.1 from /home/docs/.pyenv/versions/3.5.10/lib/python3.5/site-packages/pip (python 3.5)"),
2122
('python3.6 -m pip --version', "pip 20.0.1 from /home/docs/.pyenv/versions/3.6.12/lib/python3.6/site-packages/pip (python 3.6)"),
2223
('python3.7 -m pip --version', "pip 20.0.1 from /home/docs/.pyenv/versions/3.7.9/lib/python3.7/site-packages/pip (python 3.7)"),
2324
('python3.8 -m pip --version', "pip 20.0.1 from /home/docs/.pyenv/versions/3.8.6/lib/python3.8/site-packages/pip (python 3.8)"),
25+
('python3.9 -m pip --version', "pip 20.0.1 from /home/docs/.pyenv/versions/3.9.1/lib/python3.9/site-packages/pip (python 3.9)"),
2426
# setuptools
2527
('python2 -c "import setuptools; print(setuptools.__version__)"', "44.0.0"),
2628
('python3.5 -c "import setuptools; print(setuptools.__version__)"', "45.1.0"),
2729
('python3.6 -c "import setuptools; print(setuptools.__version__)"', "45.1.0"),
2830
('python3.7 -c "import setuptools; print(setuptools.__version__)"', "45.1.0"),
2931
('python3.8 -c "import setuptools; print(setuptools.__version__)"', "45.1.0"),
32+
('python3.9 -c "import setuptools; print(setuptools.__version__)"', "45.1.0"),
3033
# virtualenv
3134
('python2 -m virtualenv --version', '16.7.9'),
3235
('python3.5 -m virtualenv --version', '16.7.9'),
3336
('python3.6 -m virtualenv --version', '16.7.9'),
3437
('python3.7 -m virtualenv --version', '16.7.9'),
3538
('python3.8 -m virtualenv --version', '16.7.9'),
39+
('python3.9 -m virtualenv --version', '16.7.9'),
3640
# others
3741
('node --version', 'v10.19.0'),
3842
('npm --version', '6.14.4'),
@@ -56,25 +60,29 @@ def test_command_versions_image_master(command, expected_output):
5660
('python3.6 --version', 'Python 3.6.12'),
5761
('python3.7 --version', 'Python 3.7.9'),
5862
('python3.8 --version', 'Python 3.8.6'),
63+
('python3.9 --version', 'Python 3.9.1'),
5964
('pypy3.5 --version', 'Python 3.5.3 (928a4f70d3de7d17449456946154c5da6e600162, Feb 09 2019, 11:50:43)\n[PyPy 7.0.0 with GCC 8.2.0]'),
6065
# pip
6166
('python2 -m pip --version', "pip 20.0.2 from /home/docs/.pyenv/versions/2.7.18/lib/python2.7/site-packages/pip (python 2.7)"),
6267
('python3.5 -m pip --version', "pip 20.0.2 from /home/docs/.pyenv/versions/3.5.10/lib/python3.5/site-packages/pip (python 3.5)"),
6368
('python3.6 -m pip --version', "pip 20.0.2 from /home/docs/.pyenv/versions/3.6.12/lib/python3.6/site-packages/pip (python 3.6)"),
6469
('python3.7 -m pip --version', "pip 20.0.2 from /home/docs/.pyenv/versions/3.7.9/lib/python3.7/site-packages/pip (python 3.7)"),
6570
('python3.8 -m pip --version', "pip 20.0.2 from /home/docs/.pyenv/versions/3.8.6/lib/python3.8/site-packages/pip (python 3.8)"),
71+
('python3.9 -m pip --version', "pip 20.0.2 from /home/docs/.pyenv/versions/3.9.1/lib/python3.9/site-packages/pip (python 3.9)"),
6672
# setuptools
6773
('python2 -c "import setuptools; print(setuptools.__version__)"', "44.0.0"),
6874
('python3.5 -c "import setuptools; print(setuptools.__version__)"', "45.2.0"),
6975
('python3.6 -c "import setuptools; print(setuptools.__version__)"', "45.2.0"),
7076
('python3.7 -c "import setuptools; print(setuptools.__version__)"', "45.2.0"),
7177
('python3.8 -c "import setuptools; print(setuptools.__version__)"', "45.2.0"),
78+
('python3.9 -c "import setuptools; print(setuptools.__version__)"', "45.2.0"),
7279
# virtualenv
7380
('python2 -m virtualenv --version', 'virtualenv 20.0.7 from /home/docs/.pyenv/versions/2.7.18/lib/python2.7/site-packages/virtualenv/__init__.pyc'),
7481
('python3.5 -m virtualenv --version', 'virtualenv 20.0.7 from /home/docs/.pyenv/versions/3.5.10/lib/python3.5/site-packages/virtualenv/__init__.py'),
7582
('python3.6 -m virtualenv --version', 'virtualenv 20.0.7 from /home/docs/.pyenv/versions/3.6.12/lib/python3.6/site-packages/virtualenv/__init__.py'),
7683
('python3.7 -m virtualenv --version', 'virtualenv 20.0.7 from /home/docs/.pyenv/versions/3.7.9/lib/python3.7/site-packages/virtualenv/__init__.py'),
7784
('python3.8 -m virtualenv --version', 'virtualenv 20.0.7 from /home/docs/.pyenv/versions/3.8.6/lib/python3.8/site-packages/virtualenv/__init__.py'),
85+
('python3.9 -m virtualenv --version', 'virtualenv 20.0.7 from /home/docs/.pyenv/versions/3.9.1/lib/python3.9/site-packages/virtualenv/__init__.py'),
7886
# others
7987
('node --version', 'v8.10.0'),
8088
('npm --version', '3.5.2'),

0 commit comments

Comments
 (0)