summaryrefslogtreecommitdiff
path: root/sphinx/application.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2019-12-03 01:19:02 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2019-12-03 01:19:02 +0900
commit7292ab7eef7d540be2dd0532b07bfe016a4149a1 (patch)
tree1f43336a9a868a55ff9466c34216a70d644647fb /sphinx/application.py
parentc235a43007f896acb89f27ab84bd16ccd95a3fba (diff)
parentf6ded235f598d8c464bb1178818a90467c228fa2 (diff)
downloadsphinx-git-7292ab7eef7d540be2dd0532b07bfe016a4149a1.tar.gz
Merge branch '2.2.2' into 2.0
Diffstat (limited to 'sphinx/application.py')
-rw-r--r--sphinx/application.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/sphinx/application.py b/sphinx/application.py
index 641ce9893..a98e3a6a2 100644
--- a/sphinx/application.py
+++ b/sphinx/application.py
@@ -12,6 +12,7 @@
import os
import pickle
+import platform
import sys
import warnings
from collections import deque
@@ -199,6 +200,12 @@ class Sphinx:
# say hello to the world
logger.info(bold(__('Running Sphinx v%s') % sphinx.__display_version__))
+ # notice for parallel build on macOS and py38+
+ if sys.version_info > (3, 8) and platform.system() == 'Darwin' and parallel > 1:
+ logger.info(bold(__("For security reason, parallel mode is disabled on macOS and "
+ "python3.8 and above. For more details, please read "
+ "https://github.com/sphinx-doc/sphinx/issues/6803")))
+
# status code for command-line application
self.statuscode = 0