New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
py38: AttributeError: Can't pickle local object 'ParallelTasks.add_task.<locals>.<lambda>' #6803
Comments
Exclude macOS @ Python 3.8 linter that fails because of the Sphinx bug Refs: * https://help.github.com/en/actions/automating-your-workflow-with-github-actions/configuring-a-workflow * sphinx-doc/sphinx#6803
It seems start method of multiprocessing has been changed in macOS. I guess this would be related with this issue. @ssbarnea Is your environment is macOS, right? Current design of Sphinx expects to use fork-model for the start method. We need to change its architecture... |
I determined to disable the feature. And post an issue to reimplement it again as #6881. I can't say it how long time to do that. But current implementation is not recommended by python team. |
Fix #6803: Disable parallel build on macOS and py38+
Fixed by #6879 |
Le bump vers Sphinx 2.2.2 est nécessaire pour Py38 : sphinx-doc/sphinx#6803
Parallel builds are disabled in sphinx for python 3.8. sphinx-doc/sphinx#6803 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Parallel builds are disabled in sphinx for python 3.8. sphinx-doc/sphinx#6803 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Parallel builds are disabled in sphinx for python 3.8. sphinx-doc/sphinx#6803 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Describe the bug
Attempt to build docs with python3.8 throws the exception below. It does not reproduce with other versions of python, like 2.7, 3.6 or 3.7
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Building docs should pass, just like with other python versions.
Your project
https://github.com/ansible/ansible-lint/pull/621/checks?check_run_id=289392168
Screenshots
If applicable, add screenshots to help explain your problem.
Environment info
Additional context
The text was updated successfully, but these errors were encountered: