Skip to content
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

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Update docs engine deps #854

merged 1 commit into from
Sep 10, 2024

Conversation

matejmatuska
Copy link
Member

@matejmatuska matejmatuska commented Mar 14, 2024

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.

Copy link

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.
If you want to request a review or rebuild a package in copr, you can use following commands as a comment:

  • review please @oamg/developers to notify leapp developers of the review request
  • /packit copr-build to submit a public copr build using packit

To launch regression testing public members of oamg organization can leave the following comment:

  • /rerun to schedule basic regression tests using this pr build and leapp-repository*master* as artifacts
  • /rerun 42 to schedule basic regression tests using this pr build and leapp-repository*PR42* as artifacts
  • /rerun-sst to schedule sst tests using this pr build and leapp-repository*master* as artifacts
  • /rerun-sst 42 to schedule sst tests using this pr build and leapp-repository*PR42* as artifacts

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.

@matejmatuska matejmatuska force-pushed the update-docs-deps branch 3 times, most recently from 9ae1adc to e65076a Compare July 17, 2024 15:26
@matejmatuska matejmatuska marked this pull request as ready for review July 17, 2024 15:27
@matejmatuska
Copy link
Member Author

/rerun

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.
Copy link
Member

@pirat89 pirat89 left a 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!

@pirat89 pirat89 merged commit 7565b5c into oamg:main Sep 10, 2024
22 of 24 checks passed
@pirat89 pirat89 added changelog-checked The merger/reviewer checked the changelog draft document and updated it when relevant docs labels Sep 10, 2024
@pirat89 pirat89 added this to the 8.10/9.6 milestone Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-checked The merger/reviewer checked the changelog draft document and updated it when relevant docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants