Fix #3195: Can not build in parallel. All built-in extensions must have 'parallel safe' flag.

This commit is contained in:
shimizukawa
2016-12-07 01:02:34 +09:00
parent 4311bb079a
commit e739054d80
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -4,6 +4,7 @@ Release 1.5.1 (in development)
Bugs fixed
----------
* #3195: Can not build in parallel.
Release 1.5 (released Dec 5, 2016)
+6
View File
@@ -532,6 +532,12 @@ class Sphinx(object):
# special-case for compatibility
if extension == 'rst2pdf.pdfbuilder':
ext_meta = {'parallel_read_safe': True}
elif extension in builtin_extensions:
ext_meta = {
'version': 'builtin',
'parallel_read_safe': True,
'parallel_write_safe': True,
}
try:
if not ext_meta.get('version'):
ext_meta['version'] = 'unknown version'