You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
docutils/nodes.py
Remove compatibility hacks nodes.reprunicode and nodes.ensure_str().
the following error is raised:
2024-04-17 16:32:18 Exception occurred:
2024-04-17 16:32:18 File "/data/jenkins/workspace/gda-project_gda-bb-utils_main/venv/lib/python3.10/site-packages/m2r2.py", line 611, in run
2024-04-17 16:32:18 path = nodes.reprunicode(path)
2024-04-17 16:32:18 AttributeError: module 'docutils.nodes' has no attribute 'reprunicode'
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:
I found out this issue actually ONLY came to light after Sphinx's update on April 16 (2 days ago). Sphinx 7.3.0 changes Sphinx PR #11411
Before that update, as Sphinx was installed before m2r2, it would be leading to install its dependencies, and would have used "docutils>=0.18.1,<0.21",
Current Workaround is to fix the version in my requirements.txt (installed in a previous step in our Jenkins Pipeline) to fix the docutils==0.20.1 or docutils>0.21
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: