Skip to content

Commit 50c63f7

Browse files
authored
Merge pull request #6654 from readthedocs/humitos/new-docker-release
New docker release (6.0 and testing)
2 parents b1a2da3 + fd4345d commit 50c63f7

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

readthedocs/config/tests/test_config.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -974,8 +974,8 @@ def test_python_version_accepts_string(self):
974974
@pytest.mark.parametrize(
975975
'image,versions',
976976
[
977-
('latest', [1, 2.8, 4, 3.8]),
978-
('stable', [1, 2.8, 4, 3.8]),
977+
('latest', [1, 2.8, 4]),
978+
('stable', [1, 2.8, 4]),
979979
],
980980
)
981981
def test_python_version_invalid(self, image, versions):

readthedocs/rtd_tests/tests/test_config_integration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def test_python_supported_versions_image_latest(self, load_config):
146146
config = load_yaml_config(self.version)
147147
self.assertEqual(
148148
config.get_valid_python_versions(),
149-
[2, 2.7, 3, 3.5, 3.6, 3.7, 'pypy3.5'],
149+
[2, 2.7, 3, 3.5, 3.6, 3.7, 3.8, 'pypy3.5'],
150150
)
151151

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

readthedocs/settings/base.py

+13-3
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,16 @@ def USE_PROMOS(self): # noqa
415415
},
416416
},
417417
},
418-
'readthedocs/build:6.0rc1': {
418+
'readthedocs/build:6.0': {
419+
'python': {
420+
'supported_versions': [2, 2.7, 3, 3.5, 3.6, 3.7, 3.8, 'pypy3.5'],
421+
'default_version': {
422+
2: 2.7,
423+
3: 3.7,
424+
},
425+
},
426+
},
427+
'readthedocs/build:7.0': {
419428
'python': {
420429
'supported_versions': [2, 2.7, 3, 3.5, 3.6, 3.7, 3.8, 'pypy3.5'],
421430
'default_version': {
@@ -428,8 +437,9 @@ def USE_PROMOS(self): # noqa
428437

429438
# Alias tagged via ``docker tag`` on the build servers
430439
DOCKER_IMAGE_SETTINGS.update({
431-
'readthedocs/build:stable': DOCKER_IMAGE_SETTINGS.get('readthedocs/build:4.0'),
432-
'readthedocs/build:latest': DOCKER_IMAGE_SETTINGS.get('readthedocs/build:5.0'),
440+
'readthedocs/build:stable': DOCKER_IMAGE_SETTINGS.get('readthedocs/build:5.0'),
441+
'readthedocs/build:latest': DOCKER_IMAGE_SETTINGS.get('readthedocs/build:6.0'),
442+
'readthedocs/build:testing': DOCKER_IMAGE_SETTINGS.get('readthedocs/build:7.0'),
433443
})
434444

435445
# All auth

0 commit comments

Comments
 (0)