Hi!
I think https://sourceforge.net/p/docutils/code/8949/
introduced a bug in https://sourceforge.net/p/docutils/code/HEAD/tree/trunk/docutils/docutils/nodes.py#l1071
Not sure if you can split the string with a comma there.
It breaks a lot of code.
The error is:
Exception occurred:
File "/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/docutils/nodes.py", line 1069, in set_class
warnings.warn('docutils.nodes.Element.set_class() is deprecated; '
TypeError: argument for warn() given by name ('stacklevel') and position (3)
Fixed in [r9310]. Thank you for the report and sorry for the breaks.
As a future-proof workaround, you may consider heading the tip in the DeprecationMessage
and set the class name directly instead of via the deprecated node.set_class() method.
Related
Commit: [r9310]
Yes, no worries. Thank you! We also implemented your suggestion for futureproofness.
Fixed in Docutils 0.20
Thank you for reporting.