ros-infrastructure / catkin_pkg

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

Attribute Error with docutils 0.19 #351

Open onjen opened 1 year ago

onjen commented 1 year ago

Debian testing received an update of docutils from 0.17.1 to 0.19. Now this AttributeError is thrown

  File "/usr/lib/python3/dist-packages/catkin_pkg/cli/tag_changelog.py", line 31, in get_forthcoming_label
    title_text = title.children[0].rawsource
AttributeError: 'Text' object has no attribute 'rawsource'. Did you mean: 'source'?

rawsource was removed in 0.18 according to the release notes

Removed attributes:

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