Here's example: % rst2pdf dev/tracaggr/README.rst Traceback (most recent call last): File "/usr/bin/rst2pdf-2.7", line 9, in <module> load_entry_point('rst2pdf==0.16', 'console_scripts', 'rst2pdf')() File "/usr/lib64/python2.7/site-packages/rst2pdf/createpdf.py", line 1452, in main numbered_links=options.numbered_links, File "/usr/lib64/python2.7/site-packages/rst2pdf/createpdf.py", line 169, in __init__ get_language (self.language) TypeError: get_language() takes exactly 2 arguments (1 given) For details see upstream bug (URL) Reproducible: Always
Created attachment 276279 [details] get_languages() patch from fedora bugtracker
(In reply to comment #1) > Created attachment 276279 [details] > get_languages() patch from fedora bugtracker Works fine for me (not worse than patchless version with docutils 0.7). This patch should break compatibility with docutils 0.7, though, so I suggest two ebuilds: 0.16, depending on docutils 0.7 and 0.16-r1 — on 0.8
(In reply to comment #2) if docutils.__version__ >= "0.8": new_code else: old_code
added -r1 to the tree, with a docutils' version conditional patch. sent it to upstream.