ros-infrastructure / catkin_pkg

Standalone Python library for the catkin build system.
https://github.com/ros/catkin
Other
46 stars 89 forks source link

Fix AttributeError with docutils >= 0.18 #352

Open onjen opened 1 year ago

onjen commented 1 year ago

Closes #351

cottsay commented 10 months ago

Is this change backwards compatible with older docutils versions?

onjen commented 10 months ago

I just tested with docutils==0.16.0 and it works.

Also the release notes state that the text is already in the node and there is no need to access the rawsource attribute.

nodes.Text.rawsource: we store the null-escaped text in Text nodes since 0.16 so there is no additional information in the rawsource.