See https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/python-sphinxcontrib-programoutput/ for actual logs. This report is automated and not very verbose, but feel free to ping me for help.
This seems to be a problem with sphinx2, not python3.8 per se. I'll close this once the rawhide build succeeds based on this assumption. Please reopen if it really doesn't build with python3.8.
Built in rawhide
+ sphinx-build -b html doc build/html Running Sphinx v2.0.1 making output directory... done /usr/lib/python3.8/site-packages/docutils/writers/latex2e/__init__.py:2978: SyntaxWarning: invalid escape sequence \l self.out.append('}] \leavevmode ') Exception occurred: File "/builddir/build/BUILD/sphinxcontrib-programoutput-0.14/doc/conf.py", line 65, in setup app.add_description_unit('confval', 'confval', AttributeError: 'Sphinx' object has no attribute 'add_description_unit' The full traceback has been saved in /tmp/sphinx-err-e88qx5en.log, if you want to report the issue to the developers. Please also report this if it was a user error, so that a better error message can be provided next time. A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
This is weird. Your patch should have fixed exactly that. Trying again.
Oh, that build triggered when you merged the update PR but there was no build triggered when you pushed the actual fix :(
Your fix works.