Skip to content

Commit 1513a5f

Browse files
committed
Add support for Python 3.5 in Docker 5.0 image
1 parent 714cfd9 commit 1513a5f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

readthedocs/config/tests/test_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -953,8 +953,8 @@ def test_python_check_invalid_types(self, value):
953953
@pytest.mark.parametrize(
954954
'image,versions',
955955
[
956-
('latest', [2, 2.7, 3, 3.6, 3.7, 'pypy3.5']),
957-
('stable', [2, 2.7, 3, 3.6, 3.7]),
956+
('latest', [2, 2.7, 3, 3.5, 3.6, 3.7, 'pypy3.5']),
957+
('stable', [2, 2.7, 3, 3.5, 3.6, 3.7]),
958958
],
959959
)
960960
def test_python_version(self, image, versions):

readthedocs/rtd_tests/tests/test_config_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def test_python_supported_versions_image_latest(self, load_config):
144144
config = load_yaml_config(self.version)
145145
self.assertEqual(
146146
config.get_valid_python_versions(),
147-
[2, 2.7, 3, 3.6, 3.7, 'pypy3.5'],
147+
[2, 2.7, 3, 3.5, 3.6, 3.7, 'pypy3.5'],
148148
)
149149

150150
@mock.patch('readthedocs.doc_builder.config.load_config')

readthedocs/settings/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def USE_PROMOS(self): # noqa
330330
'python': {'supported_versions': [2, 2.7, 3, 3.5, 3.6, 3.7]},
331331
},
332332
'readthedocs/build:5.0': {
333-
'python': {'supported_versions': [2, 2.7, 3, 3.6, 3.7, 'pypy3.5']},
333+
'python': {'supported_versions': [2, 2.7, 3, 3.5, 3.6, 3.7, 'pypy3.5']},
334334
},
335335
}
336336

0 commit comments

Comments
 (0)