-
Notifications
You must be signed in to change notification settings - Fork 27
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
docutils 0.21 has removed nodes.reprunicode() and therefore building documentation using m2r2 fails #68
Comments
Just an update: I found out this issue actually ONLY came to light after Sphinx's update on April 16 (2 days ago). Current Workaround is to fix the version in my requirements.txt (installed in a previous step in our Jenkins Pipeline) to fix the |
came here to say "me too". Adding |
It seems this repo is no longer maintained, and possibly no longer necessary? I am going to try |
If you can, please let us know if that works for you. I maintain it in my very limited free time and am focusing on the mistune v2 migration. The fix seems trivial enough, though. |
I think it works and there is a PR up to resolve it. #69 It looks like your test workflow only runs on push events though. Would you like a PR to make it run on pull request events, so you can validate everything works before merging? |
`docutils.nodes.reprunicode` was until recently just a subclass of `str`. It was removed in this commit: https://sourceforge.net/p/docutils/code/9415/ Therefore `path = nodes.reprunicode(path)` just converted a string to a string and can therefore be removed. This is an alternative to fixing `docutils` to an old version (as done in CrossNox#69). Fixes CrossNox#68
Our regular Jenkins pipelines to generate documentation have started failing due to a dependency issue caused by a new release of docutils:
view change history here
the following error is raised:
m2r2 only states a minimum requirement for docutils, and therefore my pipeline fails.
my pipeline exists of the following commands in case this can be of any help:
Unfortunately, I'm out of time for today, and if necessary I will add more information tomorrow!
The text was updated successfully, but these errors were encountered: