-
Notifications
You must be signed in to change notification settings - Fork 70
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
Update docs engine deps #854
Conversation
Thank you for contributing to the Leapp project!Please note that every PR needs to comply with the Leapp Guidelines and must pass all tests in order to be mergeable.
To launch regression testing public members of oamg organization can leave the following comment:
Please open ticket in case you experience technical problem with the CI. (RH internal only) Note: In case there are problems with tests not being triggered automatically on new PR/commit or pending for a long time, please consider rerunning the CI by commenting leapp-ci build (might require several comments). If the problem persists, contact leapp-infra. |
9ae1adc
to
e65076a
Compare
/rerun |
e65076a
to
2767aa7
Compare
2767aa7
to
f90c585
Compare
Changes with version 3.5.4: - The biggest change is the replacement of recommonmark with MyST for markdown parsing. The recommonmark library is no longer maintained and is also deprecated in sphinx. The recommended replacement is MyST library. In our case it seems like a drop-in replacement with only errors being "non-consecutive header level increment", which shouldn't be a problem and the docs build successfully. Changes with version 4.5.0 - No major changes, just some deprecated APIs are replaced. Changes with version 5.3.0 - Instead of linking to autodoc generated HTML files (in the pydoc dir), use cross references. Also fix some of the ambiguous references and repair some of the broken ones. Changes with version 6.2.1 - No breaking changes. - This version requires Python 3.10 for deps to correctly install, otherwise the version of sphinx-autobuild and sphinxcontrib-* packages would have to pinned. Changes with version 7.2.6 - No breaking changes. - Works properly on Python >= 3.10. On Python 3.12 requires manual upgrade of the six package until the version is bumped in requirements.txt.
f90c585
to
964edce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging. the result looks good to me!
The the previously used version of the docs engine (sphinx) was very old and long unmaintained.
Going with version 7.2.6, which requires Python 3.10, because it's relatively recent (released Sep 13, 2023), also works on Python 3.12 and all the features we need are there.
The 3.12 requires manually update of the six package until the version is bumped in requirements.txt.
NOTE: There is still a bunch of warnings, however those don't seem to affect the docs in any way and the documentation is going to be refactored in the near future.