m2r2 icon indicating copy to clipboard operation
m2r2 copied to clipboard

Avoid docutils.nodes.reprunicode

Open 2xB opened this issue 1 year ago • 1 comments

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 #69).

Related discussion on a similar issue with another Sphinx project: https://github.com/orgs/sphinx-doc/discussions/13020#discussioncomment-10930769

Fixes #68

2xB avatar Oct 15 '24 15:10 2xB

Bumping (@CrossNox)—can we get this merged for a new release? This project is unusable for me until this PR is merged 🙏

camball avatar Nov 14 '24 21:11 camball

Fixed via e70f62a Until I get v2 typed, I'd rather add the explicit str conversion

CrossNox avatar May 01 '25 14:05 CrossNox