-
Notifications
You must be signed in to change notification settings - Fork 2
builddoc fails with python 2.7 #1070
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
Comments
The issue is tied to a sphinx issue sphinx-doc/sphinx#9727 and the conclusion is that the issue is caused by the fact that docutils was recently updated to 0.18 but, while the current version of Sphinx was updated to disallow docutils 0.18, the older version required for use with Python 2.7 (Sphinx 1.8.5 was the last Sphinx that was Python 2.7 compatible) that change was not applied to a version compatible with Python 2.7 |
Note that Sphinx is implementing changes but that they are tied to version 4.3.0 (sphinx-doc/sphinx#9777) but that does nothing for the us and python 2.7. I would bet that it will not be easy to get an update to Sphinx 1.8.5 any more. Note: the reason we do not fail when testing with more up-to-date versions of Sphinx is that at Sphinx 3.5.4 Sphinx started setting a maximum version on docutils themselves (< 0.18 for Sphinx 4 and < 0.18 for Sphinx 3.5.4). It is the older versions that cause the problem where there was no maximum limit on docutils version. If we want to be fully protective, we should probably set our minimum sphinx at 3.5.4 rather than 3.0.4 There are proposed workarounds including:
|
Fixes issued documented in issue #1070 where builddoc fails at least with python 2.7. This pins docutils to version <0.18.
Fixes an issue where Sphinx fails with python < 3.5 because of an update to docutils to 0.18. Limited docutils for python 3.5. We also set some of the Sphinx limits from pywbem dev_requirements.txt.
Fixes an issue where Sphinx fails with python < 3.5 because of an update to docutils to 0.18. Limited docutils for python 3.5. We also set some of the Sphinx limits from pywbem dev_requirements.txt.
Fixes an issue where Sphinx fails with python < 3.5 because of an update to docutils to 0.18. Limited docutils for python 3.5. We also set some of the Sphinx limits from pywbem dev_requirements.txt.
Fixes an issue where Sphinx fails with python < 3.5 because of an update to docutils to 0.18. Limited docutils for python 3.5. We also set some of the Sphinx limits from pywbem dev_requirements.txt.
Fixes an issue where Sphinx fails with python < 3.5 because of an update to docutils to 0.18. Limited docutils for python 3.5. We also set some of the Sphinx limits from pywbem dev_requirements.txt.
Fixes an issue where Sphinx fails with python < 3.5 because of an update to docutils to 0.18. Limited docutils for python 3.5. We also set some of the Sphinx limits from pywbem dev_requirements.txt.
Builddoc fails when building with Python 2.7 with the following information using both the pr #987 and the master branch.
The text was updated successfully, but these errors were encountered: