summaryrefslogtreecommitdiff
path: root/sphinx/util/parallel.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix COM812Adam Turner2023-02-181-2/+2
|
* Use ``finally`` to terminate parallel processes (#10952)Philip Meier2023-01-021-2/+1
|
* Use PEP 604 typesAdam Turner2023-01-011-4/+4
|
* Use PEP 595 typesAdam Turner2023-01-011-7/+7
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+2
|
* Clean up after dropping Python 3.6Adam Turner2022-09-271-10/+2
|
* Fix mypy violations for v0.981 (#10875)Adam Turner2022-09-271-2/+3
|
* Fix more strict static typing errors (#10681)danieleades2022-08-281-2/+5
|
* Improve static typing strictness (#10569)danieleades2022-07-181-1/+3
|
* Increase static typing strictness (#10530)Adam Turner2022-06-161-1/+7
|
* Collapse single line docstringsAdam Turner2022-02-201-2/+1
|
* Remove copyright and licence fieldsAdam Turner2022-02-201-3/+0
|
* Fix module docstring indentationAdam Turner2022-02-201-2/+2
|
* Fix module docstring first lineAdam Turner2022-02-201-2/+1
|
* Remove module titles in docstringsAdam Turner2022-02-191-3/+0
|
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* Set multiprocessing start method to forkSam Doran2021-10-281-11/+4
| | | | | Since the current code requires forking, set it explicitly rather than disabling parallelization on macOS.
* refactor: Add Optional to type annotationsTakeshi KOMIYA2021-05-031-2/+2
|
* Merge pull request #9097 from peterbell10/parallel-task-sleepTakeshi KOMIYA2021-04-171-4/+8
|\ | | | | Remove unnecesary sleep when submitting parallel tasks
| * Remove redundant assignmentPeter Bell2021-04-171-1/+1
| |
| * Remove unnecesary sleep when submitting parallel tasksPeter Bell2021-04-131-5/+9
| |
* | refactor: Use PEP-526 based variable annotation (sphinx.util)Takeshi KOMIYA2021-03-101-5/+5
|/
* Fix #8952: Exceptions raised in a Directive cause parallel builds to hangTakeshi KOMIYA2021-03-041-2/+15
| | | | Do shutdown explicitly when failure on the subprocess.
* A happy new year!Takeshi KOMIYA2021-01-011-1/+1
| | | | | | | .. note:: $ find sphinx tests LICENSE doc/conf.py -type f -exec sed -i '' -e 's/2007\-20../2007-2021/' {} \; $ git co sphinx/locale/**/*.js sphinx/templates/epub3/mimetype
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Fix #6803: Disable parallel build on macOS and py38+Takeshi KOMIYA2019-12-011-1/+8
|
* Migrate to py3 style type annotation: sphinx.util.parallelTakeshi KOMIYA2019-06-051-22/+10
|
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Merge pull request #5509 from stephenfin/remove-future-importsTakeshi KOMIYA2018-12-171-1/+0
|\ \ | | | | | | Remove future imports
| * | py3: Remove (most) __future__ importsStephen Finucane2018-12-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were two used: - print_function - absolute_import Both of these are mandatory in Python 3.0 onwards [1] and can therefore be removed...mostly. Unfortunately, mypy is still running in Python 2.7 mode, meaning we need the 'print_function' future wherever we're calling 'print' with the 'file' argument. There's also a single 'absolute_import' future that must be retained as its removal breaks a test for as-yet unknown reasons. TODOs are added to resolve both issues in the future. [1] https://docs.python.org/3/library/__future__.html Signed-off-by: Stephen Finucane <stephen@that.guru>
* | | Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-161-1/+0
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 3, the default encoding of source files is utf-8. The encoding cookie is now unnecessary and redundant so remove it. For more details, see the docs: https://docs.python.org/3/howto/unicode.html#the-string-type > The default encoding for Python source code is UTF-8, so you can > simply include a Unicode character in a string literal ... Includes a fix for the flake8 header checks to stop expecting an encoding cookie.
* | Replace all "unicode" type by "str"Takeshi KOMIYA2018-12-151-2/+1
| |
* | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-0/+1
| |
* | Merge branch 'master' into HEADTakeshi KOMIYA2018-09-221-3/+1
|\ \
| * | Remove use of six.iteritems()Jon Dufresne2018-09-111-3/+1
| |/ | | | | | | In Python 3, dict.items() is always an iterator.
* | Remove unnecessary object from class definitionsJon Dufresne2018-09-111-2/+2
|/ | | | | In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary.
* Deprecate whole of sphinx.ext.mathbaseTakeshi KOMIYA2018-07-291-0/+1
|
* Revert "Use typing.TYPE_CHECKING for typehints"Takeshi KOMIYA2018-03-131-3/+2
| | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4.
* Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-2/+3
|
* Use flake8-import-orderTakeshi KOMIYA2018-01-281-0/+1
|
* A happy new year!Takeshi KOMIYA2018-01-011-1/+1
|
* Fix #4006: Fix crash on parallel buildTakeshi KOMIYA2017-09-051-0/+1
|
* Update type annotations for new mypyTakeshi KOMIYA2017-05-071-1/+1
|
* Merge branch 'stable'Takeshi KOMIYA2017-03-261-1/+1
|\
| * Year++Takeshi KOMIYA2017-03-261-1/+1
| |
* | Upgrade to mypy-0.5Takeshi KOMIYA2017-03-031-1/+1
| |
* | Merge branch 'stable'Takeshi KOMIYA2017-01-121-2/+2
|\ \ | |/
| * Fix flake8 violationsTakeshi KOMIYA2017-01-121-2/+2
| |
* | Update type annotationsTakeshi KOMIYA2017-01-091-1/+1
| |